⚡
usefultools.dev
ULID

ULID Generator

NOUVEAU

Generate sortable ULIDs from a 48-bit timestamp and 80 random bits, and decode the date hidden inside any ULID.

Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.

Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.

⚡

Exemples rapides

Des entrées typiques et les résultats produits par cet outil.

Decode
01ARZ3NDEKTSV4RRFFQ69G5FAV
2016-07-30T23:54:10.259Z
Encode
Timestamp 1700000000000 ms
Time part 01HF7YAT00
Encode
Timestamp 0 (Unix epoch)
Time part 0000000000
Limit
7ZZZZZZZZZ time part (largest)
281474976710655 ms, year 10889
📖

Présentation

A ULID is a 26-character identifier made of a 48-bit millisecond timestamp followed by 80 random bits, written in Crockford base32. Because the time comes first, ULIDs sort in the order they were created, which keeps database indexes tidy while still being hard to guess.

This generator uses crypto.getRandomValues for the random part and counts up within the same millisecond, so a batch of up to 50 stays strictly ordered. Paste any ULID into the decoder to see its UTC date, Unix milliseconds and the random part.

ULIDs are a common choice for database primary keys, log lines and file names that should sort by creation time. They are identifiers, not secrets: the timestamp part is readable by anyone, so do not use a ULID as a password, token or API key.

Pourquoi utiliser cet outil ?

  • Sortable by creation time without a separate timestamp column
  • Random part comes from the browser crypto API
  • Batches stay in order even inside one millisecond
  • Decode any ULID back into a readable UTC date
⭐

Fonctionnalités

🔢

1 to 50 at once

Pick a quantity and copy the whole list or a single ULID.

🕒

Decoded timestamp

See the UTC date and Unix milliseconds that each batch carries.

📈

Monotonic order

IDs from the same millisecond increase by one, so they sort correctly.

🔍

ULID decoder

Split any ULID into time part, random part and date, with clear errors.

🔡

Case option

Output uppercase (canonical) or lowercase to match your system.

🔒

Runs locally

Nothing is sent anywhere; generation and decoding happen in your browser.

🛠️

Mode d'emploi

1

Set the quantity

Enter how many ULIDs you need, from 1 to 50.

2

Generate

Press Generate ULIDs. Each click creates a fresh, ordered batch.

3

Copy

Copy one ULID with its button or the whole batch with Copy all.

4

Decode if needed

Paste an existing ULID into the decoder to read its timestamp.

🤔

Questions fréquentes