HTML Lang Checker
Confirm that browsers and assistive technology receive a document language.
Inspect the HTML lang attribute
The check displays the declared document language and the number and codes of any hreflang alternates found on the same page.
Interpret the result
The result helps compare the primary document language with the localized audience and alternate-language declarations.
Catch common problems
A missing, overly broad, invalid, or wrong language code can affect pronunciation, translation behavior, accessibility tools, and locale consistency.
How to interpret the HTML lang attribute
The tool reads the attribute but does not detect the language of the prose, test screen readers, or validate every locale convention.
Common problems and next steps
A missing, overly broad, invalid, or wrong language code can affect pronunciation, translation behavior, accessibility tools, and locale consistency.
Frequently asked questions
What does the the HTML lang attribute check cover?
The check displays the declared document language and the number and codes of any hreflang alternates found on the same page.
How should I use the result?
Use a valid BCP 47 language tag that matches the page’s main content, then compare it with templates, HTTP metadata, and hreflang targets.
What are the limits of this tool?
The tool reads the attribute but does not detect the language of the prose, test screen readers, or validate every locale convention.
Related URL tools and guides
Hreflang Checker
Extract hreflang alternates and review language-region targets and x-default.
Learn moreStructured Data Checker
Find JSON-LD blocks, validate their JSON syntax and list Schema.org types.
Learn moreCanonical URL Checker
Find canonical tags, duplicate declarations and non-self-referencing destinations.
Learn more