UUID Generator
Bulk UUID v4 or v7 with case and hyphen options - copy them or save a .txt. Client-side only.
Generate UUID v4 or v7 instantly in your browser - pick a version and a batch size from 1 to 100, choose upper or lower case and whether to keep the hyphens, then copy single values, copy the list, or download it as a .txt file with one UUID per line. v4 is pure randomness from crypto.randomUUID(); v7 starts with a millisecond timestamp so new keys sort in creation order. Nothing is sent over the network.
Click Generate to produce UUIDs.
Version 4: 122 random bits from the Web Crypto API, no network requests.
How to generate UUIDs
- 1
Choose a UUID version
Select v4 for a purely random identifier (122 bits of randomness via crypto.randomUUID()), or v7 for a time-ordered UUID that embeds a 48-bit millisecond Unix timestamp prefix — ideal for database primary keys.
- 2
Set the batch count
Use the count selector to generate 1, 5, 10, 25, 50 or 100 UUIDs in a single click. All generation runs in your browser - no server requests are made.
- 3
Pick the output format
Toggle Uppercase for capital hex digits and No hyphens for the compact 32-character form. The list updates in place without generating new values.
- 4
Copy or download
Click the copy icon beside any UUID, use Copy all for the whole list, or Download .txt to save it as a file with one UUID per line.
UUID Generator FAQ
- What is the difference between UUID v4 and v7?
- UUID v4 is purely random — 122 bits of randomness, making collisions negligible. UUID v7 embeds a 48-bit millisecond Unix timestamp prefix, so generated UUIDs are time-ordered and sort correctly as database primary keys without a separate created_at column.
- How do I generate a UUID online for free?
- Click Generate above. The tool runs entirely in your browser using crypto.randomUUID() (v4) and crypto.getRandomValues() (v7) — no server requests, no account required.
- How many UUIDs can I generate at once, and can I save them?
- Up to 100 per batch: pick 1, 5, 10, 25, 50 or 100 and click Generate. Copy all puts the list on your clipboard, while Download .txt saves a file such as uuid-v4-100.txt with one value per line, ready for a seed script or spreadsheet import.
- Should a UUID be uppercase or lowercase, and can I drop the hyphens?
- RFC 9562 says UUIDs are written in lowercase hex and must be accepted in either case on input, so both forms identify the same value. The No hyphens option gives the bare 32-character string that Python's uuid.hex or .NET's Guid.ToString("N") produce; the Uppercase option suits systems that print GUIDs in capitals.
- Is UUID v7 safe to use in production?
- UUID v7 follows RFC 9562 (published May 2024) and is supported by major databases and ORMs. Its time-ordered nature improves index locality in B-tree indexes compared to random v4 UUIDs.
- Can I use a UUID generator in JavaScript or TypeScript?
- Yes. In modern browsers and Node.js 19+, use crypto.randomUUID() for v4. For UUID v7 in JavaScript or TypeScript, use the 'uuid' npm package (uuidv7()) or the 'uuidv7' package. This tool shows the generated values so you can test or copy them without installing anything.
References
- RFC 9562 — Universally Unique IDentifiers (UUIDs)
The current IETF standard for UUID formats, published May 2024. Defines UUID v4 (random), v7 (time-ordered), and the full 128-bit layout.
- MDN — crypto.randomUUID()
Browser-native method that generates a RFC-compliant version-4 UUID string using a cryptographically secure random number generator.
- MDN — Crypto.getRandomValues()
Low-level API that fills a typed array with cryptographically strong random values — used here to build the random bits for UUID v7.
Related developer tools
Hash Generator
Generate MD5, SHA-1, SHA-256, or SHA-512 hashes from any text. Useful for checksums, content fingerprinting, and verifying file integrity.
JSON Formatter
Paste raw JSON and instantly get a formatted, syntax-highlighted view. Validate structure and copy clean output.
Base64 Encode / Decode
Encode text or binary data to Base64 or decode Base64 strings back to plaintext — a common step in auth tokens and data URIs.
JWT Decoder
Decode a JWT token and inspect its header, payload, and signature without any server round-trip.