Guide
What Is a UUID? Unique IDs Explained Simply
A UUID (universally unique identifier) is a standard way to give something an ID that no one else in the world will accidentally reuse. It looks like this: 550e8400-e29b-41d4-a716-446655440000 — 32 hexadecimal characters grouped by hyphens. Databases, apps, and file systems use UUIDs to label records, users, and uploads without coordinating with each other.
What the parts mean
A UUID is written as five groups separated by hyphens: 8-4-4-4-12 characters. Each character is hexadecimal (0–9 and a–f), so each one holds 4 bits of information — 128 bits in total.
The most common kind, version 4, is almost entirely random. You can spot it by the 4 at the start of the third group and an 8, 9, a, or b at the start of the fourth group.
Why two UUIDs almost never collide
There are about 340 undecillion possible version-4 UUIDs — that is a 39-digit number. To have a 50% chance of a single duplicate, you would need to generate about 2.7 quintillion of them.
In practice this means you can generate an ID on your laptop, in a browser, or on a server, and safely assume nobody else has ever generated the same one.
UUID vs. a simple counting ID
A counting ID (1, 2, 3…) is short and readable, but it needs one central place handing out numbers, and it leaks information — a competitor can see you have exactly 4,102 users.
UUIDs can be created anywhere, by anyone, at any time, with no central authority. The trade-off is that they are long and meaningless to read.
Where you will meet UUIDs
UUIDs show up in more places than most people expect:
- Database primary keys in modern apps
- File names for uploads, so two users can upload photo.jpg at once
- Order and transaction references
- Minecraft player profiles — every player has a public UUID
- API request IDs used to trace errors
Generate UUIDs
Use the UUID Generator to create up to 100 UUIDs at once, in lowercase or uppercase. Each one has a copy button, and you can copy the whole list. Everything is generated locally in your browser using its cryptographic random source — nothing is sent to a server.
Try it yourself
Put this guide into practice with our free UUID Generator — no sign-up, no download.
Open the UUID Generator