UUID generator — v4 or v7, one or a thousand.
Generate random v4 UUIDs or time-ordered v7 UUIDs, in bulk, uppercase or lowercase, with or without hyphens. Uses your browser’s cryptographic random source.
About this free UUID generator.
A UUID (universally unique identifier, also called a GUID) is a 128-bit value written as 32 hexadecimal digits in five hyphenated groups. This free UUID generator produces version 4 UUIDs, which are entirely random, and version 7 UUIDs, which begin with a millisecond timestamp so they sort by creation time. It uses your browser’s cryptographic random source, so the values are suitable for real identifiers, not just examples.
Generate one UUID or up to a thousand at once, switch between lowercase and uppercase, and drop the hyphens if a database column or URL scheme needs the compact 32-character form. Everything happens in your browser, and Copy all puts the whole batch on your clipboard.
Free · No signup · Runs in your browser · Last updated
- Version 4Fully random UUIDs from crypto.getRandomValues or crypto.randomUUID.
- Version 7Time-ordered UUIDs that sort chronologically and index well as primary keys.
- Bulk generationUp to 1,000 UUIDs per click.
- FormattingUppercase or lowercase, with or without hyphens.
- Copy allThe whole list, one per line, to your clipboard.
How to generate UUIDs in four steps.
Pick a version
Choose v4 for pure randomness or v7 when identifiers should sort by the time they were created.
Set the count
Enter how many you need, from one to a thousand.
Choose the format
Tick Uppercase or No hyphens if your schema or API expects a particular shape.
Generate and copy
Click Generate, then Copy all to paste the list into a fixture, migration or spreadsheet.
UUID generator questions, answered.
v4 or v7?
v4 is pure randomness and fine for most IDs. v7 puts a millisecond timestamp in the first 48 bits so IDs sort by creation time — much friendlier to database indexes. Use v7 for primary keys, v4 when you don’t want to leak creation time.
Are these cryptographically random?
Yes — they come from crypto.getRandomValues / crypto.randomUUID in your browser.
How unique are they?
A v4 UUID has 122 random bits. You’d need to generate about 2.7 quintillion of them for a 50% chance of a single collision.
What is the difference between a UUID and a GUID?
Nothing in practice. GUID is Microsoft’s name for the same 128-bit identifier format defined in RFC 9562 (formerly RFC 4122). Both are written as 8-4-4-4-12 hexadecimal groups and both are generated the same way.
Should I use UUIDs as database primary keys?
Version 7 UUIDs work well as primary keys because their timestamp prefix keeps inserts roughly in order, which avoids the index fragmentation random v4 keys cause on B-tree indexes. If you do not want the creation time to be inferable from the key, v4 is the safer choice.
Can I generate a UUID from a string or a name?
Not with this tool. Name-based UUIDs are versions 3 and 5, which hash a namespace and a name deterministically. This generator produces random v4 and time-ordered v7 values only.
Also free.
JSON formatter & validator
Paste JSON to format it with two or four spaces, sort keys, minify for transport, and get a clear error with line and column when it doesn’t parse.
header · payload · expiryJWT decoder
Paste a JSON Web Token to see its header and payload decoded, the algorithm, and whether it’s expired or not yet valid — all in your browser.
javascript flavourRegex tester
Type a pattern and flags, paste some text, and see every match highlighted with its capture groups as you type.
text · files · url-safeBase64 encoder / decoder
Encode text or a file to Base64, or decode Base64 back to text — with proper UTF-8 handling, an optional URL-safe alphabet, and a data-URL output for files.
unix ↔ dateTimestamp converter
Paste a Unix timestamp (seconds or milliseconds) or a date, and see it in UTC, your local zone and ISO 8601, plus relative time.
structural compareJSON diff
Paste two JSON documents and see exactly which keys were added, removed or changed — ignoring formatting and key order — as a list of paths and as a line diff of the normalised output.
Shipping the API that mints these? Watch it from 12 regions with uptime monitoring.
Uptime monitoring checks from 12 regions and confirms an outage from a second region before anyone is paged. $2 a monitor a month, your whole team included.