Inspect any UUID

UUID Decoder

Decode a UUID to reveal its version, variant and, for time-based UUIDs, the exact timestamp encoded inside it.

Inspect UUID version and timestamp

UUID Decoder

Decoded UUID

Unix time UUID v7 with a standard variant.

Version
Unix time UUID v7
Variant
RFC 4122 / RFC 9562 variant
Normalized
018f75b4-6b7a-7c2d-9d73-82cc3f2a91e8
Timestamp
2024-05-14T06:05:09.370Z
Not sure? Use UUID v4 for random IDs, UUID v7 for sortable database IDs, and GUID for Microsoft/.NET systems.
Generated locally in your browser.No backend used.Nothing is uploaded.
Advanced options
Format
Copy formats
ShortcutsEnter/Space: generateCmd/Ctrl + C: copyB: bulkV: validate
UUID v4 Random identifiers for APIs, files, sessions and records.

A UUID is not just a random string. Its bits encode a version and variant, and time-based versions carry a real timestamp. The decoder reads those fields back out so you can tell what a UUID is and, when applicable, when it was created.

Key takeaways

  • Identifies the UUID version and RFC variant.
  • Extracts the creation timestamp from UUID v1, v6 and v7.
  • Runs entirely in your browser with no upload.

What the decoder reads

Every UUID reserves a few bits for structure. The first character of the third group encodes the version, and the first bits of the fourth group encode the variant. The decoder normalizes your input, reports both, and confirms whether the value follows the RFC 9562 variant.

Extracting a timestamp

Time-based UUIDs embed the moment they were generated. UUID v7 stores a Unix millisecond timestamp in its first 48 bits. UUID v1 and UUID v6 store a 60-bit count of 100-nanosecond intervals since 15 October 1582. The decoder converts either form into a normal date and time.

Random UUID v4 and name-based UUID v3 and v5 do not encode a timestamp, so the decoder reports that no embedded time is available for those versions.

018f2f7a-07b2-7d6e-9c37-43e1577b8b44
^^^^^^^^^^^^  version 7: first 48 bits = Unix ms timestamp

Why decode a UUID

Decoding is handy when debugging: you can confirm that an ID really is the version you expect, spot a v4 where a v7 was intended, or read the creation time straight out of a log identifier without a separate timestamp column.

FAQ

UUID Decoder questions

Can every UUID be decoded to a timestamp?

No. Only time-based UUIDs (v1, v6 and v7) contain a timestamp. Random UUID v4 and name-based UUID v3 and v5 do not encode creation time.

Is the decoded UUID v7 time exact?

UUID v7 stores millisecond precision, so the decoder returns the creation time to the millisecond.

Does decoding send my UUID anywhere?

No. Decoding happens in your browser. The UUID you paste is not uploaded to a server.

UUID Decoder - Inspect Version, Variant and Timestamp