Skip to content
Misc Runs offline

UUID Validator

Validate UUIDs and identify their version and variant.

Rejects braces, URNs and missing hyphens

Input

0 chars

Output

0 chars
Ctrl

Questions

How do I tell which version a UUID is?

The first digit of the third group is the version, and the first digit of the fourth group encodes the variant. In 018fa2c4-1e3b-7c2f-9a4e-5f6d7c8b9a01 the 7 marks it as v7. The validator reads both fields and, for v1 and v7, decodes the embedded timestamp.

Is the nil UUID valid?

Yes. All-zeros is explicitly defined in RFC 9562 as the nil UUID, and the all-ones max UUID is equally valid. Both are commonly used as sentinel values, so the validator accepts them and labels them rather than reporting an error.