Explore all tools
FREE ONLINE TOOLNo visitor account required

UUID Generator

Fresh version-4 UUIDs, as many as you need, generated locally with cryptographic randomness — with uppercase and hyphen-free variants for the systems that insist on them.

Report a problem with this tool

What a Version-4 UUID Is

A UUID is a 128-bit identifier written as 32 hex digits in five groups — 8-4-4-4-12 — like 3f6b2c90-4a1d-4e8f-9b2a-7c5d1e0a44f1. In a version-4 UUID, nearly all of those bits are random: the exceptions are the version nibble (always 4, at the start of the third group) and the variant bits (always 10xx, which makes the first digit of the fourth group 8, 9, a or b). That leaves 122 random bits, which is why collisions are not a practical worry: you would need to generate billions of UUIDs per second for years before a duplicate became likely.

Where Your Browser Gets the Randomness

The generator uses crypto.getRandomValues (and crypto.randomUUID where the browser offers it) — the operating system's cryptographic random source, the same one used for security tokens. That matters: UUIDs made from weak randomness (timestamps, Math.random) can collide or be guessed, which is a real problem when they double as unguessable links or API keys. Everything happens on your device; the UUIDs are never sent to or stored on a server, so generating test data or one-off keys here leaves no trace.

UUID, GUID, and the Format Options

GUID is simply Microsoft's name for the same 128-bit format — a GUID and a UUID are interchangeable. The options above cover the format quirks real systems have: some databases and APIs want uppercase, some want the 32 hex digits with no hyphens at all. Neither change alters the value, only its spelling. If a system rejects a pasted UUID, the usual culprits are surrounding spaces or braces — {like this} — which some Windows tools add; strip them and the bare form here will work.

Frequently Asked Questions

What is the difference between a UUID and a GUID?

None in substance. GUID is Microsoft name for the same 128-bit identifier format. A GUID generated on Windows and a UUID generated here are interchangeable.

Can two generated UUIDs ever collide?

In theory yes, in practice no. A v4 UUID has 122 random bits; you would need to generate billions per second for years before a collision became likely. That is the point of the format.

Why do some UUIDs look different — uppercase or no hyphens?

Same value, different spelling. Some systems store the 32 hex digits without hyphens, others display uppercase. The options here cover both without changing the underlying identifier.

Are the UUIDs I generate sent to a server?

No. They are created with your browser cryptographic random source and never leave your device, so they are safe to use as test data or one-off identifiers.