Skip to content

UUID generator

Generate UUIDs of version 1, 3, 4, 5, 6 or 7, one at a time or in bulk.

Random.

About this tool

A UUID is a 128-bit identifier written as 32 hex digits in five groups. RFC 9562 defines several versions: v4 is random, v7 starts with a Unix timestamp so new IDs sort in creation order, v1 and v6 use a timestamp and node ID, and v3 and v5 are derived from a namespace and a name.

Generate up to 100 UUIDs of any version at once, or get the fixed v3 or v5 UUID for a name in the DNS, URL, OID or X.500 namespace.

Questions

Should I use UUID v4 or v7?
v7 for database keys, because IDs created close together sort together, which keeps indexes compact. v4 when the ID should reveal nothing, including when it was made.
Can two UUIDs collide?
A v4 UUID has 122 random bits, so the chance of a collision is negligible for any realistic number of IDs, as long as the random source is good.
Is my input sent to a server?
No. The page loads a compiled Dart engine into a Web Worker and does all the work in your browser tab. Nothing you type or drop in is uploaded, and the tools keep working offline once the page has loaded.

More tools