A UUID (Universally Unique Identifier) is a 128-bit value usually written as 32 hex digits in five hyphenated groups. Validation asks two separate questions: does the string match the expected shape, and do the version/variant bits claim a known layout under RFC 4122 (and related updates for newer versions)?
This guide covers format rules, versions 1–7, batch checking, timestamps on time-based versions, and when you should generate a fresh ID instead of “fixing” a bad one. Run strings through the free UUID validator — version detection, variant checks, and batch mode in the browser.
To mint new random IDs, use the UUID generator and the UUID generation guide. Microsoft-style GUIDs follow the same 128-bit idea — see the GUID guide.