Free HTML Lang Checker

Read the root html[lang] value for language declaration.

Validate html lang attribute for international SEO and accessibility.

Try it now — free

Instant results for any public URL. We may email follow-up tips; no credit card required for this check.

Get a full-site SEO report in the dashboard →

About this free html lang attribute checker

The html lang attribute declares the primary language of a document. Screen readers and search engines use it for pronunciation and regional relevance.

Confirm lang is set correctly on each template, especially after translations or subdomain splits.

What it checks

  • lang attribute on the <html> element
  • Whether a value is present and non-empty

Why it matters for SEO

  • Accessibility for assistive technology
  • Supports correct language targeting with hreflang
  • Avoids mismatched language signals vs content

How to use this tool

  1. Verify each locale uses the right ISO code (e.g. en, nb, de).
  2. Fix theme defaults that omit lang.
  3. Pair with hreflang for multi-country sites.

Common issues we help you catch

  • Missing lang on SPA or custom themes
  • lang=en on fully translated Norwegian pages
  • Invalid codes like en-US vs en-us inconsistency

Related free SEO tools

Frequently asked questions

lang vs hreflang — what is the difference?
lang describes this document’s language. hreflang links alternate language/regional versions of the same or equivalent content.