DoneInTab

UUID / GUID Generator & Validator

Generate cryptographically secure Version 4 UUIDs (RFC 9562) individually or in bulk up to 1,000 identifiers. Supports lowercase, uppercase, braces, and CSV/TXT export. Inspect and validate existing UUIDs client-side.

RFC 9562 Version 4 UUID Generator

Cryptographically secure 128-bit random identifiers with version 4 marker and RFC variant bits.

crypto.randomUUID()
Output Formatting Options:
Generating secure UUID...

Compact UUID Validator & Inspector

Paste any UUID to check canonical RFC 9562 / RFC 4122 compliance, version number, and variant bits.

Understanding RFC 9562 UUID Standards

Anatomy of a Version 4 UUID

A canonical UUID consists of 32 hexadecimal digits grouped into five segments:

xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
  • Position 15 (Version): Must be 4, indicating a random UUID.
  • Position 20 (Variant): Must be 8, 9, a, or b (bits 10xx per RFC 9562).
  • 122 Random Bits: 5.3 × 1036 possible combinations guarantee practical uniqueness.

Security & Entropy Source

Unlike naive random functions like Math.random() which use pseudo-random generators with short recurrence cycles, this tool strictly relies on the W3C Web Crypto API:

  • Hardware Entropy: Leverages the operating system's cryptographically secure pseudo-random number generator (CSPRNG).
  • Zero Fallback to Insecure Math: If Web Crypto is unavailable due to an insecure context, the tool warns the developer rather than silently degrading entropy.
  • RFC 9562 Compliance: Supersedes RFC 4122 while retaining backward compatibility for v4 identifiers.

Frequently Asked Questions

What is a UUID version 4 and how is it structured?

A UUID (Universally Unique Identifier) version 4 is a 128-bit identifier generated using cryptographically secure random numbers. In canonical hexadecimal form, it consists of 32 hexadecimal digits displayed in five hyphen-separated groups (8-4-4-4-12): 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'. The '4' at index 14 indicates version 4, and 'y' at index 19 specifies the RFC 9562 variant (bits 10xx, representing 8, 9, a, or b).

How random and unique are version 4 UUIDs?

A version 4 UUID contains 122 bits of true entropy (cryptographic randomness), resulting in 2^122 (approximately 5.3 x 10^36) possible unique values. The probability of generating a duplicate collision is so infinitesimally tiny that you would need to generate one billion UUIDs per second for roughly 85 years to have a 50% chance of a single collision.

What is the difference between a UUID and a GUID?

UUID (Universally Unique Identifier) is the standard terminology formalized by the IETF (RFC 4122 and RFC 9562) and ITU-T. GUID (Globally Unique Identifier) is Microsoft's implementation term. In modern software engineering, standard UUIDv4 and GUID are structurally equivalent.

Are generated UUIDs stored, logged, or sent to any server?

No. All UUIDs are generated directly within your browser memory using the native Web Crypto API (crypto.randomUUID). No network requests are made, and generated identifiers are never logged or stored.

Can this tool validate UUID versions other than v4?

Yes. The built-in UUID inspector parses any canonical 36-character UUID string and identifies its version (v1 time-based, v2 DCE, v3 MD5, v4 random, v5 SHA-1, v6/v7/v8 per RFC 9562, Nil UUID, or Max UUID) and variant bits without rejecting non-v4 identifiers.

Related Developer Utilities