UUID Validator
Validate UUID format and detect the version. Paste one or many UUIDs (one per line) for bulk validation.
About UUID Validator
This tool checks whether a string is a correctly formatted UUID and identifies which version (v1–v8) it is. It also detects the variant (RFC 4122 standard vs others), flags the nil UUID (all zeros), and handles both uppercase and lowercase UUIDs with or without hyphens.
UUID Structure
A standard UUID has the format xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx where M is the version digit (1–8) and N encodes the variant (8, 9, a, or b for RFC 4122).
How to Use
- Paste a UUID (or multiple UUIDs, one per line) into the input.
- The validator checks format instantly and shows: Valid / Invalid.
- For valid UUIDs, the tool also shows the version (v1, v4, etc.) and variant.
- Use Bulk Validate to check a list of UUIDs from a database export.
How It Works
The validator uses a regex pattern matching the RFC 4122 UUID format: /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i. The version digit (position 13) and variant bits (position 17) are extracted to identify the UUID type.
Example
550e8400-e29b-41d4-a716-446655440000 → Valid UUID v4
not-a-uuid → Invalid
550e8400e29b41d4a716446655440000 → Invalid (missing hyphens)