About the UUID Validator
This UUID Validator checks whether a string is a well-formed UUID and tells you its version, from v1 to v8, plus the nil and max UUIDs. For time-based versions (v1, v6 and v7) it also decodes the creation time. Paste a whole list to check many at once.
How it works
A UUID is 32 hexadecimal digits written in five groups of 8, 4, 4, 4, and 12 characters separated by hyphens. The first digit of the third group is the version number. The validator trims your input, removes braces or a urn:uuid: prefix, and checks the 8-4-4-4-12 layout.
It then reads the version from the first digit of the third group and the variant from the first digit of the fourth group (8, 9, a or b for standard RFC 9562 UUIDs). For time-based versions it decodes the timestamp: v7 stores milliseconds since 1970 in its first 48 bits, while v1 and v6 count 100-nanosecond intervals since October 1582.
How to use
- 1
Paste one or more UUIDs into the box, one per line.
- 2
Read the result for each line: version, variant note and, where available, creation time.
- 3
If one is invalid, check for missing hyphens, wrong length, or characters outside 0-9 and a-f.
Worked examples
A valid version 4 UUID
Checking a random ID from an API response.
The third group starts with 4 and the fourth group starts with a, a valid variant digit.
A valid version 1 UUID
Checking a time-based ID from an older system.
The third group starts with 1, which marks a timestamp-based UUID.
Missing a character
An ID was truncated when copied.
The last group has 11 characters instead of 12.
Frequently asked questions
What are the different UUID versions?+
Version 1 is timestamp-based, versions 3 and 5 are name-based hashes, version 4 is random, and version 7 is a newer time-ordered format. This validator recognizes versions 1 and 4.
Why would a UUID fail validation?+
Common causes are a wrong length, missing or extra hyphens, characters outside 0-9 and a-f, or stray characters such as quotes copied along with the ID. Braces and urn:uuid: prefixes are accepted.
Does letter case matter?+
No. The check is case-insensitive, so uppercase GUID-style IDs pass as long as the format is correct.
Does a valid result mean the UUID exists in my database?+
No. The validator only checks the format. Whether a record with that ID exists is something only your system can tell you.
Can two random UUIDs ever be the same?+
In theory yes, but a version 4 UUID has 122 random bits, so the chance of a collision is negligible for any realistic number of IDs.