Developer Tools
UUID Generator: Random v4 and Time-Ordered v7
Generate up to 500 UUIDs at once, random v4 or time-ordered v7, in lowercase, uppercase, without hyphens or in braces, using secure browser randomness.
How to use UUID Generator: Random v4 and Time-Ordered v7
Set how many UUIDs you need, from 1 to 500, choose v4 or v7 and a format, then press Generate UUIDs. A list of 10 v4 UUIDs is created when the page loads.
- Set the quantityEnter any number from 1 to 500; larger numbers are capped at 500 per batch.
- Choose version and formatPick v4 (random) or v7 (time-ordered), then lowercase, uppercase, no hyphens or braces.
- Generate and copyPress Generate UUIDs for a new list and use Copy result to copy every value, one per line.
UUID v4 or v7: which to use
A v4 UUID is 122 random bits plus version and variant markers, so values have no order and reveal nothing about when they were made. A v7 UUID starts with a 48-bit Unix timestamp in milliseconds followed by random bits, so IDs created later sort after earlier ones. That makes v7 a good fit for database primary keys, where ordered inserts keep B-tree indexes compact, and for records you want to sort by creation time. Choose v4 when IDs should not leak timing information. Each batch of v7 values is sorted before it is shown.
Reading a UUID: version and variant digits
A UUID has 32 hex digits in five groups of 8-4-4-4-12, for example c2784756-0ca7-42ac-a794-56d0d871d55a. The first digit of the third group is the version, 4 or 7 here, and the first digit of the fourth group is the variant, always 8, 9, a or b for standard RFC 9562 UUIDs. Removing the hyphens gives a 32-character string, and Microsoft tools often show GUIDs in braces, such as {7f1a66a8-32c0-4e24-a246-10e659900ecd}. Every format holds the same 128-bit value, so pick the one your database, code or config file expects.
Accuracy and data handling
Validate the result with your project's own tests and runtime rules before using it in production. The calculation runs in your current browser; the tool code does not send the input to a processing API.
FAQ
What is the difference between a UUID and a GUID?
GUID is Microsoft's name for the same 128-bit identifier. The values are interchangeable; choose the uppercase or braces format if a Windows tool or registry entry expects that style.
Can two UUIDs ever be the same?
In theory yes, in practice no. A v4 UUID has 122 random bits, so you would need around 2.7 quintillion of them for a 50% chance of a single duplicate.
How many UUIDs can I generate at once?
Up to 500 per click. Press Generate UUIDs again for another batch. Every value comes from crypto.getRandomValues in your browser, and nothing is sent or stored.
More Developer Tools
Related toolsEncode or decode URLs and query values with %XX, encodeURI or form rules
Encode special characters as HTML entities or decode entities back to text
Decode a JWT's header and payload, check expiry and verify the signature
Convert YAML to JSON and back, with anchors, merge keys and multiple documents
Beautify messy SQL clause by clause or squeeze it onto a single line
Pretty-print or minify XML and pinpoint errors by line and column