UUID Generator
Runs in your browserGenerate cryptographically random UUID v4 and time-sortable UUID v7 identifiers.
122 random bits. Use when the identifier should reveal nothing at all.
0 UUIDs
What is a UUID Generator?
A UUID is a 128-bit identifier written as 36 characters — 32 hexadecimal digits in five hyphen-separated groups. Its purpose is to let independent systems mint identifiers that will not collide without coordinating with each other or with a central database.
Version 4 is 122 random bits and is what most people mean by "a UUID". Version 7, standardised in RFC 9562, puts a millisecond timestamp in the leading 48 bits and fills the rest with randomness. That single change makes v7 values sort chronologically, which matters more than it sounds.
The difference shows up in your database. B-tree indexes fill efficiently when new keys are appended at the end; random v4 keys instead scatter writes across the whole index, fragmenting pages and pushing hot data out of cache. v7 keys arrive in order, so inserts stay sequential. If you are choosing a primary key type today, v7 is usually the better default.
How to use it
- Choose a version — v4 for pure randomness, v7 when the identifier will be a database key or needs to sort by creation time.
- Set how many you need. Generating a batch is useful for seed data and fixtures.
- Toggle uppercase, hyphens, or surrounding braces to match the format your target system expects.
- Copy a single value with the button beside it, or copy the whole list at once.
Examples
UUID v4 — random
Version: v4, Count: 39f8c2a41-7b3e-4d5a-9c16-2e8f0b4a7d31
c4e91f07-5a2b-4e88-b0d3-6f1c9a84e250
1d7b3e52-8c4f-4a91-9e26-0b5d3f8c1a47UUID v7 — time-sortable
Version: v7, Count: 30191f3a2-8c40-7b19-9e3d-4a7f2c6b8e05
0191f3a2-8c41-7d62-a015-9b3e7f2d4c81
0191f3a2-8c41-7e0a-8c47-1f6b9d3a5e72