🌐 EN

πŸ†” UUID Validator & Decoder

Paste a UUID to validate its format and detect its version (v1–v8) and variant. Time-based UUIDs (v1, v6, v7) have their embedded timestamp decoded into Unix time and a human-readable date.

GUIDE

Learn more

01

1. UUID versions and variants

A UUID (Universally Unique Identifier) is a 36-character, 8-4-4-4-12 hexadecimal string. The first digit of the third group is the version (v1 time+MAC, v4 random, v6 reordered time, v7 Unix-time based); the top bits of the first digit of the fourth group are the variant (usually RFC 4122/9562, values 8–b). This tool detects both automatically.

02

2. Decoding the timestamp

v1 and v6 carry a 60-bit Gregorian timestamp counted in 100-nanosecond intervals since 1582-10-15, so converting to Unix time means subtracting the epoch offset and dividing by 10,000. v7 puts a plain Unix-millisecond timestamp in its first 48 bits, which makes it naturally sortable. This tool extracts the timestamp per each version's rules and shows ISO 8601 plus local time.

03

3. When to use v6 and v7

v4 is fully random, so it has no sort locality in database indexes and can hurt performance. v7 is time-sortable while staying random, making it a great primary key; v6 rearranges the classic v1 fields so they sort chronologically. Use v4 when you need no time data, and v7 when you want sortable identifiers.

Frequently asked questions

Is the UUID I paste sent to a server?
No. Validation and decoding happen entirely in your browser.
Can I get the time from a v4 UUID?
No. v4 is fully random and carries no creation-time information. Timestamp decoding only works for v1, v6 and v7.
What are Nil / Max UUIDs?
Nil is all zeros (00000000-0000-0000-0000-000000000000) and Max is all Fs β€” special UUIDs used to represent "no value" or a boundary.
What is the variant?
It identifies the UUID layout family. Almost all modern UUIDs use the RFC 4122/9562 variant (fourth group starts with 8, 9, a or b).