UUID/GUID Generator (v4)
Generate unique UUIDs and GUIDs instantly. Create one or batch-generate multiple random v4 UUIDs with one-click copy.
Runs in your browser. No data leaves your device.
About this tool
Generates random version 4 UUIDs with the browser's crypto.randomUUID(). One UUID is generated on page load; you can generate up to 10,000 at a time and format them as uppercase or without dashes. For developers who need IDs for databases, test data, or config.
Features
- Version 4 (random) UUIDs from crypto.randomUUID() (cryptographically secure random source)
- Batch count from 1 to 10,000
- Uppercase and No dashes options, applied instantly to the current list without regenerating
- Up to 100 UUIDs: shown as a list; tap a row to copy that UUID (Copy all and Pipeline in the header act on the whole list)
- More than 100: shown in a single read-only text area
- Copy all (newline-separated), Pipeline, Download as uuids-N.txt, and Clear
- Shows a count of how many UUIDs were generated
How to use it
- Set Count (default 1)
- Tick Uppercase and/or No dashes if needed
- Click Generate
- Copy one UUID, copy all, or click Download
Inputs
- Count: integer 1-10,000 (values outside the range are clamped)
- Format options: Uppercase, No dashes
Outputs
- UUIDs in 8-4-4-4-12 lowercase hex form by default, one per line
- Plain text file download (uuids-N.txt); copy to clipboard; Pipeline to other tools
Limits and notes
- Only version 4 UUIDs; no v1, v5, v7, or NIL UUID options
- Changing Count does not regenerate until you click Generate
- crypto.randomUUID() requires a secure context (HTTPS or localhost) and a modern browser
- No braces/GUID-style or other wrapper formats
- Nothing is saved to localStorage; all generation happens in the browser
Frequently Asked Questions
How does the UUID Generator work?
Each UUID comes from the browser's crypto.randomUUID(), part of the Web Crypto API. It returns a version 4 UUID built from cryptographically secure random bytes, with the version and variant bits set per RFC 4122 (now RFC 9562), formatted as 8-4-4-4-12 lowercase hex. The Uppercase and No dashes options just reformat that string.
What is a UUID?
A UUID (Universally Unique Identifier) is a 128-bit identifier formatted as 32 hexadecimal digits in groups like 550e8400-e29b-41d4-a716-446655440000. UUIDs are used as database primary keys, session IDs, and unique references.
Are the generated UUIDs truly unique?
Yes. Version 4 UUIDs are generated from cryptographically secure random numbers. The probability of generating two identical UUIDs is astronomically small -- about 1 in 5.3 x 10^36.
Can I generate multiple UUIDs at once?
Yes. Set the batch size and generate multiple UUIDs in a single click. Copy them all at once or individually. Useful when you need to seed a database or create test data.