Using UUID Validator: practical guide
Check that an ID is a valid UUID
A UUID has 32 hexadecimal digits in groups of 8, 4, 4, 4 and 12, separated by hyphens. The validator checks the format and tells you which version it is, which helps when an API rejects an ID.
Format is not existence
A correctly formatted UUID is not necessarily one that exists in your system. Case does not matter, and some systems accept IDs without hyphens or with braces, so normalise the format before you compare values.