What it does
A UUID is a 128-bit identifier you can create anywhere without asking a central server, with practically no chance of two being the same. Version 4 is fully random. Version 7, standardized in 2024 (RFC 9562), starts with the current time, so new IDs sort in creation order, which keeps database indexes compact and fast. UUIDs here are made with your browser’s cryptographically secure random generator, and v7 values made in the same millisecond still come out in order. You can also paste any UUID to see its version and, for v1 and v7, the moment it was created.
How to use it
- A new version 4 UUID is ready as soon as the page opens. Click “Copy” to use it.
- Need more? Pick “v4 random” or “v7 time-ordered”, enter “How many” (up to 1000) and click “Generate”. Tick “Uppercase”, “Hyphens” or “{braces}” to change the format.
- Click “Copy all”, or “Download .txt” for a file with one UUID per line.
- To check an existing UUID, paste it under “Check a UUID” to see its version and, for v1 and v7, when it was created.
Common uses
- Creating primary keys or test fixtures for a database
- Generating IDs for API requests, idempotency keys or correlation IDs
- Finding out when a v7 or v1 UUID from a log or database was created
Tips
- Prefer v7 for database primary keys: random v4 keys land all over the index and slow down inserts on large tables.
- A v7 UUID reveals when it was created. Use v4 where that time shouldn’t be visible, such as public share links.
- Store UUIDs in a native uuid or 16-byte binary column rather than as 36-character text; it’s less than half the size.