UUID v4, UUID v7 & ULID Generator
Generate UUID v4/v7 and ULID, encryption-level random, pure local operation
UUID v4
A completely random 128-bit identifier in the format xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx, suitable for most scenarios.
UUID v7
The first 48 bits are millisecond timestamps, which can be sorted by generation time and are suitable for use as database primary keys to reduce index fragmentation.
ULID
26-character Crockford Base32 encoding, time-ordered, sortable, and URL-safe, more compact than UUID.
Frequently asked questions
Is UUID generator safe? Will the generated UUID be sent to the server?
Totally safe. All UUIDs and ULIDs are generated locally in your browser using cryptographic-grade random numbers from the Web Crypto API and are not sent to any server.
What is the difference between UUID v4, UUID v7 and ULID? Which one should I choose?
UUID v4 is completely random and suitable for most scenarios; the first 48 bits of UUID v7 are millisecond timestamps, which can be sorted by time and suitable for database primary keys to reduce index fragmentation; ULID is also time-ordered and uses 26 characters Base32 encoding, which is more compact and URL-safe than UUID.
Will the generated UUIDs be duplicated?
UUID v4 has 2^122 possible values, the collision probability is extremely low, and it can be regarded as unique in actual use. UUID v7 and ULID combine a timestamp with a random part and are also extremely difficult to collide within the same millisecond.
How to generate multiple UUIDs in batches?
Fill in the number between 2 and 100 in the "Quantity" input box, click the "Generate" button, the tool will output the corresponding number of UUIDs in the text area, one per line, and you can copy them all with one click.
Can the UUID generator be used offline?
Yes. This tool is a single file HTML. After saving the page locally, it can generate UUID and ULID normally even if the network is disconnected. No installation or registration is required.