ULID Generator
Free online ULID generator tool, sortable unique identifiers
About ULID Generator
Generates one or more ULIDs (Universally Unique Lexicographically Sortable Identifiers) entirely in the browser using the Web Crypto API. Each ULID is a 26-character Crockford Base32 string: the first 10 characters encode the current millisecond timestamp (so ULIDs sort chronologically) and the last 16 characters are cryptographically random, making collisions practically impossible without coordination.
How to Use
1. Set the Count (clamped between 1 and 100) next to the Generate button. 2. Click Generate to produce that many ULIDs at once. 3. Each generated ULID appears in its own row with a per-row Copy button for copying just that ID. 4. Click Copy All to copy every generated ULID joined by newlines to the clipboard.
ULID Structure and Encoding
Each ULID is composed of two halves: - Timestamp (10 chars): the current Date.now() millisecond value, encoded in Crockford Base32 (alphabet 0123456789ABCDEFGHJKMNPQRSTVWXYZ — no I, L, O, or U to avoid ambiguity). Two ULIDs generated in the same millisecond share this prefix. - Randomness (16 chars): 10 bytes drawn from crypto.getRandomValues, each reduced modulo 32 and mapped through the same Crockford alphabet. This provides 80 bits of entropy per ULID. Because the timestamp leads, ULIDs generated in increasing milliseconds sort lexicographically in chronological order, which makes them useful as database primary keys and ordered log identifiers.
▶What is the maximum number of ULIDs I can generate at once?
▶Are the generated ULIDs guaranteed to be unique?
▶Do the ULIDs include the timestamp, and can I sort them?
▶Is my data sent to a server?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee