Generators
UUID generator
Generates 1 to 100 random version 4 UUIDs, in lowercase, uppercase, without dashes or wrapped in braces.
How to use this tool
Set a quantity from 1 to 100 and choose a format. The list is redrawn when you change either setting or press Generate, with one UUID per line, and Copy all puts the whole list on the clipboard. Four formats are available: lowercase with dashes (the standard form), uppercase, 32 hexadecimal digits with no dashes, and lowercase in braces. A UUID is a 128-bit identifier written as 32 hexadecimal digits in groups of 8, 4, 4, 4 and 12. In version 4, 122 of those bits are random. The other six mark the version and the variant, which is why the third group always starts with 4 and the fourth with 8, 9, a or b. The random bytes come from crypto.getRandomValues. The tool only produces version 4, so there is no time-based version 1 or 7.
Concrete examples
- lowercase: f47ac10b-58cc-4372-a567-0e02b2c3d479
- UPPERCASE: F47AC10B-58CC-4372-A567-0E02B2C3D479
- no dashes: f47ac10b58cc4372a5670e02b2c3d479
- {braces}: {f47ac10b-58cc-4372-a567-0e02b2c3d479}
Frequently asked questions
- Can two UUIDs be identical?
- In theory yes, in practice no. A version 4 UUID has 122 random bits, which makes about 5.3 × 10^36 possible values. You would need to generate around 2.7 × 10^18 of them to reach a 50% chance of a single duplicate.
- How does version 4 differ from the other versions?
- Version 1 is built from the time and the network address of the machine, so it reveals when and where it was made. Version 7 starts with a timestamp, which keeps new identifiers in order in a database index. Version 4 is random from end to end: it carries no information and cannot be sorted by creation date.
- Is a UUID the same thing as a GUID?
- Yes. GUID is the name Microsoft uses for the same 128-bit identifier. Windows tools often write it in uppercase or inside braces, which is what the UPPERCASE and {braces} formats are for. The value is identical whatever the notation, since hexadecimal digits are not case-sensitive.
- Can I use a UUID as a password or a secret token?
- The 122 random bits come from the cryptographic generator of the browser, so they are hard to guess. A UUID is still meant to be an identifier: it tends to end up in URLs and logs, where secrets should not appear. For a secret, use the password generator or a token made for that purpose.