UUID Generator
UUID Generator
Generate random version 4 UUIDs for IDs, database keys and API tokens.
Press a generate button to create UUIDs. They are generated in your browser and never sent anywhere.
A version 4 UUID is 128 bits of random data, shown as 36 characters with hyphens. The 13th character is always 4 and the 17th is 8, 9, a or b.
About the UUID Generator
Generates Universally Unique Identifiers (UUIDs) — random 128-bit IDs used as database keys, session tokens, request IDs, and share links. Useful for developers who need unique IDs without a central authority.
How to use
- Click Generate (or generate several at once).
- Copy a UUID such as xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx.
- Paste it into your database, code, or API as a unique key.
Key features
- Version 4 UUIDs use 122 bits of cryptographically secure randomness (from the browser's Web Crypto API), giving about 5.3 × 10³⁶ possible values, so collisions are practically impossible.
- Format is always 36 characters: 32 hex digits in 8-4-4-4-12 groups; the 13th digit is always 4 and the 17th is 8, 9, a, or b.
- Generated locally in the browser; nothing is sent to a server.
Frequently asked questions
v4 is fully random with no timestamp; v7 embeds a millisecond timestamp, so IDs sort chronologically — better for database indexes.
In theory yes, but with 122 random bits the chance is so small that you would need to generate a billion per second for about 85 years to reach a 50% chance of one collision.
