Skip to content
Tejo Tools
Menu
Developer toolsProcessed on your device

UUID generator

Make random v4 or time-ordered v7 UUIDs, up to 1,000 at a time. Everything is made on your device.

Version
Generated values

Your values will appear here.

What it does

The UUID generator makes universally unique identifiers in the standard 8-4-4-4-12 format, such as 919108f7-52d1-4320-9bac-f847db4148a8, to use as database keys, request IDs or test data:

The page opens with a fresh batch: five v4 UUIDs on your first visit, then your last choices. Change an option and a new batch appears straight away.

How to use it

  1. Choose v4 random or v7 time-ordered.
  2. Set How many, from 1 to 1,000.
  3. Turn on Uppercase for capital letters, the way Windows shows GUIDs.
  4. Select Copy all for every UUID, one per line, or Copy next to a single one.
  5. Select Regenerate, or press Ctrl+Enter (⌘+Enter on a Mac), for a new batch with the same options.

The generator remembers your choices on this device, so they’re there the next time you open the page.

How it works

A UUID is 128 bits, written as 32 hexadecimal digits in groups of 8, 4, 4, 4 and 12. The standard, RFC 9562 from 2024, which replaced RFC 4122, sets the version digit of every UUID and limits the variant digit: the first digit of the third group is the version, 4 or 7, and the first digit of the fourth group is 8, 9, a or b, the variant bits that mark the standard’s layout.

Good to know

Privacy

Everything is made in your browser, on your device. The UUIDs aren’t uploaded or stored. Only your choices for the version, how many and Uppercase are kept, in this browser’s storage, so the page can show them again.

Frequently asked questions

What is the difference between UUID v4 and v7?

A version 4 UUID is 122 random bits, so it says nothing about when or where it was made. A version 7 UUID starts with the time it was made, in milliseconds since 1970, followed by a counter and 62 random bits, so v7 UUIDs sort in the order they were made. That suits database keys: new rows go at the end of the index instead of anywhere in it. The trade-off is that anyone who sees a v7 UUID can read when it was made.

Is a GUID the same as a UUID?

Yes. GUID, short for globally unique identifier, is Microsoft's name for the same 128-bit format. Windows often shows GUIDs in uppercase inside braces, such as {919108F7-52D1-4320-9BAC-F847DB4148A8}. Turn on Uppercase to match, and add the braces if your system expects them.

Can two UUIDs ever be the same?

In theory, yes; in practice, the chance is tiny. A v4 UUID has 122 random bits, so there are about 5.3 × 10³⁶ possible values: making a billion every second, it would take about 86 years for the chance of a single repeat to reach 50%. A v7 UUID can only match one made in the same millisecond, and then its counter and 62 random bits must match as well. The UUIDs in one v7 batch never repeat each other, because each one counts up from the last.

Are the UUIDs sent anywhere or stored?

No. They're made in your browser with its cryptographic random number generator, crypto.getRandomValues, and nothing is sent to a server. The UUIDs aren't stored either: only your choices for the version, how many and Uppercase are kept on this device, so the page opens with them next time.