This page generates UUID version 4 identifiers (also commonly called GUIDs in Microsoft documentation). A UUID is a 128-bit value typically formatted as 32 hexadecimal characters displayed in five groups separated by hyphens, for example:
123e4567-e89b-12d3-a456-426614174000
Privacy note: this tool runs in your browser. Generated IDs are not sent to a server by the generator logic.
A UUID is a standardized identifier defined by RFC 4122. Most tooling expects the canonical “8-4-4-4-12” hex format:
xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx
4).8, 9, a, or b in that position).UUID v4 uses random bits for most of its content. After accounting for version and variant bits, there are 122 random bits available, so the total number of possible v4 UUIDs is:
This space is enormous, so accidental collisions are extremely unlikely in typical applications. Still, UUIDs are best described as probabilistically unique, not mathematically guaranteed unique.
UUIDs are popular because they can be generated without coordination (no central counter required) and are hard to guess compared to sequential IDs. Common uses include:
However, UUIDs are not always the best choice. They can be larger than integer IDs, less index-friendly in some databases, and they do not automatically provide ordering (v4 is effectively random). If you need time ordering, consider ULIDs or UUID v7 (where supported).
Suppose you are creating client-side “draft” records before saving to a server.
f47ac10b-58cc-4372-a567-0e02b2c3d479
9f1c2a0d-0f7c-4a58-9c19-3e6d20a6d8be
6ba7b810-9dad-41d1-80b4-00c04fd430c8
You can now attach one UUID to each draft item, then send them to your API; the server can store them as-is (or map them to internal IDs).
| Version | How it’s generated | Good for | Notes |
|---|---|---|---|
| v1 | Time + node identifier | Ordering by time (roughly) | May leak timing/device info; not ideal for public IDs |
| v4 | Random | General-purpose unique IDs | What this tool generates |
| v5 | SHA-1 hash (namespace + name) | Deterministic IDs | Same input yields same UUID |
| v7 | Time-ordered + random (newer spec) | Sortable IDs with low collision risk | Support varies by platform/library |
This generator outputs one UUID per line in lowercase hexadecimal with hyphens. Many systems accept uppercase as well, but some validators are strict about format. A basic (format-only) pattern for an RFC 4122 v4 UUID is:
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
Note: regex checks format, not true randomness.
crypto.randomUUID() when available. If unavailable, it falls back to a non-cryptographic method; results may be less suitable for security-sensitive uses.In practice, “GUID” is Microsoft’s name for a UUID. Most GUIDs you see today follow the same 128-bit UUID format.
When generated via crypto.randomUUID(), they use the browser’s cryptographically strong random source. If a fallback is used, randomness quality may be lower.
No. UUIDs are identifiers, not access secrets. Use dedicated token/key generation for secrets.
It keeps the interface simple and avoids accidental huge output. If you need more, generate multiple batches.