Generate random v4 or time-ordered v7 UUIDs (GUIDs) - one or a thousand - and validate any UUID.
Last updated:
UUIDs are created on your device with a secure random generator.
| Version | Made from | Sortable by time | Best for |
|---|---|---|---|
| v4 | 122 random bits | No | General IDs, tokens, file names |
| v7 | Unix time in ms + random bits | Yes | Database primary keys (better index performance) |
| v1 | Time + MAC address | Partly | Legacy systems - can leak the device MAC |
| v5 / v3 | Hash of a name | No | Same input always gives the same ID |
| Language | v4 | v7 |
|---|---|---|
| JavaScript (browser / Node 19+) | crypto.randomUUID() | uuid package: v7() |
| Python | str(uuid.uuid4()) | uuid.uuid7() (Python 3.14+) |
| Java | UUID.randomUUID() | library (e.g. java-uuid-generator) |
| C# / .NET | Guid.NewGuid() | Guid.CreateVersion7() (.NET 9+) |
| PostgreSQL | gen_random_uuid() | uuidv7() (PostgreSQL 18+) |
| MySQL | UUID() (v1) | - |
| Linux / Mac | uuidgen | - |
| ID type | Length | Sortable | Notes |
|---|---|---|---|
| Auto-increment | Short | Yes | Easy to guess; needs one database to assign |
| UUID v4 | 36 chars | No | Random, universal support |
| UUID v7 | 36 chars | Yes | Best UUID for primary keys |
| ULID | 26 chars | Yes | Similar idea to v7, Base32 text |
| Snowflake ID | 64-bit number | Yes | Used by X/Twitter and Discord |
| NanoID | 21 chars (default) | No | Short, URL-friendly random IDs |
One is generated as soon as the page opens. Press New for another, or choose How many for bulk.
They are the same 128-bit identifier. GUID is Microsoft's term and is often shown in uppercase with braces.
Use v7 for database primary keys because it sorts by creation time; use v4 for everything else.
Yes. They use your browser's cryptographically secure random generator.
Yes, up to 1,000, and download them as TXT or CSV.
Paste it in Validate / decode. It shows the version, variant and, for v1 and v7, the creation time.
In practice no - the chance is astronomically small.
v4 UUIDs are hard to guess, but for security tokens use a purpose-built random token of 128+ bits from a secure generator.