Choose an identifier for your data model
Generate identifiers for fixtures, records, or event examples without making up a numbering scheme. Version 4 is random, version 7 puts a Unix timestamp first for time-oriented ordering, and version 1 uses a timestamp-based layout. Pick the version your consuming system supports.
How to use UUID Generator
- Choose v1, v4, or v7.
- Choose a quantity from 1 to 100 and click Generate.
- Copy an individual UUID or the whole batch.
- Use Download to save the generated batch as a text file.
Practical examples
Recognize a version 4 identifier
Input or settings
Version: v4
Quantity: 1Expected result
Example shape: 550e8400-e29b-41d4-a716-446655440000Your generated value will differ. The 4 at the start of the third group identifies the version.
Prepare a batch of event IDs
Input or settings
Version: v7
Quantity: 3
Uppercase: offExpected result
Three distinct UUID strings, one per line when copied together or downloaded.The third group begins with 7. Do not expect a fixed sequence or use generated values as timestamps without a UUID-aware parser.
Uniqueness, ordering, and secrecy are different properties
The standard display format has 32 hexadecimal digits in five groups separated by four hyphens. Uppercase only changes the display. A batch can contain 1 to 100 identifiers.
Version 7 supports approximate creation-time ordering, but clocks across devices can differ. Version 1 contains timing information and this library uses a generated node identifier, not a browser-exposed network MAC address.
UUID generation uses the UUID library and browser cryptographic randomness. Keep a uniqueness constraint in your database: low collision probability is not an absolute guarantee. A UUID is an identifier, not an authorization check or a replacement for a session-secret generator.
When this tool helps
- Create distinct IDs for test records.
- Populate request examples that require UUID fields.
- Evaluate v4 versus v7 compatibility before choosing a database key.
Questions about UUID Generator
Which version should I choose by default?
Use v4 when you want a widely supported random identifier and have no ordering requirement. Consider v7 when your storage system and libraries support time-oriented IDs.
Can I recover the record from its UUID?
No. The UUID does not contain your application record. Your database or lookup system must associate the identifier with the data.
Can uppercase UUIDs be used in APIs?
The hexadecimal representation is case-insensitive under the standard, but a particular API may enforce a lowercase string format. Follow that API’s contract.