Tool · client-side · no upload
DL number and ICN format checker.
Check a licence number or inventory control number against the character set and length the encoder accepts for each jurisdiction. This is a format check, not a checksum: no US state publishes a public check-digit algorithm for its DL number.
What is checked
| Rule | Why it exists |
|---|---|
| Character set | The encoder uppercases and validates [A-Z0-9-]. A slash, space or dot fails the request with 422. |
| Length | DAQ and DCK are capped at 25 characters. A longer value is rejected before encoding. |
| Leading zeros | A spreadsheet export can drop them. If the printed number has one, the input must too. |
| Whitespace | Values are trimmed. Interior spaces are not allowed and are a common copy-paste defect. |
| IIN context | The jurisdiction select shows which issuer the number belongs to, so the check is not done against the wrong state's rules. |
Worked examples
A1234567 passes: seven characters, upper case, digits and letters, inside
the cap. a1234567 fails on the character set, because the pattern is
anchored upper case and the API uppercases before validating only for the fields it
documents as normalised. A1234567 passes with a warning, because the
encoder trims surrounding whitespace. A 123 4567 fails: interior spaces
are not part of the DAQ pattern and are the most common copy-paste defect.
For DCK, the same rules apply with a 25-character cap. A twelve-digit
inventory number is fine. A value with a slash or a dot is not, even when the printed
card displays one: strip the separator before sending it.
Why there is no check digit
Some jurisdictions use internal numbering schemes with a check character. Those algorithms are not published, and a public tool that guessed at one would produce false failures on valid cards. This tool validates the format the API enforces, which is the part you can act on before sending a request.
For the elements that do carry a published check algorithm, use the MRZ check digit calculator. For the barcode structure itself, use the payload inspector.