TOOLTIKI Lovable tool, really free
Developer Generators

ULID generator

What to do

Processed in your browser · nothing is uploaded

Local · first 48 bits are the timestamp
Advertisement
320 × 100

Generates ULIDs — 26 characters of Crockford base32, with the first 48 bits being a millisecond timestamp, so a list of them sorts chronologically as plain text.

How to use the ulid generator

1 Paste your input. The result appears immediately.
2 Pick the operation you want.
3 Copy the result, or save it as a file.

That sortability is the entire reason to prefer a ULID over a UUID for a database key. A random v4 UUID as a primary key scatters inserts across a B-tree index, which fragments it and measurably hurts write throughput on a busy table; a ULID inserts at the end, keeping the index compact. It also means you can read the creation time out of the key, and sort by it without a separate column. The alphabet excludes I, L, O and U — the first three because they are confusable with 1 and 0, and U reportedly to avoid accidental obscenities.

Questions

It sorts by time, so inserts land at the end of the index instead of scattering across it. That is a real write-throughput difference on a busy table.

ULID specification
Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING