How to use it
- Choose how many UUIDs you want, from 1 to 1,000.
- Pick the format: with or without hyphens, uppercase or lowercase, and with or without braces (the style some Microsoft tools use for GUIDs).
- Press Generate, then Copy all or Download .txt. A new set is also created when the page loads and whenever you change an option.
What a version 4 UUID is
A UUID (universally unique identifier, also called a GUID) is a 128-bit number written as 32 hexadecimal digits in five groups, such as 3f2b8a40-7c1d-4e6a-9b52-0d8e1f4a6c33. In a version 4 UUID, 122 of the bits are random; the rest mark the version (the first digit of the third group is always 4) and the variant (the first digit of the fourth group is 8, 9, a or b).
The tool uses your browser’s crypto.randomUUID() where it exists, and otherwise builds the UUID from crypto.getRandomValues(). Both use a cryptographically secure random source.
How unique is unique?
With 122 random bits the chance of two random UUIDs matching is so small that, in practice, you can treat them as unique without asking a central server. It is a probability, not a guarantee, but you would need to generate billions of UUIDs per second for many years before a clash became likely.
When not to use one
A UUID is an identifier, not a secret. It should not be the only thing protecting access to something, and an ID that can be guessed or listed is not a substitute for a permission check. Random UUIDs are also not sorted by creation time, which can matter for database index performance; some systems prefer time-ordered identifiers. This tool generates version 4 only.
Related tools
Hash generator, Base64 encoder and decoder and regex tester (handy for checking a UUID pattern).
Frequently asked questions
No. They are generated in your browser and only exist on your screen until you copy or download them.
In practice, yes. GUID is the name Microsoft uses for the same 128-bit identifier. Use the braces option if your tool expects the {…} form.
They come from a secure random source, but a UUID is meant as an identifier. For session tokens or API keys, generate a purpose-made secret of the length your system recommends instead.
Not here. This tool generates random version 4 UUIDs only.
It needs crypto.getRandomValues, which every current browser has. It is only missing in very old browsers or when the page is not loaded securely. The tool never falls back to Math.random, because that is not secure.