Generate UUIDs
Generate v4 random or v7 time-ordered UUIDs in bulk, from your browser's cryptographic random source. Nothing is sent anywhere.
- Free, no account
- Nothing is uploaded
- Runs in your browser
How it works
- 1 What goes in How many, and which version
- 2 It runs in your browser On your own device. Nothing is uploaded, there is no queue and no account, and it keeps working with the network switched off.
- 3 What comes back UUIDs from real randomness
What it does
Up to 250 at a time, v4 or v7, from the browser's own cryptographic random source. Nothing is requested from a server, which also means no two visitors can be handed the same list.
This page does the work itself. Your data is handled by the browser and never sent anywhere — there is no server here to send it to.
Questions
v4 or v7?
v4 is 122 random bits and the right default. v7 puts a millisecond timestamp in its high bits so the values sort chronologically, which matters when they are database primary keys: random v4s scatter inserts across a B-tree index and fragment it, while v7s append in order. The cost is that a v7 reveals roughly when it was created.
Can two UUIDs collide?
In practice, no. With 122 random bits you would need to generate about a billion a second for 85 years to reach a 50% chance of a single collision. The realistic risk is not the mathematics but a weak random source — which is why these come from crypto.getRandomValues and the page refuses to generate any if that is unavailable.
Is it safe to generate them in a browser?
For identifiers, yes: crypto.getRandomValues is the same cryptographic source the platform uses for keys. Generating them here also means the list was never transmitted, unlike an API that hands you identifiers it has seen.
More developer tools
-
Developer
Text ⇄ binary
Translate text to binary, hex or octal and back again, in UTF-8.
-
Developer
Base64
Encode text or a file to Base64 and decode it back, with URL-safe output and data URIs.
-
Developer
SHA hashes
Compute SHA-1, SHA-256, SHA-384 and SHA-512 for text or a file, using your browser's own crypto engine.
-
Developer
Unix time
Convert Unix time to a date and back, in UTC and your own timezone at once, with seconds and milliseconds.
-
Developer
URL encode
Percent-encode a URL or a single value and decode it back, with the encodeURI and encodeURIComponent distinction made explicit.
-
Developer
JWT decoder
Read a JWT's header and payload, with expiry checked against the clock.
-
Developer
Regex tester
Test a JavaScript regular expression against your own text, see every match and capture group, and read the pattern back in plain English.
-
Developer
Cron expressions
Turn a cron expression into plain English and see its next five run times, in your own timezone and in UTC.
-
Developer
cURL converter
Paste a curl command and get it back as JavaScript fetch, Python requests and a raw HTTP request.