A typical UUID v4
550e8400-e29b-41d4-a716-446655440000
Five hex groups separated by hyphens. The 4 in position 13 indicates this is a version 4 (random) UUID.
Generate v1/v4 UUIDs in bulk, copy-ready.
Last updated
fb6f57bd-8c7c-4fb8-a589-ddc01db8d6104c9f7b35-29ec-4d3b-96da-c2086b1aad33078091c4-24fe-4d6c-8a55-073f7ba0d46879ff2c79-f371-41ac-acf5-21263f0724fe21bd8702-6186-4a59-ac88-c0e4ccfde41f73a1233c-b776-4f97-8032-527e7f8b73dd0ed17429-d0e7-4a54-9589-9a687fd630b560df67d8-a8c4-4ab7-bb32-e687f3e159f19316e80e-6d89-4fd4-a421-bee70abc13d0b8490f31-6a43-4117-9cd3-a3263bf95b3bA UUID generator creates Universally Unique Identifiers — 128-bit values that are statistically guaranteed not to collide with any other UUID generated anywhere else. Developers use them as primary keys for database rows, ids for API resources, names for test fixtures, message ids in queues, and identifiers in distributed systems.
UUIDs are useful because every machine can generate one independently and trust that nobody else will produce the same value. There is no central counter, no sequence to coordinate, no round-trip to a server. That makes them practical wherever a system needs to mint ids without asking permission.
*GUID* (Globally Unique Identifier) is Microsoft's name for the same 128-bit identifier. For everyday developer purposes, GUID and UUID mean the same thing — different ecosystems just prefer different names.
Choose v4 for random ids, v7 for time-ordered ids that index well, or v1 for legacy systems that need a timestamp + node id.
Generate a single UUID for a quick id, or generate up to 1,000 at a time when seeding a database or mocking API responses.
Toggle uppercase, hyphens, and braces ({...}) to match the convention your database, code, or platform expects.
Copy a single UUID or the whole list. Everything is generated locally in your browser.
The five widely-used UUID versions and when to reach for each one.
| Version | Source of uniqueness | When to use it |
|---|---|---|
| v1 | Timestamp + MAC address | Legacy systems; can leak the host's MAC |
| v3 | MD5 hash of a name + namespace | Deterministic ids derived from a string |
| v4 | Cryptographic randomness | Default for most apps — use this if unsure |
| v5 | SHA-1 hash of a name + namespace | Like v3 but with a stronger hash |
| v7 | Unix timestamp (ms) + randomness | Database primary keys — sortable by time |
550e8400-e29b-41d4-a716-446655440000
Five hex groups separated by hyphens. The 4 in position 13 indicates this is a version 4 (random) UUID.
{ "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Lesson 1", "createdAt": "2026-04-25T10:00:00Z"}APIs commonly expose UUIDs as strings in JSON. Many databases also support a native UUID column type that stores 16 bytes instead of 36 characters.
550e8400-e29b-41d4-a716-446655440000
550E8400-E29B-41D4-A716-446655440000
{550E8400-E29B-41D4-A716-446655440000}
550e8400e29b41d4a716446655440000
The same 128-bit value, four different surface formats. Pick one and stick with it inside a project — mixing formats causes confusing comparison bugs.
crypto.randomUUID() in browsers and Node.js, uuid.uuid4() in Python, UUID.randomUUID() in Java.