UUID Generator
Generate a UUID locally with your browser crypto API.
Press Generate UUID
Generate a UUID locally with your browser crypto API.
Press Generate UUID
A UUID is a 128-bit identifier written as 32 hexadecimal digits in five groups, such as 3b241101-e2bb-4255-8caf-4136c566a962. The point of a UUID is that you can create one anywhere, without asking a central database for the next number, and still be extremely unlikely to ever produce the same value twice. That property is why UUIDs are common as database keys, file names, session labels, and identifiers shared between separate systems.
This page calls the browser function crypto.randomUUID. It returns a version 4 UUID, which means all but six fixed bits (the version and variant markers) come from the browser's cryptographically secure random number generator. It is not based on a timestamp, a network card address or a name, so it reveals nothing about when or where it was made. Because the value is random, two people generating IDs at the same moment will not see any pattern or relationship between them.
Click Generate UUID and a new value replaces the previous one in the box. Each click gives one identifier. The result is shown in lowercase with hyphens, the standard text form, and the Copy result button places it on your clipboard. It is a quick way to get a throwaway ID for a test fixture or a placeholder primary key. Each click of Generate UUID always creates a brand new random value; it never repeats the previous one.
Fixtures, mock API responses and sample database rows often need unique identifiers. Generate a few, paste them into your JSON or SQL file, and you have values that will not clash with real records. Generate a fresh ID per row if uniqueness matters.
Some configuration files, feature flags, device registrations and manifest entries require an ID you invent yourself. A version 4 UUID is a reasonable choice because no coordination with other people is needed. Keep a note of which ID you assigned to which entry.
When you want to tag a single request or job so you can find it across several log files, a fresh UUID makes a convenient label that is easy to search for and unlikely to match anything else. Use one per request so entries do not blur together.
If you are writing a regular expression or a validation rule for UUIDs, a genuine example is useful input. Version 4 values always have a 4 at the start of the third group and 8, 9, a or b at the start of the fourth.
The identifier is created locally by your browser's own crypto.randomUUID function. Nothing you generate is sent to a server or stored by this page.
Version 4, the random kind. The browser's crypto.randomUUID function fills 122 of the 128 bits with cryptographically secure random data and sets the other six to mark it as version 4 with the standard variant. The version digit is always 4 in the first position of the third group.
In theory yes, in practice no. With 122 random bits, the chance of a collision is so small that you would need to create an enormous number of IDs before it became a realistic concern. Duplicates in real systems nearly always come from copying, not from chance.
For practical purposes, yes. GUID is the name Microsoft uses for the same 128-bit format. Some tools display GUIDs in uppercase or inside braces, but the underlying value follows the same layout and can be converted freely. If a system requires a particular case, convert it in your code.
The source is cryptographically secure, but the format is not ideal for secrets. Six bits are fixed and the length is set, and many people treat UUIDs as non-secret. Use a purpose-built secret or token generator for credentials. Use a dedicated token generator or password manager for that purpose.
Those characters encode the variant field defined by the UUID standard. Together with the 4 that begins the third group, they show that the value is a version 4 UUID in the standard layout. Seeing something else in that spot means the value is not a standard version 4 UUID.
Not on this page. It creates one per click and shows only the latest. If you need a batch, copy each one as you go, or run crypto.randomUUID in a loop in your browser console or in Node.js. Either way, each value comes from the same secure source.