UUID Generator
Generate unique IDs for databases, test data and code. Version 4 is fully random; version 7 starts with the time, so new IDs sort in order and index well.
What is the UUID Generator?
The UUID Generator creates universally unique identifiers in bulk. Version 4 UUIDs are fully random; version 7 UUIDs start with the time, so new ones sort after old ones, which suits database keys. Generate up to 500 at once in lowercase or uppercase, with or without hyphens or braces. Developers, database administrators and testers use it for primary keys, test data and request IDs.
Who it is for: Developers, database admins and testers who need unique IDs.
How to use the UUID Generator
- Choose version 4 or version 7.
- Set how many you need and pick a format.
- Copy them all, or press Generate new for a fresh set.
Why use it
- v4 and v7Random IDs or time-ordered IDs for databases.
- BulkUp to 500 at once, one per line, ready to copy.
- Formats you needUppercase, no hyphens or braces for different systems.
- Secure randomnessMade with your browser’s cryptographic generator.
At a glance
- What you put in
- Version, quantity and format
- What you get
- Version 4 or 7 UUIDs, one per line
- Limits
- Up to 500 per press
- Privacy
- Runs in your browser. Nothing you enter is uploaded or stored.
- Price
- Free for everyone. No subscriptions, no payments, no watermark.
- Works offline
- Yes, once the page has loaded
- Last checked
- by AK Shine
Worked example
Version 4, 1 UUID
3f2b8c1e-9d4a-4e7b-a1c6-5b0e2d9f7a13
The 4 at the start of the third group marks version 4.
When to use something else
- For short IDs that people read aloud or type, such as order numbers, a UUID is too long. Use a shorter random code with a check digit.
Questions people ask
Can two UUIDs ever be the same?
In practice, no. A version 4 UUID has 122 random bits, so you would need billions of them every second for many years to expect a single repeat.
Should I use v4 or v7?
Use v7 for database keys, because IDs made later sort later, which usually keeps inserts into an index efficient. Use v4 when the ID should reveal nothing about when it was made.
Are these generated securely?
Yes. They come from your browser’s cryptographic random generator, and they are never sent anywhere.
What is the difference between a UUID and a GUID?
None in practice. GUID is Microsoft’s name for the same 128-bit format.
Is a UUID secret?
No. A UUID is unique, not secret. Don’t use one as a password or a private access link.
Does a version 7 UUID show when it was made?
Yes. The first 48 bits hold the time in milliseconds, so anyone can work out roughly when it was created. Use version 4 if that should stay hidden.