Character and identifier guides

Validate a UUID batch and review the duplicate

·

A copied identifier list may contain the same UUID with different letter case, braces or hyphens. Check each line’s structure and compare the normalized values before reusing the list.

UUID Validator

Validate the example batch and find its duplicate

Select Load example batch, then Validate batch. The example has five valid entries, two invalid entries, one duplicate and one blank line. Line 2 is the braced uppercase form of line 1, so both normalize to the same version 4 value.

Line 3 is a version 7 URN. Line 5 contains compact Nil, and line 6 is Max. Download unique valid UUIDs to save four lowercase hyphenated values in their first valid order.

RFC 9562 UUID text formats, variants and versionsRFC 9562 Nil and Max UUID layouts

Compare a variant mismatch with a character error

Line 7 has variant bits 110x, reserved for Microsoft compatibility. The validator reports the variant while rejecting the row under the ordinary RFC 9562 layout rule.

Line 8 ends in z. The issue points to column 36 because that character is outside the hexadecimal alphabet. The blank fourth line stays in the original numbering.

RFC 9562 UUID text formats, variants and versions

Require the hyphenated spelling

Choose Hyphenated only and validate the example again. The braced value, URN and compact Nil fail this form policy. The canonical version 4 value and Max remain valid.

Use the normalized download when a downstream form expects hyphens. A wrapper and letter case can change the representation without changing the bits.

RFC 9562 UUID text formats, variants and versionsRFC 9562 Nil and Max UUID layouts

Common questions

Will a valid version 4 pattern prove how the UUID was generated?

Structure checking identifies the required version and variant bits. It can establish those fields without access to the generator or its source of randomness.

How can I keep the original line numbers from a file?

Open UTF-8 list and validate it directly. Blank lines are counted and later results keep their source line numbers.

Sources

Put it into practice.

Related guides