UUID Generator
Generate UUID v4 or v7 in bulk — pick version, set count, copy all. Client-side only.
Generate UUID v4 or v7 instantly in your browser — pick a version, set batch count from 1 to 100, then copy individual UUIDs or the entire list. UUID v4 uses pure randomness via crypto.randomUUID(); UUID v7 embeds a millisecond timestamp prefix, making it sort-friendly for database primary keys. Zero network requests, zero data sent.
RFC 4122 random — 2¹²² unique values, zero 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
Click Generate
Each click produces a fresh set of cryptographically random UUIDs using the Web Crypto API (crypto.randomUUID for v4, crypto.getRandomValues for v7).
- 4
Copy one or all
Click the copy icon next to any single UUID, or use Copy all to grab the full list as newline-separated text ready to paste into code, a spreadsheet, or a migration script.
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?
- Up to 100 UUIDs per batch. Select a count (1, 5, 10, 25, 50, 100), pick v4 or v7, then click Generate. Use Copy all to grab the full list as newline-separated text.
- 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.