UUID Generator
Generate RFC 9562 v4, v7, v1 & v5 UUIDs in bulk or validate and inspect any UUID.
122 bits of cryptographically secure randomness (RFC 9562). Best default for IDs, tokens, and API keys.
About this tool
Generate cryptographically secure UUIDs (also known as GUIDs) directly in your browser using the Web Crypto API. Switch between random UUID v4, time-ordered UUID v7 for sortable database primary keys, Gregorian timestamp UUID v1, and deterministic namespace-based UUID v5. Generate a single ID or up to 1,000 UUIDs in bulk, customize uppercase, hyphens, braces, or URN formatting, export as plain text, JSON, or CSV, or switch to the Validate & Inspect tab to decode any UUID version, variant, and embedded timestamp. Everything runs 100% client-side on your device.
How to use the UUID Generator
- 1Choose your UUID version: v4 (random), v7 (Unix time-ordered), v1 (timestamp), or v5 (namespace + name).
- 2Pick how many UUIDs you need (1 to 1,000) and customize formatting options such as hyphens, uppercase, braces, or urn:uuid: prefix.
- 3Click "Copy" for a single UUID, or choose Plain text, JSON array, or CSV and click "Copy All" or "Download" for bulk lists.
- 4Switch to the "Validate & Inspect" tab to verify any UUID and decode its version, variant, representations, and timestamp.
Frequently asked questions
What is the difference between UUID v4 and UUID v7?
UUID v4 uses 122 bits of pure randomness, making it ideal as a general-purpose unique identifier. UUID v7 starts with a 48-bit Unix millisecond timestamp followed by monotonic random bits, so v7 UUIDs sort chronologically — reducing B-tree index fragmentation in databases like PostgreSQL and MySQL.
What is the difference between a UUID and a GUID?
UUID (Universally Unique Identifier) and GUID (Globally Unique Identifier) refer to the same 128-bit identifier standard defined in RFC 9562 (formerly RFC 4122). Microsoft ecosystems commonly call them GUIDs and sometimes wrap them in curly braces like {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}, which you can enable in the formatting options.
Are the generated UUIDs cryptographically secure and unique?
Yes. Random bits are generated locally with your browser’s Web Crypto CSPRNG (crypto.randomUUID and crypto.getRandomValues). For v4 UUIDs, there are 2^122 (~5.3 × 10^36) possible values, making accidental collisions practically impossible.
When should I use UUID v5?
UUID v5 hashes a namespace UUID and a name using SHA-1 to produce a deterministic UUID. Use it when you always want the exact same input (such as a domain name or URL) to produce the exact same UUID across different systems without storing a mapping.
Are my generated or inspected UUIDs sent to a server?
No. Every UUID is generated, formatted, and inspected locally inside your browser using JavaScript and the Web Crypto API. Nothing is transmitted or logged.
Related tools
JSON Lint
Validate, lint, format and debug JSON with line-by-line error detection.
Open toolSlug Generator
Turn any title into a clean, SEO-friendly URL slug.
Open toolText Diff Checker
Compare two texts side-by-side and highlight differences instantly.
Open toolUnix Timestamp Converter
Convert Unix timestamps to human-readable dates and vice versa.
Open tool