A UUID is a 128-bit identifier written as 32 hexadecimal digits, like 3f2b8c1e-9a47-4d0b-8e65-1c7a2f9d4b10. Developers use them as database keys, request IDs, file names and anywhere a unique label is needed without asking a central server for the next number. This generator creates one or many at once, in the format your project expects. It is also handy for filling test data, seeding a spreadsheet of unique rows or grabbing a quick ID for a config file.
How to generate UUIDs
- Choose the version: v4 for fully random identifiers, or v7 for identifiers that start with a timestamp and so sort in creation order.
- Enter how many you need. A single one is fine for a config file; a few hundred will do for test data.
- Pick the output format that matches where you will paste them: lowercase or uppercase, with or without hyphens, and with or without braces.
- Generate, then check the first few to confirm the format is what you wanted.
- Copy the list. Each UUID is on its own line, so it pastes cleanly into a spreadsheet column or a code array.
Options explained
- Version 4: The familiar random UUID. Apart from a few fixed bits that mark the version and variant, all digits come from the browser's cryptographic random generator. The chance of two matching is negligible for any real project.
- Version 7: Starts with the current time in milliseconds and fills the rest with random bits. Because the time comes first, newer IDs sort after older ones. This helps database indexes, which prefer to append to the end rather than insert at random spots.
- Count: How many identifiers to produce in one go, one per line.
- Uppercase or lowercase: Both mean exactly the same value. Lowercase is the usual convention and what most libraries output; some Windows tools and older systems display uppercase.
- Hyphens: The standard layout has hyphens in an 8-4-4-4-12 pattern. Removing them gives a compact 32-character string, handy for file names or when a system rejects hyphens.
- Braces: Wrapping the value in curly braces is the style used in Microsoft environments such as registry entries and .NET GUID displays.
Tips and common problems
Which version should you choose? If you do not care about ordering, v4 is the safest and most widely supported. If the IDs become primary keys in a large table, v7 can reduce index fragmentation. Check that your database or library accepts v7 before relying on it.
v7 reveals creation time: The first part encodes when the ID was generated, so if you expose the ID publicly, you are also exposing roughly when the record was created. For IDs where that matters, use v4.
UUIDs are identifiers, not secrets: Do not use one as a password or access token just because it looks random in a link. Version 4 is random enough in practice, but a purpose-made token is better, and the Password generator creates proper secrets.
Case and hyphens when comparing: Two strings that differ only in case or hyphens are the same UUID. Normalise before comparing in code, or you will get false mismatches.
Collisions are not a practical worry: With random generation, the probability of an accidental duplicate is so small that systems around the world rely on it. Duplicates in your data almost always come from copy and paste, not from the generator.
Need a fingerprint of content instead? A UUID is random and unrelated to any file or text. To produce a value derived from content, use the Hash generator.
Your files stay on your device
All UUIDs are produced in your browser using its secure random generator, and nothing is sent to a server or stored. The identifiers you copy exist only on your device unless you share them yourself. No extra data is downloaded. See How it works for the overall approach.
Frequently asked questions
Is a UUID the same as a GUID?
In practice yes. GUID is the name Microsoft uses for the same 128-bit identifier format, often shown in uppercase with braces.
Are the UUIDs truly unique?
They are random enough that duplicates are not a practical concern, but uniqueness is a probability, not a guarantee. Databases usually enforce it with a unique constraint anyway.
Can I generate thousands at once?
Yes, large batches generate quickly on a normal device. Very large counts depend on your browser, and the page can feel slow when displaying a huge list.
What does the 4 in the middle mean?
In a version 4 UUID, the first digit of the third group is always 4, marking the version. In a version 7 UUID that digit is 7.
Are v7 UUIDs strictly ordered?
They sort by creation time at millisecond resolution. IDs created in the same millisecond are ordered by their random part, so strict ordering within a millisecond is not promised.
Can I use these for security tokens?
Better not. Use a dedicated random token or password for authentication. A UUID is meant to identify things, not to prove who someone is.