ES
navigate Enter open Esc close
Developer Tools

UUID v4 & v7 Generator

Generate cryptographically secure random UUID v4 and timestamp-ordered UUID v7 identifiers in bulk compliance with RFC 9562.

What is a Universally Unique Identifier (UUID)?

A UUID is a 128-bit identifier standardized by the Internet Engineering Task Force (IETF) in RFC 9562 (which supersedes the legacy RFC 4122). In canonical textual representation, a UUID consists of 32 hexadecimal digits displayed in 5 hyphen-separated groups (8-4-4-4-12), yielding a 36-character string such as f47ac10b-58cc-4372-a567-0e02b2c3d479.

UUID v4 vs. UUID v7: Key Differences

Specification UUID v4 (Random) UUID v7 (Time-Ordered)
Primary Component 122 bits of cryptographic pseudo-randomness 48-bit Unix timestamp (milliseconds) + 74 random bits
Database Indexing Scattered insertions; can fragment B-Trees at high scale Naturally sequential; optimizes B-Tree locality and cache efficiency
Version Nibble 0100 (Digit 4 at position 13) 0111 (Digit 7 at position 13)
Standard Reference RFC 9562 Section 5.4 RFC 9562 Section 5.7

Security and Client-Side Privacy

This generator runs exclusively client-side in your web browser via the W3C Web Cryptography API (crypto.randomUUID and crypto.getRandomValues). Identifiers are generated in memory without network requests, logs, or external telemetry.

Security note: While UUID v4 provides cryptographically strong pseudo-random bits, UUIDs should be treated as unique object identifiers rather than cryptographic secrets, password hashes, or authentication tokens.

Frequently Asked Questions

What is a UUID and what is it used for?
A UUID (Universally Unique Identifier) is a standardized 128-bit identifier specified by RFC 9562 (superseding RFC 4122). It enables distributed systems to generate unique keys across databases and services without requiring a central coordinating authority.
What is the difference between UUID v4 and UUID v7?
UUID v4 is randomly generated using 122 bits of cryptographic entropy, suitable for general purpose un-ordered identifiers. UUID v7 embeds a 48-bit big-endian Unix timestamp in milliseconds followed by pseudo-random bits, greatly improving B-Tree index locality and insertion speed in SQL/NoSQL databases.
Can a generated UUID ever collide or duplicate?
While mathematical zero-probability cannot be stated in absolute terms, the collision probability of properly generated UUID v4 is so extraordinarily infinitesimal (1 in billions of billions) that collisions are practically negligible in real-world systems.
Are UUIDs generated locally in the browser?
Yes. All UUIDs are generated 100% client-side via the W3C Web Cryptography API (crypto.randomUUID and crypto.getRandomValues). No identifiers are ever transmitted across the network or stored on any server.
Are UUID and GUID the same thing?
Yes, GUID (Globally Unique Identifier) is Microsoft terminology for the standard UUID format. In textual representations conforming to RFC 9562, both refer to the same 128-bit structure formatted as 8-4-4-4-12 hexadecimal digits.
Can a UUID be used as a password or encryption key?
No. While UUID v4 uses cryptographic randomness, UUIDs are intended as unique object identifiers, not as secrets, hashed authentication tokens, or encryption keys.

Share this tool

Help others by sharing this free tool.