UUID v4 Generator
Generate cryptographically random UUID v4 identifiers — one or many at a time — entirely in your browser.
Runs entirely in your browser — nothing is sent to our servers.
How to use it
- Choose how many you need — 1, 5, 10 or 25.
- Press Generate.
- Copy a single UUID with its button, or press Copy all for the whole list.
Press Generate to create cryptographically random UUID v4 identifiers.
What is a UUID v4?
A UUID (Universally Unique Identifier) is a 128-bit value formatted as 32 hex digits in five groups, like f47ac10b-58cc-4372-a567-0e02b2c3d479. Version 4 sets 122 of those bits from a random source, with the remaining 6 fixed to mark it as version 4 per the RFC — which means two UUID v4 values colliding by chance is astronomically unlikely, close enough to impossible for any practical purpose.
Why use this tool
Everything happens in your browser — nothing is sent anywhere, and every UUID comes from the platform's cryptographic random source (crypto.randomUUID or crypto.getRandomValues), not Math.random. That matters if the identifier will ever be used as anything more sensitive than a display label — Math.random-derived IDs are predictable enough to be guessed, which a CSPRNG-backed UUID v4 is specifically designed not to be.
Generating several at once is useful for seeding test fixtures, populating a mock dataset, or grabbing a batch of message keys without round-tripping to a script each time.
UUID v4 gotchas
UUID v4 vs. UUID v7
Because every bit is random, UUID v4 values don't sort chronologically and compress poorly in a database index — inserting them as a primary key causes random-order page splits that hurt write performance at scale. UUID v7 exists specifically to fix this: it leads with a timestamp so values sort in creation order while staying globally unique. This tool only generates v4; if insertion order matters for your use case, look for a v7 generator instead.
Not a substitute for a secret token
A UUID being unpredictable and a UUID being secret are different properties. UUID v4 is designed so that generating two by chance won't collide, not so that a third party can't enumerate or replay one — don't use a bare UUID as a password-reset token, an API key, or anything else that needs to resist a targeted guess, without additional signing or a dedicated secret-token generator.
Version and variant bits
The 4 at the start of the third group (4372 in the example above) marks the UUID version, and the leading bits of the fourth group are fixed to mark the RFC 4122 variant — both are set automatically here and aren't part of the random payload, so don't assume all 128 bits are unpredictable when reasoning about collision odds.
Related tools
Case Converter
camelCase, snake_case, kebab-case, PascalCase and more, all at once.
Base64 Encoder / Decoder
Encode or decode Base64, including the URL-safe alphabet.
Find & Replace
Regex, whole-word and case-sensitive search and replace, in place.
JSON Formatter
Format, minify and validate JSON, with auto-repair for common invalid JSON.
JSON ↔ CSV
Convert a JSON array of objects to CSV, or back.
JSON Compare
Diff two JSON documents, path by path.
SQL Formatter
Indent queries with keyword casing options.
URL Encoder / Decoder
Percent-encode or decode a URL component.
Text Transform
Lines to a delimited list, and back.
BIN Checker
Card issuer lookup from a BIN/IIN.
Temporary Email
A disposable inbox for live-testing incoming mail.
Webhook
Inspect live webhook deliveries.