What is a UUID?
A UUID (universally unique identifier), called a GUID in the Microsoft world, is a 128-bit value written as 32 hexadecimal digits in five groups: 8-4-4-4-12. Version 4 UUIDs are made from random numbers. 122 of the 128 bits are random, and the remaining six mark the version (the "4" at the start of the third group) and the variant (8, 9, a or b at the start of the fourth group).
Can two UUIDs clash?
In practice, no. There are about 5.3 × 1036 possible v4 UUIDs. You would need to generate around 2.7 quintillion of them to have a 50% chance of a single duplicate. This page uses crypto.getRandomValues, the browser's cryptographically secure generator, rather than Math.random.
Where UUIDs are used
They're used as database primary keys, idempotency keys for payment APIs, file names for uploads, correlation IDs in logs, and IDs in offline-first apps where two devices must create records without talking to a server. Nothing generated here is sent or stored anywhere.
Frequently asked questions
Is a GUID the same as a UUID?
Yes. GUID is Microsoft's name for the same 128-bit format.
Are these UUIDs safe to use as secrets?
They come from a secure random source, but a UUID isn't designed to be a password or token. Use the password generator for secrets.
Are UUIDs case sensitive?
No. RFC 9562 says to output them in lower case, but to accept either case on input.
How to use the UUID v4 Generator
- Enter your list, range or options.
- Set how many results you want.
- Press the button to draw.
- Draw again or copy the results.
Why use this UUID v4 Generator
100% in your browser
Nothing you enter is uploaded or stored.
Instant results
Updates as you type, no waiting.
Mobile friendly
Works on phones, tablets and desktops.
Light & dark mode
Follows your mfaysal.com theme.
Free, no account
No sign-up, no limits, no watermark.
Explained
Formulas, tables and sources on the page.
UUID v4 Generator: chart and reference data
Source: RFC 9562
| Part | Example | Meaning |
|---|---|---|
| Version digit | 4xxx | third group starts with 4 |
| Variant | 8, 9, a or b | fourth group first digit |
| Random bits | 122 | from crypto.getRandomValues |
UUID v4 Generator compared with the alternatives
| Method | Fairness | Speed | Proof |
|---|---|---|---|
| This tool | Uniform (crypto RNG) | Instant | Screenshot |
| Names in a hat | Fair if mixed well | Slow | Witnesses |
| Math.random() scripts | Not cryptographic | Instant | None |
Who uses it in the UK
- Classroom name picks and team splits
- Giveaways and office raffles
- Creating secure passwords and IDs
- Games, quizzes and decisions
More questions
Is the result truly random?
The tool uses the browser's cryptographic random number generator (crypto.getRandomValues), which is suitable for fair draws and security uses. Every option has the same chance.
Can I use it for a raffle or giveaway?
Yes for informal draws. For UK prize draws and lotteries, check the Gambling Commission rules and keep a record (screenshot) of the draw.
Why did the same result come up twice?
Random does not mean evenly spread. With replacement, repeats happen naturally – see the birthday chart above.
Are my lists saved?
No. Names and lists stay in your browser tab and are gone when you close it.
✨ New: Remove the background from any image free – private, in your browser, transparent PNG.
Related free tools
Note: This free tool runs entirely in your browser. No data is sent or stored. Results are for information only.