UUID generator (v4)
Set how many UUIDs you need, pick the format and press Generate. Each one is a random version 4 UUID created on your device with the browser's secure random generator, ready to copy into code, a database or a config file.
Result
How to use this tool
- Enter how many UUIDs you need, from 1 to 100.
- Choose the format: uppercase letters, hyphens on or off, and optional curly braces for GUID-style strings.
- Press Generate UUIDs. Every press creates a fresh list.
- Copy the list. Each UUID is on its own line, ready to paste into code, SQL or a spreadsheet.
Good to know
- Version 4 UUIDs have 122 random bits; the version digit (4) and the variant digit (8, 9, a or b) are fixed.
- Random UUIDs do not sort by creation time. If you need time-ordered keys, use a version 7 UUID instead.
- Everything is generated in your browser and never uploaded.
Frequently asked questions
What is a version 4 UUID?
A UUID is a 128-bit identifier written as 32 hex digits in an 8-4-4-4-12 pattern. In version 4, 122 of those bits are random and the other six are fixed: the first digit of the third group is always 4 (the version) and the first digit of the fourth group is 8, 9, a or b (the variant). That is how any system can recognise one.
Can two generated UUIDs be the same?
In practice no. With 122 random bits there are about 5.3 × 10^36 possible values, so even after generating a billion UUIDs the chance of any repeat is around one in ten quintillion. Collisions only become realistic when the random generator is broken, which is why this tool uses the browser's secure generator rather than a simple pseudo-random function.
What is the difference between a UUID and a GUID?
They are the same 128-bit format. GUID is the name Microsoft uses, and .NET and SQL Server often show GUIDs in uppercase or inside curly braces. Tick Uppercase and Braces to match that style, or turn off Hyphens for the compact 32-character form that some databases and file names prefer.
Can I use these UUIDs as database keys or tokens?
They work well as unique identifiers and primary keys. Random v4 values do not sort by creation time, which can fragment some database indexes, so consider time-ordered UUIDs (version 7) there. A UUID is an identifier, not a secret, so do not rely on one alone as a password or API key; use a password generator for that.
Are my UUIDs sent anywhere?
No. The UUIDs are generated in your browser with crypto.getRandomValues, and nothing is uploaded, logged or stored on a server. Your input never leaves your device. Pressing Generate again produces a completely new set, so you can safely create identifiers for real projects.
Results are estimates for general information. Double-check anything important with an official source.