UUID Generator

UUID Generator — Random version-4 UUIDs for ids, keys and test data — up to 10 at Free to use online, no sign-up; runs 100% in your browser on ScopeTreasure.

In short: Random version-4 UUIDs for ids, keys and test data — up to 10 at once. Free to use in your browser — no sign-up.

What is UUID Generator?

UUID Generator makes random version-4 UUIDs — the 36-character ids used for database rows, API keys and file names. Pick how many you need and copy them all.

How to use this tool

  1. Move the slider to pick how many UUIDs you need, from 1 to 10.
  2. Press Generate UUIDs.
  3. Press Copy all to use them, or copy one with its own button.
  4. Press Generate again for a fresh set.
  5. Paste a UUID wherever a unique id is needed — a database row, a file name or a test.

About this tool

A UUID is a 128-bit unique id written as 32 hex digits in five groups: 8-4-4-4-12, like 550e8400-e29b-41d4-a716-446655440000. Version 4 means the id is random: 122 of the 128 bits come from a random generator, and the version digit is always 4 while the variant digit is 8, 9, a or b. Two version-4 UUIDs are practically never the same — you would need to make about a billion billion before a clash became likely.

Programs use UUIDs wherever a unique name is needed without a central counter: database rows, uploaded files, API keys, session tokens and test data. Because they are random, two computers can make ids at the same time without asking each other, and the ids still never clash. That is why UUIDs appear in almost every app and database.

This tool makes version-4 UUIDs with your device’s cryptographic random generator — crypto.getRandomValues — not the weaker Math.random. Each UUID is a fresh random draw, so the set has no pattern and no repeats.

A UUID is not a secret and not a password. It is a unique label. Do not use one as the only protection for something private — pair it with a real password or a proper key. The tool makes ids only; it does not check whether an id already exists in your database.

Everything runs on your device: the UUIDs are made locally and never sent anywhere. Generate as many as you need.

Example — test data and file names:

A developer needs 5 unique ids for test users. She sets the count to 5, presses Generate and copies all five — each one is a fresh 36-character id, ready to paste into her test data.

A student uploads files that must not overwrite each other. He generates one UUID and uses it as the file name — no two uploads can share the same name.

Frequently asked questions

How do I generate a UUID?
Pick how many you need with the slider and press Generate UUIDs. Press Copy all to use them.
What is a version-4 UUID?
A random UUID: 122 of its 128 bits are random, the version digit is always 4 and the variant digit is 8, 9, a or b.
Can two UUIDs be the same?
Practically never. You would need to make about a billion billion before a clash became likely.
What are UUIDs used for?
Unique ids for database rows, uploaded files, API keys, session tokens and test data — anywhere a name must never repeat.
Is a UUID a password?
No. It is a unique label, not a secret. Do not use one as the only protection for something private.
How many UUIDs can I make at once?
Up to 10 per click. Press Generate again for more.
Are the UUIDs private?
Yes. They are made in your own browser and never leave your device.
What do the letters and dashes mean?
The 32 hex digits (0–9, a–f) are grouped 8-4-4-4-12 with dashes. The 13th digit is always 4, marking version 4.

Related Text & Utilities tools