Bulk UUID & ULID Generator
Generate cryptographically secure UUIDs (v1, v4, v5) or ULIDs. Generate a single ID instantly or bulk generate up to 10,000 IDs and download as CSV. Uses smart hybrid processing.
Bulk Generation Settings
UUID v4
Randomly generated. The most common standard for database primary keys.
ULID
Lexicographically sortable IDs. Great alternative to UUIDs when time-sorting matters.
UUID v5
Name-based UUID using SHA-1 hashing. Always returns the same UUID for the same name and namespace.
UUID v1
Time-based UUID. Contains MAC address of the generator. Use only when specifically required.
What is a UUID or ULID?
A UUID (Universally Unique Identifier) is a 128-bit number used to identify information in computer systems. UUIDs are widely used as primary keys in databases because their immense scale means they are effectively unique worldwide, requiring no central authority to coordinate generation.
A ULID (Universally Unique Lexicographically Sortable Identifier) is similar to a UUID but includes a timestamp at the beginning, making it alphabetically sortable by creation time. This solves a major performance issue when using UUIDs in databases like PostgreSQL or MySQL.
Features of this Generator
- Bulk generate up to 10,000 keys at once
- Export directly as CSV for immediate database seeding or API testing
- Hybrid processing: Small batches run instantly in browser; large batches offload to a high-concurrency backend server to prevent crashing
- Support for v1 (Time-based), v4 (Random), v5 (Name-based SHA-1), and ULID standards
- 100% Free with no usage limits
Choosing between uuid v4 and the alternatives
Four versions see real use, and picking the wrong one usually shows up later as a performance problem rather than a bug.
Version 4 is 122 random bits. It carries no information, needs no coordination, and is the right default when identifiers are just identifiers.
Version 7 is the one to reach for when identifiers become database keys. Version 5 is for deterministic derivation. Version 1 exists mainly because older systems demand it, and it leaks a MAC address while doing so.
Why a random unique id generator can hurt database performance
This is the practical reason version 7 was standardised, and it is worth understanding before a table gets large.
Database indexes are ordered structures. Inserting sequential values appends to the end, which is cheap. Inserting random values scatters writes across the whole index, which causes page splits and more disk activity.
With a few thousand rows nobody notices. With tens of millions, insert throughput on random keys falls off noticeably while sequential keys hold steady. Version 7 gives you the time ordering without going back to auto-incrementing integers.
What a uuid v5 namespace is actually for
Version 5 hashes a namespace identifier together with a name, producing the same output every time for the same pair.
That is genuinely useful for derivation. Given a URL, you can produce a stable identifier for it without storing a mapping anywhere, and any system with the same namespace gets the same answer independently.
The trap is predictability. Because the output is determined by the input, anyone who can guess the input can compute the UUID. Never use version 5 for anything that needs to be unguessable, such as a share link or a reset token.
Where identifiers leak more than you expect
A UUID looks opaque, which makes it tempting to treat as a secret. That is where problems start.
Version 1 openly contains a timestamp and a MAC address. Version 7 contains a creation timestamp by design, so it tells anyone holding it roughly when the record was made. Version 4 and ULID reveal nothing about their contents, though ULID also encodes a timestamp.
Separately, any identifier in a URL ends up in server logs, browser history, bookmarks and sometimes referrer headers. An unguessable URL is a reasonable layer of obscurity and a poor substitute for an access check.
How to use the UUID Generator
- Choose a version: 4 for general use, 7 for database keys, 5 for deterministic output.
- Set how many you need — bulk generation produces a list in one go.
- For version 5, supply the namespace and name that should always map to this value.
- Copy the result, or download the list if you generated many.
- Store them consistently: either always with hyphens or always without.
What this tool handles
Five formats
UUID versions 1, 4, 5 and 7, plus ULID.
Bulk output
Generate a list at once instead of one at a time.
Time-sortable v7
The version that keeps database inserts sequential rather than scattered.
Local for most versions
Versions 1, 4, 7 and ULID use your browser's own crypto source.
