UUID / GUID Generator

Generate cryptographically secure Universally Unique Identifiers in bulk.

Need to format API payloads? Try JSON Formatter →

Understanding UUIDs and GUIDs

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit number used to uniquely identify information across distributed systems without requiring a central authority or database lookup. GUID (Globally Unique Identifier) is Microsoft's implementation term for the same standard.

What is the Structure of a UUID?

A standard UUID is represented as 32 hexadecimal digits separated by hyphens into five groups: 8-4-4-4-12 (for example, 123e4567-e89b-12d3-a456-426614174000).


Comparing Common UUID Versions

Version 4 (Random)

Generated using cryptographically secure pseudo-random numbers (`crypto.randomUUID()`). Most commonly used for primary database keys.

Version 1 (Time-Based)

Generated from the current timestamp combined with node host values. Helpful when chronological sorting is required.

NIL UUID

A special static UUID with all bits set to zero (00000000-0000-0000-0000-000000000000), used as a default empty state or null placeholder.


Is a UUID Collision Possible?

While theoretical collision is possible, the probability of duplicating a Version 4 UUID is practically zero. With 122 random bits available, you would need to generate 1 billion UUIDs per second for roughly 85 years before reaching a 50% chance of a single collision.