BCP 47 Validator

This service lets you validate language tags such as de-CH or en-US according to BCP 47 (formerly RFC 4646) and the IANA Language Subtag Registry. The Language Tag Extensions Registry is not used by this service, but this may change in the future.

Separate multiple tags by comma or whitespace. Do not include quality values such as ;q=0.8. As you type, the background color denotes whether all tags are well-formed and valid, any tag is invalid or any tag is not well-formed.

Language tags:
Output format:
Input
tl-PH-Nokia
Canonical
tl-PH-nokia
Input is canonical
False
Well-formed
True
Valid
False
Registry date
2024-05-16
Primary language subtag
tl – Tagalog
Extended language subtags
Script subtag
Region subtag
PH – Philippines
Variant subtags
nokia – Unknown subtag of type 'variant'
Extension subtags
Private subtags
Messages
'Nokia' is not a valid subtag of type 'variant'.
Consider to use the canonical form 'tl-PH-nokia' instead of 'tl-PH-Nokia'.

Feedback

Don't hesitate to send suggestions and comments to Christoph Schneegans (christoph@schneegans.de).