tooldura

All tools

UUID Generator

Generate UUIDs in any version, from random v4 to time-ordered v7

UUID Version

Random. 122 bits straight from the browser's cryptographic random source, and the right default unless you need the ids to sort.

1 UUID
0 UUIDv4s

About UUID Generator

The UUID Generator produces identifiers in every version RFC 9562 defines, which is the 2024 specification that replaced RFC 4122. Version 4 is pure randomness and the sane default; version 7 puts a millisecond timestamp in the leading bits so ids sort by creation time, which is what makes it the version to reach for when the UUID becomes a database primary key. Versions 3 and 5 are the deterministic pair: give them a namespace and a name and they always return the same UUID, on any machine, for as long as the algorithm exists. Versions 1 and 6 carry the older 100-nanosecond timestamp layout, with a random node id instead of a MAC address. Everything is generated in your browser, version 4 through the browser's own crypto.randomUUID and the rest over crypto.getRandomValues.

FreeNo paywalls or tiers
No SignupNothing to create
InstantNo setup, no install
Any DeviceMobile, tablet, desktop

The guide behind this tool

Which UUID Version to Use, and Why v7 Changed the Answer

A random primary key splits B-tree pages and scatters an InnoDB table. RFC 9562 fixed that in 2024 by putting the clock first. What each version really holds.

9 min read

How to use UUID Generator

  1. 1

    Pick a version. If you have no particular reason, v4 is the one you want; if the id is going to be a database key, use v7.

  2. 2

    For v3 and v5, choose a namespace and type the name to derive the UUID from, such as a domain or a URL.

  3. 3

    For the random versions, drag the slider if you need more than one at a time.

  4. 4

    Tick Uppercase, Hyphens or Braces to match the format your target system expects.

  5. 5

    Copy the result, download a longer batch as a text file, or press Generate for a fresh set.

Frequently Asked Questions

v4 unless you have a reason not to, and v7 when the UUID will be a primary key or anything else that gets indexed or sorted. v5 when the id has to be reproducible from some existing name, so two systems can derive the same id without talking to each other. v1 and v6 only when you are joining a system that already uses them, and v3 only when something already depends on MD5.