UUID Generator
Create random UUIDs for databases, files and tests. Version 4 is fully random, and version 7 starts with the time so it sorts in order.
The values are created in your browser with its secure random number generator. Nothing is sent anywhere.
How to generate a UUID
- Choose version 4 or version 7.
- Type how many you need, up to 1000.
- Pick the format: uppercase, without hyphens or in braces.
- Press Generate and copy the list or download it.
What is a UUID?
A UUID (universally unique identifier) is a 128-bit number written as 32 hexadecimal digits in five groups, for example 123e4567-e89b-42d3-a456-426614174000. It is used as a name or key for a record, a file or a session, and it can be created anywhere without asking a central server, because the chance of two random UUIDs being the same is tiny enough to ignore in normal work.
Version 4 or version 7?
- Version 4 is made almost entirely of random bits. It is the most common type and the best choice when you only need a unique value.
- Version 7 begins with the current time in milliseconds, then random bits. New values are larger than older ones, so database indexes stay in order and records sort by creation time. The first part reveals when the value was made, so avoid it where that should stay private.
Good to know
- UUIDs are identifiers, not secrets. Do not use one as a password or a security token. For passwords use the Password Generator.
- The braces format is used by some Microsoft tools, and the no-hyphen format by some databases and file names.
- If you need a checksum of text or a file, use the Hash Generator.
Questions about UUIDs
Can two UUIDs be the same? In theory yes, in practice no. With version 4 you would need to create billions every second for many years to have a real chance.
Are these values safe to use in my system? They use the secure random generator of your browser, so they are suitable as identifiers. Check your own system's rules if it needs a certain version.
Is anything stored or sent? No. Everything is created on your device.