UUID / GUID Generator
Generate unique UUID and GUID identifiers. Choose the version, count, format, and copy them instantly.
How the UUID Generator Works
A UUID (Universally Unique Identifier) is a 128-bit identifier defined by RFC 9562. Version 4 (v4) uses random data. Version 7 (v7) combines a Unix timestamp in milliseconds with random bits, making it better suited for time-ordered identifiers. The entire process runs in your browser.
Where It Helps
-
Primary keys in databases
-
API request and transaction identifiers
-
Unique file and resource names
-
Correlation IDs for logs and diagnostics
-
Software testing and development
Which UUID version to choose
For most cases, UUID v4 is enough. If you store identifiers in a database or frequently sort them by creation time, UUID v7 can be the more practical choice.
| Version | Best for | Note |
|---|---|---|
| UUID v4 | Public IDs, file names, test data, and general random identifiers | The most familiar and widely supported option. |
| UUID v7 | Database rows, logs, events, and correlation IDs | Sorts more naturally by creation time. |
Format, hyphens, and letter case
The common UUID form has 36 characters including hyphens. Without hyphens, it has 32 hexadecimal characters. Lowercase and uppercase represent the same value; the choice mostly depends on the system where you paste the UUID.
018f6f5a-6c2b-7a1e-9f2d-0b4c8e7a9123
018f6f5a6c2b7a1e9f2d0b4c8e7a9123
A UUID is not a secret token
A UUID is an identifier, not a security mechanism. It may be hard to guess, but it should not replace passwords, access tokens, or authorization checks.
- Use it as an ID for a record, file, event, or request.
- Do not rely on it as the only protection for access.
- If the UUID appears in a URL, treat it as a public identifier.