Generate RFC 4122-compliant UUIDs โ v1 (time-based), v4 (random), and v7 (sortable time-based). Create one or thousands, then copy or download in JSON, CSV, or text.
A UUID (Universally Unique Identifier) is a 128-bit number used to uniquely identify objects, records, or sessions in computer systems. UUIDs are standardized by RFC 4122 (now superseded by RFC 9562) and are guaranteed to be unique across both space and time without requiring a central registry.
UUIDs are typically displayed as 32 hexadecimal digits arranged in five groups separated by hyphens:
550e8400-e29b-41d4-a716-446655440000
| Version | How It's Made | Best For | Drawback |
|---|---|---|---|
| v1 | Timestamp + MAC address + random | Legacy systems, MAC-based identification | Leaks hardware info; not sortable across machines |
| v4 | Cryptographic random (122 bits) | General-purpose IDs, security tokens, sessions | Not sortable โ random order |
| v7 | Unix timestamp (48 bits) + random | Database primary keys, event logs, distributed systems | Newer, less universally supported |
Version 4 UUIDs are the most common. They use a cryptographically secure random number generator for 122 of the 128 bits (the remaining 6 bits identify the version and variant). The chance of a collision is effectively zero โ you'd need to generate 2.71ร10ยนโธ UUIDs before hitting a 50% chance of any duplicate.
This tool uses the browser's crypto.randomUUID() when available, falling back to crypto.getRandomValues() for older browsers.
Version 7 was standardized in RFC 9562 (2024) to solve a common database problem: random UUIDs scatter inserts across a B-tree index, hurting performance. v7 UUIDs begin with a 48-bit Unix timestamp (in milliseconds), so they sort chronologically at the string level.
This makes them ideal as database primary keys โ new rows always append to the end of the index rather than scattering randomly. They still contain 74 bits of random data, so they remain unique across distributed systems.
Version 1 combines the current timestamp with the machine's MAC address. It was the original UUID format and is still used in some legacy systems. However:
For new projects, prefer v4 or v7.
A standard UUID has this structure:
Total: 32 hex digits = 128 bits = 16 bytes.
550E8400-E29B-41D4-A716-446655440000{...} wrapper that some systems use550e8400e29b41d4a716446655440000 (used in URLs and some databases)urn:uuid:550e8400-e29b-41d4-a716-446655440000 (used in XML and RDF)GUID (Globally Unique Identifier) is Microsoft's name for UUID. They're the same thing โ 128-bit identifiers following the same format. The only practical difference is terminology, and sometimes the braces style ({...}) that Windows uses.
Yes โ in practice. v4 UUIDs have 122 random bits, giving 5.3ร10ยณโถ possible values. The probability of a collision is so low that:
Everything runs in your browser using the built-in crypto API. No UUIDs are transmitted, stored, or logged. Close the tab and everything is gone.