RFC 9562 · v4 random · v7 sortable
UUID Generator
Create identifiers for databases, API fixtures, and test data. UUID v4 is fully random; UUID v7 starts with a millisecond timestamp so records sort by creation time.
- Free
- No signup
- Runs locally
v4 is random; v7 carries a millisecond timestamp for sortable IDs.
Generated UUIDs (0)
Click generate to create UUIDs.
More address tools
MAC address generatorGenerate 48-bit hardware addresses with a vendor OUI, four output formats, and the matching IPv6 link-local address.MAC address lookupValidate a MAC in any common format, decode the OUI flags, and convert to colon, hyphen, dot, and plain.IP address generatorGenerate IPv4 and IPv6 test addresses by scope: public, private, loopback, link-local, or unique local.Random address generatorPick a state and city, generate a synthetic US address, copy any field, save it, or export CSV/JSON.Address generator by countryThirty-eight country generators with local field order, postal samples, copy, save, CSV/JSON, and Google Maps.Tax-free state address generatorAlaska, Delaware, Montana, New Hampshire, and Oregon addresses with state-tax notes.
Version and variant bits set
Every value carries the correct version nibble and RFC variant bits, so validators accept v4 and v7 output without repair.
Sortable option when you need it
v7 embeds a millisecond timestamp, which keeps index inserts local instead of scattering them across the B-tree.
Copy and export
Generate up to 50 identifiers, copy the list, or download CSV or JSON for a migration or seed file.
UUID Generator questions
- Use v7 when the identifier will be a primary key or index and you want inserts to stay roughly time-ordered. Use v4 when ordering must not leak creation time.
- Practically yes for v4 at 122 random bits, but this is a statistical property, not a registry check. The page cannot detect a value already used elsewhere.
- The first 48 bits hold a Unix millisecond timestamp, then version and variant bits, then random data. Two v7 values created in the same millisecond sort randomly against each other.
- No. Values come from the Web Crypto API. Older browsers without crypto.getRandomValues are not supported because a Math.random fallback would weaken the identifier.
- Both are presentation options. The canonical RFC 9562 text form is lowercase with hyphens and no braces; use the variants only when a system requires them.