Online UUID (GUID) v4 generator
Set the amount and generate version 4 UUIDs ready for databases, APIs and keys. Identifiers are generated locally using the browser's secure cryptography.
What it is for
The UUID generator creates unique identifiers in the UUID version 4 format, with random digits. Generate one or several at once and copy them to use wherever you need an identifier.
A v4 UUID has 36 characters in the 8-4-4-4-12 pattern and is generated from random bits, which makes each value virtually unique without needing a central server to coordinate them.
When to use
- Create primary keys and identifiers in a database.
- Name files, resources or records uniquely.
- Generate test values and seeds for development.
- Identify entities in distributed systems without central coordination.
Random, not sequential
- The v4 UUID is fully random, it carries no date or creation order.
- The chance of two generations colliding is negligible, but not mathematically zero.
- Because it is random, it does not sort chronologically, keep that in mind when using it as an indexed key.
- For most uses, the practical uniqueness of v4 is more than enough.
How it is generated
Generation uses the browser's cryptographic random number generator, which ensures good entropy. Everything happens locally, with nothing sent to servers.
Frequently asked questions
- Can two UUIDs be the same?
- In practice, no. The collision chance of a v4 UUID is negligible, although not mathematically zero. For common use, you can treat them as unique.
- Does a v4 UUID store the creation date?
- No. The v4 is random and carries no timestamp or order. If you need to sort by creation, use another field, such as a date.
- Does generation depend on a server?
- No. UUIDs are generated in your browser with the local cryptographic generator, without any external call.