Pick UUID v4 for fully random identifiers or UUID v7 for time-ordered IDs that sort chronologically — ideal for database primary keys. This tool uses crypto.getRandomValues (Web Crypto API), so the output is cryptographically secure.
10 V4 UUIDs
5486eac7-83b6-4053-b123-4e8d753e8826 e96d5e99-87bc-4807-863f-3df3cad872c7 1b472844-4189-4580-93a1-f9ab58fcb145 902c3290-f801-4b7b-af9f-c1b667ab8570 6a3870b6-81e2-40e9-890b-081fdf0f80fb 04a44406-e7e6-4a6d-8f10-c7e18b2fcc65 1ba9793a-dc64-477b-bc88-de7043b4d838 1812477d-d389-46e2-a51a-90e34d78e744 9d3393ed-1811-4652-b843-ffc9f08fdbea eadacae8-69d4-4854-bc47-7abed725f3f4
// faq
Frequently asked questions
- What is a UUID?
- A Universally Unique Identifier is a 128-bit value formatted as 32 hexadecimal digits in five groups (8-4-4-4-12). UUIDs are designed to be globally unique without a central authority.
- What is the difference between UUID v4 and UUID v7?
- v4 is fully random. v7 embeds a Unix millisecond timestamp in the first 48 bits followed by random data, so v7 UUIDs sort chronologically — ideal for database primary keys because they preserve insertion order and improve B-tree locality.
- Should I use UUIDs as database primary keys?
- Yes for distributed systems, offline sync, and public APIs where you don't want to expose sequential IDs. Prefer UUID v7 (or ULID) over v4 for indexed columns to avoid write amplification from random inserts.
- Are the UUIDs generated here cryptographically random?
- Yes. This tool uses the browser's crypto.getRandomValues (Web Crypto API), which is a cryptographically secure random source. Nothing is sent to a server.
- How likely is a UUID collision?
- For v4, the collision probability is negligible: you'd need to generate roughly 1 billion UUIDs per second for 85 years to have a 50% chance of a single collision. Safe for any practical workload.
// related

