Security Tools

UUID Generator

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.

100% Client-Side Cryptographic Security

UUID generation and validation are executed entirely within your browser sandbox using native Web Crypto (crypto.randomUUID() & crypto.getRandomValues()). Zero identifiers, names, or namespaces are ever transmitted across the network or stored in logs.

Output Format:
UUID Version to Generate RFC 4122
Description & Use Case
122 bits of high-entropy randomness generated via native Web Crypto. Ideal for distributed IDs, session keys, and general web applications.
Generated UUID v4 Random
--
Version
4 (Random)
Variant
RFC 4122
Entropy Bits
122 bits
Timestamp Info
None (Random)
Character Count
36 chars

What is a UUID & How Does It Work?

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).

Official UUID Versions at a Glance

v1
UUID v1 (Gregorian Time)

Built from 100-nanosecond intervals since October 15, 1582, a clock sequence counter, and a 48-bit node MAC/random identifier.

v3
UUID v3 (MD5 Name-Based)

Deterministic 128-bit hash computed by hashing a namespace UUID and a UTF-8 string using MD5. Kept for legacy support.

v4
UUID v4 (Random Entropy)

Composed of 122 bits of cryptographically secure random entropy. The industry-standard default for general identifiers and tokens.

v5
UUID v5 (SHA-1 Name-Based)

Deterministic hash computed using SHA-1 over a namespace UUID and name string. Highly recommended for idempotent resource creation.

v6
UUID v6 (Reordered Time)

Reorders UUID v1 timestamp fields into most-significant order, allowing natural B-Tree database indexing while keeping v1 compatibility.

v7
UUID v7 (Unix Time-Ordered)

Standardized in RFC 9562: 48-bit Unix millisecond timestamp + 74 bits of random entropy. The new modern standard for database primary keys.

UUID v4 vs. UUID v7: Which Should You Use?

UUID v4 (Pure Random)

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 (Unix Epoch Sortable)

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.

UUID Versions Comparison Table

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

Frequently Asked Questions

A UUID (Universally Unique Identifier) is a standardized 128-bit numerical label used to uniquely identify computer software objects, records, and database entities without relying on a centralized registry or database sequence coordinator.
UUID stands for Universally Unique Identifier. In Microsoft documentation and the .NET framework, it is universally termed a GUID (Globally Unique Identifier). Both terms describe identical 128-bit binary structures under RFC 4122 and RFC 9562.
In its canonical representation, a UUID contains exactly 36 characters: 32 hexadecimal characters (0-9, a-f) and 4 hyphen separators in the 8-4-4-4-12 pattern. When formatted without hyphens, it contains exactly 32 hexadecimal characters.
UUID v1 embeds the computer's MAC address and the exact timestamp in 100-nanosecond intervals since the 1582 Gregorian calendar reform. UUID v4 contains no timestamp or hardware identifier; it is generated purely from 122 bits of cryptographically secure random entropy.
UUID v4 is completely non-chronological, causing severe B-Tree database index fragmentation when used as primary keys. UUID v7 combines a 48-bit Unix millisecond epoch timestamp with 74 bits of random entropy, providing natural chronological sorting and high database index performance.
Yes. PaceTools utilizes the Web Cryptography API (crypto.randomUUID() and crypto.getRandomValues()) to guarantee cryptographically secure pseudo-random number generation (CSPRNG), making collision or predictability practically impossible.
Yes. Because the most significant 48 bits encode the Unix millisecond timestamp in big-endian order, sorting UUID v7 values lexicographically or as raw bytes automatically sorts them chronologically by generation time.
Yes. The Bulk Generator tab enables you to generate between 1 and 10,000 UUIDs in a single operation, with instant export options to TXT, CSV, and JSON files.
While absolute uniqueness is not mathematically absolute, the probability of generating a duplicate UUID v4 is approximately 1 in 1037. Generating 1 billion UUIDs every second for 100 years carries only a tiny fraction of a percent chance of a collision.
Yes. GUID (Globally Unique Identifier) is Microsoft's implementation of the UUID standard. Both refer to 128-bit identifiers with matching binary representations, version bits, and variant specifications under RFC 4122.
Yes. The Validator & Parser tab analyzes any UUID string, validates its hexadecimal structure, identifies its version (v1-v8) and RFC variant, and decodes embedded timestamps for v1, v6, and v7 UUIDs.
No. All UUID generation and parsing occur entirely in your local web browser. PaceTools does not transmit, record, or store any generated identifiers or input names.

Related Developer & Security Tools