UUID generator
Test data only
Generate RFC 4122 compliant UUID v4 (random) and v1 (time-based) identifiers. Bulk generate up to 1000 at once. Copy to clipboard or download as a CSV file.
Generated UUIDs
What this UUID generator does
The generator creates RFC 4122 UUIDs, which are 128-bit identifiers written as 36 characters in five groups separated by hyphens. You can generate version 4 (random) or version 1 (time-based), in batches of up to 1000, and copy them or download them as a CSV.
How to use it
- Choose the UUID version.
- Choose how many UUIDs to generate.
- Click Generate, then copy the list or download the CSV.
UUID version 4 and version 1
- Version 4 fills almost all of its 128 bits with random values. The version and variant bits are fixed. It is the most common choice for IDs in application data, because it needs no coordination and reveals nothing about when or where it was made.
- Version 1 combines a timestamp with a node identifier. The timestamp part makes version 1 values sortable by time, but the node part can expose the machine's network address. Use version 4 when that matters.
Collisions between random version 4 values are so unlikely that most systems treat them as unique without checking. For database primary keys, consider whether time-ordered identifiers would suit your indexes better; this tool does not generate those.
Common uses and limits
- Seeding database tables and fixtures with unique keys.
- Testing API request and response handling with realistic identifiers.
- Creating sample records for demos and documentation.
A UUID proves nothing about the person or device behind it. Generated values are not tied to any account or record. Do not use them as passwords, session secrets or security tokens; use a cryptographic random source for those.
For related generators, see the password generator for secrets and the IMEI generator for device identifiers.
What is a UUID?
A UUID (Universally Unique Identifier), also known as a GUID (Globally Unique Identifier), is a 128-bit label used to uniquely identify information in computer systems. The format is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, where each x is a hexadecimal digit.
UUID v4 vs UUID v1
UUID v4 is generated using random numbers. It is the most commonly used version for generating database primary keys, session tokens, and API identifiers because it has no correlation to time or machine identity — making it impossible to guess or enumerate.
UUID v1 is generated using the current timestamp combined with a MAC address or random node identifier. It encodes time, which means UUIDs from the same machine in quick succession are related — useful for time-ordered record keeping but potentially a privacy concern if MAC addresses are exposed.
Common uses
- Database primary keys — replacing auto-increment integers for distributed systems
- API request IDs and correlation identifiers for distributed tracing
- Session tokens and temporary identifiers
- File naming to avoid collisions in shared storage
- Idempotency keys for payment and messaging APIs