UUID Generator
Generate random UUID v4 and time-ordered UUID v7 (GUID) values in bulk. Free, secure and private: runs in your browser.
What is a UUID?
A UUID (Universally Unique Identifier), also called a GUID, is a 128-bit identifier written as 32 hex digits in five groups, such as 550e8400-e29b-41d4-a716-446655440000. UUIDs can be created anywhere without a central server, and the chance of two random UUIDs colliding is negligible.
UUID v4 vs UUID v7
- UUID v4 has 122 random bits. It is the most common choice for IDs, tokens and keys.
- UUID v7 (RFC 9562) starts with a 48-bit Unix millisecond timestamp, so IDs sort by creation time. That keeps database B-tree indexes compact and fast, which makes v7 a strong choice for primary keys.
This generator uses the browser's cryptographically secure crypto.getRandomValues(). UUIDs are generated locally and never sent anywhere.
Frequently asked questions
Are UUIDs really unique?
In practice, yes. You would need to generate about 2.7 quintillion v4 UUIDs to have a 50% chance of one collision.
Is a GUID the same as a UUID?
Yes. GUID is Microsoft's name for the same 128-bit identifier format.
Can I use UUIDs as database primary keys?
Yes. Prefer UUID v7 for primary keys, because time-ordered values cause far fewer index page splits than random v4 values.