NathanTools
NathanTools
Text Tools 13
SEO Tools 7
Image Tools 19
YouTube Tools 38
Device Tests 4
PDF Tools 10
Calculators 52
Electrical Calculators 10
Time Tools 7
Random Tools 9
Converters 14
Developer Tools 11
Hash Generators 5
Password & Security 2
Network & DNS 3
Website Tools 9

UUID Decoder

Paste a UUID, GUID or ULID to see its version, variant and every field, including the exact time it was created if it holds a timestamp.

100% free No sign-up Works on any device
Examples:
Paste an ID above, or pick an example

Updated November 2026 · Follows RFC 9562 · Decoded in your browser

How to decode a UUID

  1. Paste a UUID or GUID in any common form: with or without hyphens, in braces, upper or lower case, or with urn:uuid:. A 26-character ULID works too.
  2. The bit layout colours each hex digit by the field it belongs to. Hover a group to see its name.
  3. The table lists the version, variant and every field. For time-based IDs it shows the creation time in UTC, your local time, Unix milliseconds and how long ago that was.
  4. Use the copy buttons to grab any value, such as the ISO timestamp or the ULID form.

What each UUID version contains

VersionFields you can decodeCreation time?
v160-bit Gregorian timestamp, 14-bit clock sequence, 48-bit node (often a MAC address)Yes, to 100 ns
v2Like v1, but the low timestamp bits hold a local user or group IDRoughly, to about 7 minutes
v3 / v5MD5 or SHA-1 hash of a namespace and nameNo
v4122 random bitsNo
v6The v1 fields with the timestamp reordered, most significant firstYes, to 100 ns
v748-bit Unix millisecond timestamp, 12-bit rand_a, 62-bit rand_bYes, to 1 ms
v8Three custom fields whose meaning the creator definesDepends on the creator

Every version reserves the same 6 bits: the version is the 13th hex digit and the variant is the top 2 bits of the 17th. A variant digit of 8, 9, a or b means the RFC 9562 layout, which is the only one whose other fields can be decoded.

How the timestamp is calculated

For v7, read the first 12 hex digits as one number. That's milliseconds since 1 January 1970 UTC: 017f22e279b0 is 1,645,557,742,000, which is 22 February 2022 19:22:22 UTC.

For v1, put the groups back in order: the last three digits of group 3, then group 2, then group 1. The result counts 100-nanosecond steps since 15 October 1582, when the Gregorian calendar began. Divide by 10,000 for milliseconds and subtract 12,219,292,800,000 to move to the Unix epoch. v6 stores the same number already in order, so it sorts correctly as text.

A decoded time is only as accurate as the clock of the machine that made the ID. Use it to debug ordering or find roughly when a record appeared, not as an audit trail. Need to check a whole list for validity? Use the GUID validator.

Frequently asked questions

Paste it above. For UUID v7 the first 12 hex digits are the Unix time in milliseconds. For v1 and v6 a 60-bit count of 100-nanosecond intervals since 15 October 1582 is spread across the first three groups. The decoder converts either to UTC, your local time and Unix milliseconds.

Only time-based versions store one: v1, v6, v7 and, roughly, v2. A v4 UUID is random and v3 and v5 are hashes of a name, so there is no date to recover. If you need the creation time, store a created_at column next to the ID.

No. v3 and v5 are one-way MD5 and SHA-1 hashes. You can only check a guess: generate a v5 UUID from the same namespace and name with the GUID generator and see whether it matches.

It can. The last 12 hex digits of a v1 or v6 UUID are the node, historically the network card's MAC address. If the lowest bit of the first node byte is 1, the generator used a random node instead, which the decoder points out.

Yes. Paste a 26-character ULID to see its timestamp, its 80 random bits and the equivalent UUID. ULIDs are 128 bits, so they convert to a UUID and back without loss.

The GUID validator checks many IDs at once and tells you which are valid. The decoder takes one ID and shows everything inside it: each field, its bits, and the time it was created in several formats.
Esc
↑ ↓ to moveEnter to open