ULID Generator

Generate Universally Unique Lexicographically Sortable Identifiers (ULID). Crockford base32, 128-bit, time-ordered. 100% client-side. 100% free, private,.

How to use

  1. Pick a Count — Choose how many ULIDs to generate (1–100).
  2. Click Generate — New ULIDs are produced instantly using your browser's secure random source.
  3. Copy Single or All — Use them in databases, logs, or distributed systems.
  4. Sort by Time — Because ULIDs are lexicographically sortable, ordering them sorts by creation time.

Frequently asked questions

What is a ULID?

ULID stands for Universally Unique Lexicographically Sortable Identifier. It's a 128-bit ID that combines a 48-bit timestamp with 80 bits of randomness.

How is it better than UUID v4?

ULIDs are sortable by creation time and shorter to display (26 characters in Crockford base32 vs 36 with hyphens). They are case-insensitive and URL-safe.

Is the randomness secure?

Yes. The random portion uses crypto.getRandomValues, the same source used for UUID v4 in browsers.

Are collisions possible?

Within the same millisecond, the 80-bit random portion makes accidental collisions astronomically unlikely (around 1 in 2^80).

Are ULIDs guaranteed unique?

Collision probability is astronomically low (80 bits of randomness per millisecond). Safe for production.

Can I sort by ID?

Yes — that is the whole point. Lexicographic sort matches creation order.

Is the timestamp leaked?

Yes — the timestamp portion is decodable. Do not use ULIDs as opaque identifiers if creation time is sensitive.

Are they URL-safe?

Yes — only A–Z and 0–9 (minus I, L, O, U). No URL-encoding needed.

Is the randomness cryptographically strong?

Yes — generated with `crypto.getRandomValues()`.

Free ULID Generator

Generate ULIDs (Universally Unique Lexicographically Sortable Identifiers) entirely in your browser. ULIDs sort by creation time and look cleaner than UUIDs.

Common Uses

  • Primary keys that double as creation order
  • Log identifiers that group by time
  • Distributed system event IDs
  • URL-safe public identifiers
  • Replace UUID v4 for new tables

How It Works

We compose 48 bits of millisecond timestamp with 80 bits of CSPRNG randomness, then encode the full 128 bits in Crockford Base32 to produce a 26-character string. The format and algorithm follow the ULID spec.

Privacy

Generation happens on your device. The bytes never leave your browser.

Related: UUID Generator, Random String, SHA-256.

Related free tools

  • XML Formatter & Minifier — Beautify or minify any XML — SOAP, RSS, SVG, sitemap. Browser-based parser.
  • XML to JSON Converter — Parse any well-formed XML into a clean JSON tree with attributes and arrays.
  • JSON to XML Converter — Convert JSON to well-formed XML — supports attributes, custom root, declaration.
  • CSV Viewer — Open CSV or TSV files in your browser — sort, search, paginate, export filtered view.
  • JSON to CSV Converter — Convert JSON data to CSV format. Export to spreadsheets easily.
  • CSV to JSON Converter — Convert CSV data to JSON format. Useful for API development.
  • JSON Formatter — Format, beautify, or minify JSON with customizable indentation.
  • JSON Validator — Validate JSON syntax and find errors with line and column numbers.
  • HTML Minifier — Compress HTML by removing comments, whitespace, and line breaks.
  • CSS Minifier — Minify CSS by stripping comments, whitespace, and unnecessary characters.
  • JavaScript Minifier — Compress JavaScript by removing comments, whitespace, and empty lines.
  • Base64 Encoder/Decoder — Encode text to Base64 or decode Base64 back to text. UTF-8 support.

Browse all free tools · Guides and tutorials · PDF tools · Developer tools · Text tools · SEO tools