UUID Generator
Generate random v4 UUIDs, time-ordered v7 UUIDs, or a nil UUID — one or thousands at a time, with a cryptographic random source in your browser.
🔒 Runs entirely in your browser — nothing you type is uploaded or stored on a server.
The UUID Generator creates universally unique identifiers — the 128-bit values (also called GUIDs) used as primary keys, request IDs, file names and de-duplication tokens across databases and distributed systems. Generate a single UUID or a bulk batch of up to a thousand at once, then copy or download the list. The default is the ubiquitous version 4 (fully random) format like 3f2504e0-4f89-41d3-9a0c-0305e82c3301.
Randomness comes from your browser's cryptographically secure generator (crypto.getRandomValues), and the version and variant bits are set exactly as the spec requires, so every ID is a valid, standards-compliant UUID. A v4 UUID has 122 random bits — the odds of two ever colliding are astronomically small, which is why they're safe to generate independently on any machine without coordination.
You can also generate version 7 UUIDs, a newer format that embeds a millisecond timestamp at the front so the IDs sort in creation order — ideal as database keys because they keep indexes tidy while staying unique. A nil UUID (all zeros) is available for placeholders and tests. Format the output your way with uppercase, hyphen and brace toggles. It all runs in your browser — nothing is generated on or sent to a server.
How to use
- Choose a version: v4 (random) for general use, v7 (time-ordered) for sortable database keys, or Nil for a placeholder.
- Set how many you need — from one to a thousand.
- Toggle formatting: uppercase, hyphens on/off, or wrap each in braces { }.
- Click Generate UUID.
- Copy the list or download it as a .txt file.
Examples
Get one random identifier like 3f2504e0-4f89-41d3-9a0c-0305e82c3301 for a record, request or file.
Set the quantity to 500 to seed test data or pre-generate a batch of keys, then download them all at once.
Choose version 7 so the UUIDs embed a timestamp and sort in creation order — friendlier for database indexes than fully random v4.
Turn off hyphens and switch on uppercase for systems that expect a compact 32-character form, or add braces for Microsoft-style GUIDs.