UUID Generator
Generate one or many RFC 4122 compliant UUID v4 identifiers — ready to use as database primary keys, API tokens, or unique object IDs.
- Free
- No signup
- Private
Overview
Generate one or many RFC 4122 compliant UUID v4 identifiers — ready to use as database primary keys, API tokens, or unique object IDs.
Benefits
- RFC 4122 compliant UUID v4 output
- Generate single or bulk batches
- Instant, browser-based generation
- Free with no daily limits
Use Cases
- Generating database primary keys
- Creating unique IDs for test data
- Tagging objects in distributed systems
- Producing sample IDs for API documentation
Users Also Use
How to Use
- Choose how many UUIDs you want to generate.
- Click Generate.
- Copy individual UUIDs or the full list.
What is a UUID?
A UUID (universally unique identifier), also called a GUID in Microsoft tools, is a 128-bit value used to identify records, files, devices or requests without a central system handing out numbers. It is written as 32 hexadecimal characters in five groups separated by hyphens, in an 8-4-4-4-12 pattern, for example 3f6c2a9e-8b1d-4c7f-9a2e-5d0b6e1f4a73.
Which version does this tool create?
This generator creates version 4 UUIDs using your browser's built-in crypto.randomUUID() function, which draws from a cryptographically secure random source. In a version 4 UUID, 122 of the 128 bits are random. The first character of the third group is always 4 (the version), and the first character of the fourth group is always 8, 9, a or b (the variant). You can create from 1 to 50 UUIDs at a time, one per line.
How unique are random UUIDs?
With 122 random bits there are about 5.3 × 10^36 possible values. You would need to generate roughly 2.7 quintillion (2.7 × 10^18) UUIDs before the chance of a single duplicate reached 50 percent. In practice, a correctly generated version 4 UUID can be treated as unique.
When to use UUID v4, and when not to
- Good for: database primary keys created on many servers, public IDs in URLs that should not reveal how many records exist, file names, request and trace IDs, and idempotency keys.
- Consider UUID v7 instead when IDs are used as database index keys and you want them to sort by creation time. Random v4 values spread inserts across the index, which can slow down very large tables. Our UUID v7 Generator creates time-ordered IDs.
- Do not use a UUID as a password, API secret or session token on its own. Use a dedicated secret generator with at least 128 bits of randomness instead.
Privacy
UUIDs are generated in your browser and are not sent to or stored on our server.
FAQ
- What UUID version does this generate?
- It generates version 4 UUIDs, which are randomly generated and RFC 4122 compliant, the most common choice for general-purpose unique IDs.
- Can two generated UUIDs collide?
- The probability of a collision is astronomically small, which is why UUID v4 is trusted for database keys and distributed systems.
- Can I generate multiple UUIDs at once?
- Yes. Set the count you need and generate a batch in one click, ready to copy as a list.
- What is the difference between a UUID and a GUID?
- They are the same format. GUID is the name Microsoft uses; UUID is the name in the RFC 9562 standard.
- Can two generated UUIDs ever be the same?
- It is theoretically possible but so unlikely that it can be ignored in practice, as long as a secure random source is used, as it is here.
- Are the UUIDs uppercase or lowercase?
- Lowercase, which is the form the standard recommends. UUIDs are not case-sensitive, so you can convert them to uppercase if your system expects it.
- How many UUIDs can I generate at once?
- Up to 50 per click. Click Generate UUIDs again for more.