UUID / ULID Batch Generator

Generate hundreds of v4 UUIDs or ULIDs at once, then copy or download.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

A batch generator for v4 UUIDs and ULIDs that produces up to 5,000 unique identifiers in a single click, with full control over case, hyphens, prefixes, quoting and export format. It is built for developers seeding databases, writing fixtures and test data, populating spreadsheets, or generating a column of keys to paste into code — anywhere you need many random identifiers at once instead of copying them one at a time.

How it works

Every value is created locally in your browser. For UUID v4 the tool calls the native crypto.randomUUID() function, which is backed by the operating system’s cryptographically secure random source; if that function is unavailable it falls back to crypto.getRandomValues() and sets the version and variant bits manually so the output is still a valid RFC 4122 identifier. For ULID it encodes a 48-bit millisecond timestamp into the first ten Crockford base32 characters and 80 bits of fresh randomness into the remaining sixteen, giving an identifier that sorts by creation time. Across a large batch the timestamp is advanced by one millisecond per row, so the whole list stays monotonic and readable even when generated in the same instant.

Once the batch is built you can reshape it without regenerating: toggle lowercase or uppercase, strip the hyphens from UUIDs for compact tokens, add a prefix like user_ or a suffix like .json, wrap each value in quotes, or switch to comma-separated lines for dropping straight into an array literal. Settings and your last twelve batches are remembered in localStorage, and nothing is ever transmitted — making it safe for production keys.

Example

Suppose you need 100 database row IDs that sort by insertion time. Choose ULID, set the count to 100, leave the case as uppercase (the ULID canonical form), and press Generate. You get a sorted column such as 01HZX8P9QK6F3R2WB7N4M5T0AD repeated 100 times with distinct random tails. Hit the .csv button and you have a ready-to-import file. Need quoted JavaScript literals instead? Tick Wrap in quotes and Comma-separated lines, then Copy all, and paste a complete array into your code.

FormatLengthSorts by timeTypical use
UUID v436 charsNoGeneral-purpose unique keys
ULID26 charsYesDatabase primary keys, log IDs
Nil UUID36 charsn/aPlaceholder / “no value” sentinel
GUID {braces}38 charsNoWindows registry / .NET interop

Every identifier is generated in your browser — nothing is uploaded or stored on a server.

Ad placeholder (rectangle)