Developer Tools
UUID Generator
Generate random UUID v4 identifiers — or time-ordered UUID v7 — individually or in bulk, using your browser's cryptographic random generator. Copy them or download as TXT or CSV.
Runs in your browser
Features
What you get
UUID v4 by default
Random, RFC 9562-compliant version 4 UUIDs from the Web Crypto API.
Optional UUID v7
Time-ordered UUIDs that sort by creation time — great for database primary keys.
Bulk generation
Create up to 1,000 UUIDs at once, with a duplicate check on every batch.
Display formats
Uppercase, no hyphens or {braces} for systems that need them — standard lowercase is the default.
Copy and export
Copy one or all, or download as .txt (one per line) or .csv.
Validator
Paste any UUID to check it and see its version, variant and — for v7 — its timestamp.
How to use
How to use the UUID Generator
Version 4 UUIDs come from crypto.randomUUID(), or from crypto.getRandomValues() with the version and variant bits set by hand where that isn't available — never Math.random(). That leaves 122 random bits, so collisions are practically impossible. Version 7 UUIDs (RFC 9562) put a 48-bit Unix-millisecond timestamp first and fill the rest with random bits plus a sequence counter, so IDs made in the same millisecond still sort in order. Every batch is checked for duplicates.
- 01
Choose version and quantity
v4 for random IDs, v7 for time-ordered IDs; pick how many.
- 02
Generate
IDs appear instantly. Adjust case and hyphens for display if needed.
- 03
Copy or download
Copy a single ID or all of them, or download TXT or CSV.
Examples
Worked examples
Version 4
0b8f1e0a-4c3d-4e5f-9a7b-1c2d3e4f5a6b — the 13th digit (4) is the version; the 17th (8, 9, a or b) marks the RFC variant.
Version 7
A v7 UUID made at 12:00 UTC on 12 November 2026 starts with 01a1cfa1-0a00, so later IDs sort after it.
For a database
Generate 500 v7 UUIDs and download the CSV to seed test data with sortable primary keys.
Technical specifications
- Standard
- RFC 9562 (formerly RFC 4122)
- v4 randomness
- 122 random bits, crypto.randomUUID()
- v7 layout
- 48-bit ms timestamp + 74 random/sequence bits
- Batch size
- 1 – 1,000
- Formats
- Standard, uppercase, no hyphens, {braces}
- Processing
- In your browser
Privacy
UUIDs are generated in your browser and are not sent, logged or stored.
Read the full privacy policy.
FAQ
UUID Generator questions
A UUID (universally unique identifier, also called a GUID) is a 128-bit identifier written as 32 hexadecimal digits in five groups, like 0b8f1e0a-4c3d-4e5f-9a7b-1c2d3e4f5a6b. ZSpace Tools' UUID Generator creates standards-compliant version 4 UUIDs, which are random, and version 7 UUIDs, which start with a timestamp so they sort by creation time.
Version 4 UUIDs come from crypto.randomUUID(), or from crypto.getRandomValues() with the version and variant bits set by hand where that isn't available — never Math.random(). That leaves 122 random bits, so collisions are practically impossible. Version 7 UUIDs (RFC 9562) put a 48-bit Unix-millisecond timestamp first and fill the rest with random bits plus a sequence counter, so IDs made in the same millisecond still sort in order. Every batch is checked for duplicates.
A universally unique identifier: a 128-bit value, usually shown as 36 characters (32 hex digits and 4 hyphens), that can be generated anywhere without coordination and is practically guaranteed to be unique.
Version 4 UUIDs are generated from random numbers — 122 of their 128 bits are random. They're the most widely used kind.
Use v4 for general-purpose unique IDs. Use v7 when IDs will be stored in a database index, because v7 sorts by creation time and keeps indexes compact. Note that v7 reveals roughly when the ID was created.
Auto-increment IDs are small and simple but need a central database and reveal how many records exist. UUIDs can be created anywhere (clients, services, offline) and don't reveal counts, at the cost of more storage.
No. UUIDs are identifiers, not secrets — they can appear in URLs and logs, and v7 includes a timestamp. For secrets, use a dedicated generator such as our password generator and store them securely.
With v4 the chance is so small it can be ignored in practice. Each batch here is also checked, and any duplicate would be regenerated.
Related tools
Password Generator
Generate strong, random passwords using cryptographically secure randomness.
JSON Formatter & Validator
Beautify, minify and validate JSON, with exact line and column for every error.
Base64 Encoder & Decoder
Encode text or files to Base64 and decode it back, with full Unicode support.