UUID Generator

Generate random UUID v4 identifiers for database keys, test fixtures, and API mocks. Generated locally with your browser's crypto API.


                

About UUID v4

What is a UUID?
A Universally Unique Identifier is a 128-bit value written as 32 hex digits in five groups (8-4-4-4-12). The v4 variant fills 122 bits with random data, making collisions astronomically unlikely - good enough for primary keys, session IDs, and filenames.
Are these safe for security tokens?
Yes. These use crypto.getRandomValues, the browser's cryptographically secure random source. Do not use UUIDs generated by Math.random() anywhere for security purposes.
Should I use v4 or v7?
v4 is random and universally supported. v7 embeds a timestamp and is better for database index locality, but support depends on your stack. For general use, v4 remains the safe default.