NathanTools
NathanTools
Text Tools 13
SEO Tools 7
Image Tools 19
YouTube Tools 38
Device Tests 4
PDF Tools 10
Calculators 52
Electrical Calculators 10
Time Tools 7
Random Tools 9
Converters 14
Developer Tools 11
Hash Generators 5
Password & Security 2
Network & DNS 3
Website Tools 9

ULID Generator

Generate ULIDs, 26-character IDs that sort by creation time and are safe in URLs, or convert any ULID to its UUID form and back.

100% free No sign-up Works on any device
Options

ULIDs

Convert ULID ⇄ UUID

Updated November 2026 · Follows the ULID spec · Generated in your browser

How to generate a ULID

  1. A new ULID appears at the top when the page loads. Press Copy, or the arrow for another.
  2. Drag How many to create up to 1,000, then Copy all or Download.
  3. Leave Monotonic on so IDs made in the same millisecond still sort in order. Tick Add UUID form to get each ULID's UUID next to it, separated by a tab, ready to paste into a spreadsheet.
  4. To convert an existing ID, paste a ULID or a UUID into Convert ULID ⇄ UUID.

What a ULID looks like

01JCXQ7Z8K 4W3N5R2T6V9Y0B1D

The first 10 characters are the timestamp, 48 bits of milliseconds since 1970, which lasts until the year 10889. The last 16 characters are 80 random bits. Because the timestamp comes first and Crockford Base32 keeps the alphabet in order, sorting ULIDs as text sorts them by time. The first character is never higher than 7.

ULID vs UUID vs NanoID

ULIDUUID v7UUID v4NanoID
Length26363621 (default)
Bits128128128126
Random bits8074122126
Sorts by timeYesYesNoNo
URL-safe as isYesYesYesYes
StandardCommunity specRFC 9562RFC 9562Library convention

Need a standard UUID? The UUID v7 generator gives time-ordered IDs in UUID form. Need the shortest random ID? Use the NanoID generator.

Generate a ULID in code

LanguagePackageCall
JavaScript / Node.jsulidulid(), or monotonicFactory()()
Pythonpython-ulidstr(ULID())
C# / .NETUlid (Cysharp)Ulid.NewUlid()
Gogithub.com/oklog/ulid/v2ulid.Make()
Javaulid-creatorUlidCreator.getMonotonicUlid()
RustulidUlid::new()

Frequently asked questions

A ULID (Universally Unique Lexicographically Sortable Identifier) is a 128-bit ID made of a 48-bit Unix timestamp in milliseconds and 80 random bits, written as 26 characters of Crockford Base32. ULIDs sort by creation time as plain strings and contain only letters and digits.

Without it, two ULIDs made in the same millisecond have random order. In monotonic mode the second one reuses the timestamp and adds 1 to the random part, so a batch is always in generation order. It's on by default here.

Yes. A ULID and a UUID are both 128 bits, so every ULID has an exact UUID form. Use the converter on this page, and store it in a native uuid or binary(16) column. The UUID form won't carry a valid version digit, so tools that check versions may call it non-standard.

Both put a millisecond timestamp first and sort by time. Pick UUID v7 if your database, ORM or API already expects UUIDs. Pick ULID when you want shorter IDs in URLs and logs (26 characters instead of 36) and don't need a standard UUID version.

Crockford Base32 leaves them out so IDs can't be misread: I and L look like 1, O looks like 0, and U is dropped to avoid accidental rude words. When decoding, I and L are read as 1 and O as 0.

Yes. The 80 random bits come from your browser's cryptographically secure generator, crypto.getRandomValues. Nothing is sent to our server.
Esc
↑ ↓ to moveEnter to open