⚡
usefultools.dev
ULID

ULID Generator

NOVO

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

Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.

Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.

⚡

Exemplos rápidos

Entradas típicas e os resultados que esta ferramenta gera.

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
📖

Visão geral

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.

Por que usar esta ferramenta?

  • 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
⭐

Recursos

🔢

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.

🛠️

Como usar

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.

🤔

Perguntas frequentes