About this tool
Unique identifiers are the quiet backbone of software: primary keys in databases, test fixtures, correlation IDs stitched across microservice logs, idempotency keys for payment retries, and anonymous user IDs that never need a central coordinator handing out numbers. UUIDs solve all of these without a round trip to any server — two machines can mint IDs independently and collisions remain astronomically unlikely.
This generator produces standards-compliant UUIDs locally in your browser. Version 4 UUIDs are fully random, drawn from the browser's cryptographic random source, and remain the default choice for most applications. Version 7 UUIDs embed a Unix millisecond timestamp in the high bits, giving identifiers that sort roughly by creation time — a big win for database index locality and chronological log correlation, which is why v7 was standardized in RFC 9562 and adopted by modern systems. Generate one at a time or up to a thousand in a batch, toggle uppercase or hyphenless formatting, and copy the whole list with one click.
Choosing between them is one question: does creation order matter? If identifiers index a database table, order event logs, or paginate by cursor, v7 keeps those structures clustered instead of random-scattered. If identifiers are public-facing and leaking creation time is undesirable — session IDs, password-reset tokens, anything where you don't want outsiders reconstructing a timeline — use fully random v4. Formatting is presentation only: uppercase and hyphens are cosmetic, encoding the same 128 bits.
Collision resistance comes from 122 bits of randomness per UUID, so generating identifiers offline here is exactly as safe as any server-side library. No IDs are logged or transmitted — they exist only in your browser tab until you copy them.
How to use UUID Generator
- Pick a version: v4 for random UUIDs or v7 for time-ordered ones.
- Set how many you need, from 1 to 1000.
- Choose formatting: lowercase or uppercase, with or without hyphens.
- Press Generate and copy the results individually or all at once.
Frequently asked questions
What is the difference between v4 and v7?
v4 is fully random. v7 embeds a millisecond timestamp so IDs sort by creation time, which improves database index performance.
Are these UUIDs truly unique?
Each carries 122 bits of cryptographic randomness; the odds of a collision are astronomically small for any practical volume.
Is uppercase a different UUID?
No. Case is presentation only — A and a encode the same identifier. Hyphens are likewise cosmetic.
Do the UUIDs get sent to a server?
No. They are generated locally in your browser and never transmitted or logged.
Do v7 UUIDs leak when they were created?
Yes — anyone who decodes a v7 can read the embedded millisecond timestamp. If timing information is sensitive (sessions, reset tokens), use fully random v4 instead.
Can I sort v4 UUIDs by creation time?
No. v4 is pure randomness with no time component — sorted v4 lists are meaningless. Chronological ordering is exactly the problem v7 was standardized to solve.
What about version 1 or version 5 UUIDs?
v1 exposes the generating machine's MAC address and v5 derives deterministic IDs from a name — both niche. This tool ships v4 and v7, which cover the vast majority of practical uses.