UUID Generator

Every press draws 122 bits of randomness into the standard 8-4-4-4-12 shape — you would need to generate about 2.7 billion billion UUIDs before a coin-flip chance of a single repeat.

—

Everything is worked out in your browser — your text and numbers are never uploaded anywhere.

How it works

Need an ID that nothing else on Earth is using, without asking a central authority? Press the button. Developers use these for database keys, file names, idempotency tokens and test data; everyone else meets them as the long codes software prints when it wants to name something exactly once.

Batches of up to fifty come out one per line, ready to paste. Each is drawn independently from your device's cryptographic random source.

The method

Sixteen random bytes from crypto.getRandomValues, with the version nibble set to 4 and the variant bits set to 10 per RFC 4122, formatted as five hyphenated hexadecimal groups (8-4-4-4-12). The remaining 122 bits are pure randomness.

Check important dates twice. Every result here is worked out from the values you enter and the calendar, clock and counting conventions described on the page. Date and time answers can depend on time zones and daylight-saving rules, and counting tools follow the definitions printed with them. For deadlines, filings, payroll or anything with money attached, confirm the figure against an authoritative source.

Frequently asked questions

Can two generated UUIDs ever collide?

In principle yes, in practice no: with 122 random bits, collisions need on the order of 2.7 quintillion UUIDs for a 50% chance — the birthday bound. Systems generating a billion a second would wait years for even odds of one clash.

What is the difference between a UUID and a GUID?

None in substance — GUID is Microsoft's name for the same 128-bit identifier. The v4 random format generated here is accepted everywhere either name is used.

Why does the middle always start with 4?

That nibble is the version marker: 4 means “randomly generated”. The digit after it (8, 9, a or b) marks the standard variant — both are set by the format, and validators look for them.

Embed this tool

Put this tool on your own site for free — copy the code below. It runs entirely in the visitor's browser, like it does here.

<iframe src="https://calcwhen.com/embed/uuid-generator/" width="100%" height="520" style="border:1px solid #d9d5f2;border-radius:12px" loading="lazy" title="UUID Generator — CalcWhen"></iframe>

Tool by CalcWhen — please keep the credit link so others can find the original.