
A UUID, also called a GUID, is a 128-bit identifier written as 32 hexadecimal digits in five groups, such as 3b241101-e2bb-4255-8caf-4136c566a962. The idea is that systems can create identifiers on their own, without asking a central counter, and still be practically certain that no two are the same. The tool below generates random UUIDs of version 4 with the secure random generator built into your browser. It runs on your device, so nothing is sent anywhere.
UUID generator
Create random version 4 UUIDs. They are made in your browser from its secure random number generator.
What you enter never leaves your browser. Nothing is sent or stored.
How to use the generator
- Press the button to generate one UUID.
- To get several, enter how many you need, up to 100, and generate them as a list with one UUID per line.
- Copy the result.
Each press creates new values. The tool does not remember earlier ones and does not store anything.
What a version 4 UUID is
Of the 128 bits, 6 are fixed to mark the version and the variant, and the other 122 are random. In the written form you can see this: the first digit of the third group is always 4, and the first digit of the fourth group is 8, 9, a or b. With 122 random bits, the chance of two generated UUIDs colliding is negligible for any realistic system.
Common uses
- Primary keys for records that are created in more than one place, such as several services or an app that works offline.
- Identifiers that should not reveal how many records exist, unlike an incrementing number in a URL.
- Request and correlation ids that follow a call through several systems in the logs.
- Test data, file names and temporary tokens during development.
What to watch for
- A UUID is an identifier, not a secret. A random v4 UUID is hard to guess, but do not treat it as a password or an access token. Use a proper token for anything that grants access.
- Random keys and database indexes. Random values spread across an index, which can make inserts slower and indexes larger than with sequential keys in some databases. At small and medium scale this rarely matters. At large scale, consider time-ordered identifiers.
- Storage size. Stored as text, a UUID takes 36 characters. Many databases have a native UUID type that stores 16 bytes.
- Case and format. UUIDs are case-insensitive, and the lowercase form with hyphens is the usual one. Compare them in a consistent form.
- Other versions exist. Version 1 includes a time and a machine value, and versions 3 and 5 derive the UUID from a name. If you need one of those, generate it in code.
When identifiers are a design question
Which identifier a system uses, who creates it and how it moves between services affects data models, integrations and migrations later. If you are designing a product or connecting systems that must agree on identity, see custom software development and system integration.
Frequently asked questions
Does the generator send anything to a server?
No. The UUIDs are created in the page on your device. The tool makes no network request and does not store them.
Can two UUIDs ever be the same?
In theory yes, in practice no. With 122 random bits the probability is so small that it can be ignored for any real application.
Are UUIDs and GUIDs the same?
They are the same format. GUID is the name Microsoft uses, and the two terms are used interchangeably.
Is a UUID safe to use as a password or token?
No. It is designed to be unique, not secret. Use a purpose-built token or the password generator for secrets.
How many can I generate at once?
Up to 100 in one go.
Related services
Where this topic becomes an engagement.
Keep reading
The articles that follow this one.



