UUID generator.
Generate universally unique identifiers with your browser’s cryptographic random number generator: random v4, or v7 that sorts by creation time.
Runs in your browser. Nothing you enter is sent to KRA Digital or anyone else.
How to use it
- Choose version 4 for general-purpose random IDs, or version 7 for database keys that should sort by time.
- Set how many you need (up to 1,000) and the format.
- Copy them or download a text file.
- Paste any UUID into “Inspect” to see its version and, for v7, when it was created.
Questions
Can two UUIDs collide?
In practice, no. A v4 UUID has 122 random bits, so the chance of a duplicate is negligible for any realistic number of IDs, provided a good random source is used — this tool uses crypto.getRandomValues.
When should I use UUID v7?
When IDs are database primary keys. v7 starts with a millisecond timestamp, so new rows are inserted in order, which is friendlier to indexes than fully random v4 IDs.
Is a UUID secret?
No. Don’t use UUIDs as passwords or security tokens; v7 even reveals its creation time. Use a dedicated token generator for secrets.
Read more
Related tools
- Security
Hash generator (SHA-256)
Create SHA-1, SHA-256, SHA-384 and SHA-512 hashes or HMACs of text and files.
Open - Security
Password generator
Generate strong random passwords with your browser’s cryptographic generator. Nothing is stored.
Open - Developer
JSON formatter & validator
Format, validate, sort and minify JSON with clear error positions. Runs locally.
Open