How to generate one or multiple UUIDs
- Enter an integer between 1 and 1,000 in the number of creations.
- Select one per line or JSON array.
- Press Generate UUID.
- Select Capitalization if necessary and copy or download the results.
If you click Generate UUID again, a new list will be created. On the other hand, changing only the output format and case will only change the representation of the values you have already created. Changing the count erases the previous results and requires them to be regenerated. Save the values you need before refreshing or leaving the page.
Download one per line as .txt and JSON array as .json file. The JSON output is an array of UUIDs wrapped as strings. When using it for database imports or API requests, check separately whether the target system requires an array or an object with a specific key.
UUID v4 format and letter case
A UUID is a 128-bit value. Its usual text form has 32 hexadecimal digits in groups of 8-4-4-4-12, separated by four hyphens, for 36 characters total. In v4, the third group starts with 4 and the fourth starts with 8, 9, a, or b.
xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
x: 0–9, a–f
y: 8, 9, a, bThe pattern above is a structural placeholder, not an ID to use. Uppercase and lowercase letters represent the same hexadecimal value. Plain string comparisons may distinguish them, so use consistent storage and comparison rules. This tool does not offer a format without hyphens, braces around the ID, or a URN prefix.
The JavaScript below was run with a synthetic UUID written for this example. Although a and b represent the same UUID in lowercase and uppercase, the plain string comparison a === b is false. Comparing both in lowercase returns true. This demonstrates comparison for this format; it does not validate arbitrary input as a UUID. Check your database’s UUID type and comparison rules and the format required by your API. Apply the same rule to IDs referenced by other tables.
const a = "abcdef01-2345-4678-9abc-def012345678";
const b = a.toUpperCase();
console.log(a === b); // false
console.log(a.toLowerCase() === b.toLowerCase()); // trueBrowser generation and the scope of duplicate checks
This tool calls the browser’s crypto.randomUUID(), which generates v4 UUIDs using cryptographically secure random bytes. The API requires a secure context, such as HTTPS; this tool reports an error if the API is unavailable. Generated values are not sent to the tool server, and generation history is not saved automatically.
Once created, the list is checked for duplicates. It is not checked against previously created lists, other devices, or actual databases. Since UUID v4 is a random value, the probability of a collision is not mathematically zero. In systems where records must be separated, provide unique constraints and separate ways to handle conflicts. This page does not have the ability to manage records of multiple clicks on the Create button.
Implementation notes: Web Cryptography API randomUUID().
UUID v4, time ordering, and test data
v4 is not a format for expressing creation time order. Sorting the list alphabetically does not result in chronological order of creation. This tool only supports v4 and does not provide v1·v5·v7 generation or name-based deterministic ID calculation. Distinguish between tasks that always require the same ID for the same input and tasks that require a new, random ID.
When leveraging UUIDs in test data, you don't end up just creating row-specific IDs. Match together the IDs referenced by other tables, and keep the list you generate as testing material if you need to reproduce the results. This page does not provide database connections or automatic foreign key assignment.
Format/Version Note: RFC 9562 UUID Specification.
Authentication and authorization checks are required even with UUID
Access control is not complete just because addresses using UUID cannot be easily guessed. The service must separately check whether the user has permission to read or modify the document. The UUID itself does not encrypt data nor does it prove who owns the document.
This generator does not provide the ability to issue, expire, or destroy login tokens, store passwords, or manage secret keys. For authentication information for production services, use server-side design and management procedures appropriate for that purpose. When inserting the identifier created here into public code examples or test materials, it is a good idea to check whether it is a sensitive value associated with an actual account or document.
Frequently Asked Questions
Are UUID and GUID completely different things?
GUID is the name used to refer to UUID. In actual integration, you must check the processing rules of the platform you are using, such as string notation and byte order.
Is it a new UUID if I change it to uppercase?
No. Only the display of the same hexadecimal value changes. Please check separately for case-sensitive systems in general string comparisons.
Can I view the creation history again later?
Generation history is not saved automatically. Copy the results or download a file. If you explicitly click Save to workspace next to the result, its file is stored in this browser’s IndexedDB. It does not sync to other devices and may disappear when site data is cleared. Keep a separate file for important results.