MFAYSAL.DEV

UUID v4 Generator

Choose how many UUIDs you need, then copy them. Press Generate for a new batch. Free, private and runs in your browser.

Your details

Letter case

Result

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.

cryptosecure randomness
0data sent
Unbiaseduniform draws
Freeno sign-up

How to use the UUID v4 Generator

  1. Enter your list, range or options.
  2. Set how many results you want.
  3. Press the button to draw.
  4. 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

Random bits by identifier type
UUID v4122 bitsUUID v7 (random part)74 bitsAuto-increment ID0 bits

Source: RFC 9562

UUID v4 layout
PartExampleMeaning
Version digit4xxxthird group starts with 4
Variant8, 9, a or bfourth group first digit
Random bits122from crypto.getRandomValues

UUID v4 Generator compared with the alternatives

How this free tool compares
MethodFairnessSpeedProof
This toolUniform (crypto RNG)InstantScreenshot
Names in a hatFair if mixed wellSlowWitnesses
Math.random() scriptsNot cryptographicInstantNone

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

Browse all 102 free tools →

Note: This free tool runs entirely in your browser. No data is sent or stored. Results are for information only.