UUID Generator
How UUID Generation Works
UUIDs are generated using either random numbers (v4) or a combination of timestamp and random bits (v7).
- 1
Choose version
Select UUID v4 for fully random identifiers, or UUID v7 for timestamp-based, sortable identifiers.
- 2
Generate random bytes
16 random bytes are generated using the Web Crypto API (cryptographically secure).
- 3
Set version and variant bits
The version (4 or 7) and variant bits are set according to RFC 4122. For v7, the first 48 bits encode the timestamp.
- 4
Format as UUID string
The bytes are formatted as a standard UUID string (xxxxxxxx-xxxx-Vxxx-yxxx-xxxxxxxxxxxx).
FAQ
What is a UUID?
What is the difference between UUID v4 and v7?
Are UUIDs unique?
Can I generate UUIDs without hyphens?
Related Tools
Timestamp Converter
Convert between Unix timestamps and human-readable dates. Supports seconds and milliseconds, with local, UTC, ISO 8601, and relative time output.
πHash Generator
Generate MD5, SHA-1, SHA-256, SHA-512 hashes from text.
πLorem Ipsum Generator
Generate placeholder text for designs and layouts. Choose paragraphs, sentences, or words, with optional classic "Lorem ipsum" opening.