UUID Generator

Create random version 4 UUIDs for database keys, API requests, test data and file names. Generate 1 to 100 at a time, switch to uppercase or remove the hyphens, and copy one UUID or the whole list. The IDs are made in your browser with the Web Crypto API, so nothing is sent to a server.

Loading…

Your files never leave your device. All processing happens on your device. No uploads, ever.

How to use UUID Generator

  1. 1

    Set the quantity

    Enter how many UUIDs you need, from 1 to 100.

  2. 2

    Choose the format

    Tick Uppercase for capital letters or Remove Hyphens for a 32-character string.

  3. 3

    Make a new batch

    Click Generate New UUIDs to replace the list with a fresh set of version 4 UUIDs.

  4. 4

    Copy the results

    Use the copy button next to a single UUID, or Copy All UUIDs for the full list.

What a UUID looks like

A UUID (universally unique identifier) is a 128-bit value written as 32 hexadecimal characters in five groups: 8-4-4-4-12, for example 3f2b8c1e-7a4d-4e9b-9c21-5d6e7f8a9b0c. That is 36 characters with hyphens, or 32 without. In a version 4 UUID, the first character of the third group is always 4, and the first character of the fourth group is 8, 9, a or b. The other 122 bits are random. Microsoft software calls the same thing a GUID.

How this generator works

This tool makes version 4 (random) UUIDs only. It calls crypto.randomUUID, the built-in UUID function in modern browsers, which uses the same secure random source as other browser security features. On older browsers without that function, it builds the UUID from crypto.getRandomValues and sets the version and variant bits itself. Each time you change the quantity or format, or click Generate New UUIDs, you get a new set. Nothing is stored, so copy the IDs you want to keep.

Can two UUIDs ever be the same?

In theory yes, in practice almost never. A version 4 UUID has 122 random bits, giving about 5.3 × 10^36 possible values. You would need to generate roughly 2.7 × 10^18 UUIDs before there is even a 50% chance of a single repeat. That is why systems can create IDs on many machines at once without checking a central list first. The guarantee depends on a good random source, which is why this tool uses the browser's cryptographic one.

Uppercase and no-hyphen formats

UUIDs are not case-sensitive, and the standard (RFC 9562, which replaced RFC 4122) recommends lowercase output. Some tools and older Windows software show GUIDs in uppercase, so tick Uppercase if your system expects it. Tick Remove Hyphens to get a compact 32-character string, which is handy for file names, URL slugs or columns with a fixed length. If your database has a native UUID type, keep the standard hyphenated form so it is parsed correctly.

Common uses

Developers use UUIDs as primary keys when rows are created on several servers or offline devices, as request or trace IDs in logs, as idempotency keys for payment and order APIs, and as unique names for uploaded files. Testers use bulk UUIDs to fill sample data. A UUID is unique, but it is not meant to be a password or secret token. For anything a person should not be able to guess, use the Password Generator instead.

Examples

Standard UUID v4

Input
Quantity 1 · default format
Output
3f2b8c1e-7a4d-4e9b-9c21-5d6e7f8a9b0c

Uppercase, no hyphens

Input
Quantity 1 · Uppercase on · Remove Hyphens on
Output
3F2B8C1E7A4D4E9B9C215D6E7F8A9B0C (32 characters)

Bulk list for test data

Input
Quantity 100 · Copy All UUIDs
Output
100 UUIDs copied, one per line

Frequently asked questions

Which UUID version does this tool generate?

Version 4 only. Version 4 UUIDs are built from random numbers, with fixed bits marking the version (the 4 at the start of the third group) and the variant.

Is a UUID the same as a GUID?

Yes. GUID (globally unique identifier) is the name Microsoft uses for the same 128-bit format. A UUID from this tool works anywhere a GUID is expected.

Are the UUIDs really unique?

They are random, not checked against a list, but with 122 random bits a repeat is extremely unlikely. You would need around 2.7 × 10^18 UUIDs for a 50% chance of one duplicate.

How many UUIDs can I generate at once?

From 1 to 100 per batch. Click Copy All UUIDs to copy the list with one UUID per line, or Generate New UUIDs for a new batch.

Should I use uppercase or lowercase UUIDs?

UUIDs are case-insensitive, and lowercase is the standard output. Use uppercase only if a system or style guide asks for it.

Are generated UUIDs stored anywhere?

No. They are created in your browser and are not uploaded or saved. Refreshing the page gives a new set.

Category: Utilities

Related tools

Last updated 11 November 2026