Generate standards-compliant UUIDs in multiple versions (v1, v3, v4, v5, v6, v7), create bulk batches up to 10,000, validate existing UUIDs, and format outputs privately in your browser.
A UUID (Universally Unique Identifier) — also referred to as a GUID (Globally Unique Identifier) in Microsoft environments — is a 128-bit label standardized by the Internet Engineering Task Force (IETF) in RFC 4122 and modernized in RFC 9562 (2024). Standard UUIDs are represented as a 36-character string consisting of 32 hexadecimal digits separated by four hyphens in the canonical form: 8-4-4-4-12 (3.4 × 1038 possible combinations).
Built from 100-nanosecond intervals since October 15, 1582, a clock sequence counter, and a 48-bit node MAC/random identifier.
Deterministic 128-bit hash computed by hashing a namespace UUID and a UTF-8 string using MD5. Kept for legacy support.
Composed of 122 bits of cryptographically secure random entropy. The industry-standard default for general identifiers and tokens.
Deterministic hash computed using SHA-1 over a namespace UUID and name string. Highly recommended for idempotent resource creation.
Reorders UUID v1 timestamp fields into most-significant order, allowing natural B-Tree database indexing while keeping v1 compatibility.
Standardized in RFC 9562: 48-bit Unix millisecond timestamp + 74 bits of random entropy. The new modern standard for database primary keys.
UUID v4 distributes values randomly across the entire 128-bit space. While excellent for preventing enumeration attacks, random values cause index fragmentation in relational database B-Trees (PostgreSQL, MySQL InnoDB, SQL Server). When inserting high volumes of v4 keys, database memory caches become overwhelmed by random page splits.
Best for: Ephemeral session tokens, password-reset tokens, API client secrets, and distributed microservice trace IDs.
UUID v7 encodes the current Unix timestamp (in milliseconds) into the first 48 bits, followed by 74 bits of secure entropy. Because records are generated in chronological sequence, database inserts are appended sequentially to the right side of B-Tree indexes, achieving near-sequential auto-increment performance with zero central coordination.
Best for: Database primary keys, e-commerce order numbers, audit log trails, and time-series event architectures.
Comprehensive overview of standard UUID versions under RFC 4122 and RFC 9562:
| Version | Generation Base | RFC Standard | Embedded Timestamp? | Chronologically Sortable? | Primary Production Use |
|---|---|---|---|---|---|
| UUID v4 | Random Entropy (122 bits) | RFC 4122 / 9562 | No | No | Session IDs, API tokens, non-guessable identifiers |
| UUID v7 | Unix Milliseconds + Random | RFC 9562 | Yes (Unix 48-bit) | Yes (Optimal B-Tree) | Database primary keys, distributed chronological records |
| UUID v1 | Gregorian 100ns + MAC/Node | RFC 4122 | Yes (100ns Gregorian) | Partially (Least-sig first) | Legacy enterprise databases (Apache Cassandra) |
| UUID v6 | Reordered Gregorian + Node | RFC 9562 | Yes (Gregorian 60-bit) | Yes | Backward-compatible upgrade path for UUID v1 architectures |
| UUID v5 | Namespace UUID + Name (SHA-1) | RFC 4122 / 9562 | No | No | Deterministic entity deduplication, URL & domain hashing |
| UUID v3 | Namespace UUID + Name (MD5) | RFC 4122 | No | No | Legacy deterministic systems where SHA-1 is unsupported |
crypto.randomUUID() and crypto.getRandomValues()) to guarantee cryptographically secure pseudo-random number generation (CSPRNG), making collision or predictability practically impossible.
Advanced high-volume batch UUID generator with duplicate detection.
Generate and verify secure bcrypt password hashes with custom cost factors.
Create strong, cryptographically secure passwords with custom character sets.
Calculate 64-character SHA-256 cryptographic hashes for text and files.