Validates a UUID and reports its version.
UUID Validate checks whether a string is a well-formed UUID and reports its version. Paste a UUID and the tool trims surrounding whitespace, verifies the canonical 8-4-4-4-12 hyphenated format, confirms a valid version digit (1-5) and variant, then tells you which UUID version it belongs to. It is handy whenever you need to quickly confirm an identifier before storing it, sending it to an API, or debugging data.
The validator accepts versions 1 through 5, requiring the canonical hyphenated format with a valid version digit and an 8/9/a/b variant nibble. The nil UUID and versions outside the 1-5 range are reported as invalid.
No. Validation is case-insensitive, so both lowercase and uppercase hexadecimal digits are accepted as valid.
Leading and trailing whitespace is trimmed before validation, so a UUID surrounded by spaces or newlines still validates. Any non-whitespace characters before or after the UUID, however, make it invalid.
No. Validation runs entirely in your browser using a local regular expression. Nothing you paste is uploaded to a server or shared with any third party.
If the string is not a valid UUID, the tool reports an error instead of a version. Common causes include the wrong length, missing hyphens, non-hex characters, or an unsupported version digit.