UUID Generator for v1, v4, and v7
This UUID generator creates 128-bit universally unique identifiers (UUIDs, also called GUIDs) right in your browser. Pick a version, click Generate, and copy a ready-to-use ID for database primary keys, API resources, session tokens, or any value that has to be unique.
It is built for developers who need more than a single random ID. Switch between v1, v4, and v7, shape the output with format options, generate up to 1,000 at once, and paste any UUID into the decoder to inspect its version, variant, and embedded timestamp.
crypto.randomUUID() and crypto.getRandomValues()). Nothing is sent to a server, stored, or uploaded.How to Generate a UUID
Pick a version
Click a version tab — v1 (Timestamp), v4 (Random), or v7 (Sortable). A UUID is generated automatically as soon as you open the tool.
Set format options
Toggle Uppercase, No hyphens, Braces {}, or Quotes "" to match your code. Changes apply to single and bulk output in real time.
Generate and copy
Click Generate for a fresh UUID and Copy to send it to your clipboard. For many IDs, set the Quantity (1–1,000) and separator, then use Copy All or Download.
Decode any UUID
Open the UUID Decoder, paste a UUID, and press Decode or Enter to read its version, variant, hex value, and timestamp (for v1 and v7).
Features
UUID v1 (Timestamp)
Encodes the current time and a random node, giving time-ordered identifiers useful for audit trails.
UUID v4 (Random)
Built from 122 bits of cryptographically secure randomness — the default choice for most applications.
UUID v7 (Sortable)
Combines a millisecond Unix timestamp with random bits (RFC 9562), ideal for ordered database primary keys.
Flexible Formatting
One-click uppercase, no hyphens, curly braces, or double quotes — applied to single and bulk output instantly.
Bulk Generation
Generate from 1 to 1,000 UUIDs in one go, separated by newline, comma, or semicolon.
Copy & Export
Copy a single UUID or all at once, or download the batch as a TXT, JSON, or CSV file.
UUID Decoder
Inspect any UUID's version, variant, hex value, and creation timestamp (v1 and v7), even with braces or quotes.
Client-Side & Private
All generation and decoding run in your browser with the Web Crypto API — no requests, no data collection.
Frequently Asked Questions
What is a UUID?
A UUID (Universally Unique Identifier) is a 128-bit value used to identify resources without a central authority. Written as 32 hexadecimal digits in five hyphen-separated groups (8-4-4-4-12), it is widely used for database keys, API IDs, session tokens, and tracking.
Which UUID version should I use — v4 or v7?
For general-purpose IDs, v4 is the standard random choice. For database primary keys, prefer v7: it embeds a millisecond timestamp so values sort by creation time, which improves B-tree index performance and reduces page splits. Use v1 when you specifically want a timestamp you can extract from the ID.
Are UUIDs unique — can they collide?
UUID v4 has 122 random bits, about 5.3 × 1036 possible values. The chance of a collision is negligible: you would need roughly 2.7 × 1018 UUIDs before there is even a 50% chance of a single duplicate. The randomness here comes from the browser's cryptographically secure generator.
How do I generate many UUIDs at once?
Use the Bulk Generation section: set the Quantity (1 to 1,000), pick a separator (newline, comma, or semicolon), and click Generate. Then Copy All or Download the batch as TXT, JSON, or CSV.
What is the difference between a UUID and a GUID?
They refer to the same thing. UUID is the standard term from RFC 4122 / RFC 9562, while GUID (Globally Unique Identifier) is the name used across Microsoft technologies. The 128-bit format is identical, so this generator works for both.
Is this UUID generator secure and private?
Yes. Every UUID is generated entirely in your browser using the Web Crypto API (crypto.randomUUID() and crypto.getRandomValues()). Nothing you generate or decode is ever sent to a server, stored, or shared.
No comments yet. Be the first to comment!