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 yet.

Enter one language tag per line. When JavaScript is enabled, 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
en-GB-boont-r-extended-sequence-x-private
Canonical
en-GB-boont-r-extended-sequence-x-private
Input is canonical
True
Well-formed
True
Valid
True
Registry date
2010-08-17
Primary language subtag
en – English
Region subtag
GB – United Kingdom
Variant subtags
boont – Boontling
Extension subtags
r
extended
sequence
Private subtags
private

Feedback

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