Skip to content
Marvin's Toolbox.

Search tools

Type to filter all tools

UUID Decoder

Paste a UUID to see what it carries: version, variant, and for time-based versions the exact timestamp, clock sequence and node. Also shows the raw bytes, the 128-bit integer and the URN form.

Everything runs locally in your browser. Your data never leaves your device.

Canonical, braced, URN and bare-hex forms all work.

Nothing decoded yet
Paste a UUID above, or try the example, to see what it contains.

About the UUID Decoder Tool

This tool takes a UUID apart and shows what the bits actually say: the version, the variant, and everything the version encodes, like the creation timestamp in versions 1, 6 and 7, the clock sequence and node id, or how many bits are random.

It reads every common written form. Canonical with hyphens, wrapped in braces, as a urn:uuid: string, or as 32 bare hex digits.

What you can do

  • Check which version and variant a UUID is.
  • See which characters hold which field, color coded to match the decoded values.
  • Extract the timestamp from a version 1, 6 or 7 UUID.
  • Read the clock sequence and node id of a time-based UUID.
  • See whether the node id is a real MAC address or random.
  • Get the UUID as raw bytes, a 128-bit integer and a URN.
  • Recognize the nil and max special values.

How to use the UUID Decoder

  1. 1Paste the UUID. Extra whitespace, braces or a urn:uuid: prefix are fine.
  2. 2Read the decoded fields: version, variant, and the time details when the version has them.
  3. 3Copy any representation you need with the button next to it.

What a UUID can and cannot tell you

Only the time-based versions carry a timestamp. Versions 1 and 6 count 100 nanosecond ticks since the year 1582, version 7 stores plain Unix milliseconds. A version 4 UUID is almost entirely random and reveals nothing about when or where it was made. The name-based versions 3 and 5 are hashes, so the original name cannot be recovered from them.

In versions 1 and 6 the node field historically held the machine's MAC address. Modern generators set the multicast bit and use random bytes instead, and the decoder tells you which of the two you are looking at.

Need a UUID to test with? The UUID Generator makes one in any version.

Paste a MongoDB ObjectId and see the creation timestamp, the random value with its legacy machine and process id split, and the counter, color coded so each part of the ID maps to its meaning. Also generates ObjectIds for any date, handy for time-range queries.

Generate Nano IDs in bulk with full control over length and alphabet. Pick the default, hex, numbers-only or a custom character set, see the collision probability for your settings, and copy the results as a plain list.

Paste a Discord, Twitter or custom snowflake ID and see the exact creation timestamp, worker, process and sequence bits it carries. Pick a preset or set your own epoch and bit layout, or turn a date into the matching id range.

Generate ULIDs one at a time or in bulk: sortable, timestamp-prefixed identifiers in Crockford base32. Use monotonic mode for strictly ordered ids, decode any ULID back to its timestamp, and copy the results as a plain list.

Generate UUIDs in versions 1, 3, 4, 5, 6 and 7, one at a time or in bulk. Pick a version, set how many you need, and regenerate with one click. Name-based versions take a namespace and a name, and the result copies as a plain list.

Enter a resolution to get its simplified aspect ratio, or start from a ratio and one side to get the missing dimension. Knows the common ratios like 16:9, 4:3 and 21:9 and shows how close your size is to each.