New: 500+ free SEO and AI search tools, no sign-up.Explore tools →
Home / Free Tools / Technical SEO / Hreflang Checker
Free international SEO tool

Hreflang Validator

Paste hreflang link tags or a page source and check for invalid language codes, duplicates, missing self-reference and missing x-default.

Quick answer: The Hreflang Validator turns your input and this page URL into a clear report with fixes. Fill in the fields and the result appears straight away. It is free, needs no account and runs in your browser, so nothing you enter is saved on a server.

What is the Hreflang Validator?

Check hreflang tags for invalid ISO codes, duplicates, missing x-default and self-referencing errors. It is built for site owners, developers and SEOs who look after crawling, indexing and site health.

How do you use the Hreflang Validator?

  1. Paste your text into Input.
  2. Enter This page URL (for self-reference check) (example: https://example.com/).
  3. Read the result, then copy or download it.
hreflang validator with example inputs
The Hreflang Validator with its example inputs.
hreflang validator results
Example results from the Hreflang Validator.

Which inputs does the Hreflang Validator use?

InputTypeExample value
InputText box<link rel="alternate" hreflang="en-us"…
This page URL (for self-reference check)Texthttps://example.com/

What does a worked example show?

Using This page URL (for self-reference check) https://example.com/, the tool shows: OK en-us -> https://example.com/ FIX en-uk -> https://example.com/uk/ (use gb for United Kingdom) OK ur -> https://example.com/ur/ WARN no x-default tag. Swap in your own input to get your own result.

Common hreflang mistakes

Using country codes alone (like “uk” instead of “en-gb”), missing return links, no self-reference and pointing to redirected or noindex URLs.

Key terms

Canonical tag
A link element that tells search engines which URL is the main version of a page when several URLs show the same or similar content. It helps combine ranking signals and prevents duplicate pages from competing.
Core Web Vitals
Google metrics for real user experience: Largest Contentful Paint for loading, Interaction to Next Paint for responsiveness and Cumulative Layout Shift for visual stability. Good thresholds are 2.5 seconds, 200 milliseconds and 0.1.
HTML
HyperText Markup Language, the standard language that structures web pages with elements such as headings, paragraphs, links and images. Search engines read the HTML to understand page content, links and metadata.
Search engine optimisation
The practice of improving a website so it ranks higher in unpaid search results. It covers technical health, on-page content, links and user experience, and it follows Google Search Essentials rather than shortcuts.
Browser based tool
A tool that runs entirely in your web browser with JavaScript, so the data you enter is processed on your own device. It works instantly without sign up, but it cannot fetch other websites because of browser security rules.

How we checked this tool

We tested the Hreflang Validator in Chrome on 2 November 2026 with the example inputs shown above and checked the output by hand. It runs in your browser and does not store what you enter. Read our editorial policy, disclaimer and privacy policy, or report an error on WhatsApp.

Frequently asked questions

What does the Hreflang Validator do?

Check hreflang tags for invalid ISO codes, duplicates, missing x-default and self-referencing errors.

Who should use the Hreflang Validator?

The Hreflang Validator is made for site owners, developers and SEOs who look after crawling, indexing and site health. It is simple enough for beginners and quick enough for agencies that run the same check many times a week.

Is the Hreflang Validator free?

Yes. The Hreflang Validator is free with no account, no daily limit and no watermark, and it sits alongside more than 500 other free tools on this site.

Does the Hreflang Validator save my data?

No. All processing happens in your browser with JavaScript. The values and text you enter stay on your device and are not sent to or stored on our server.

How reliable are the results?

The tool follows standard rules and best practice. Confirm important findings in the official tool, such as Google Search Console, before acting.

Where can I learn more about the Hreflang Validator?

Read the step by step guide with screenshots, linked above, or browse the other free technical seo tools for related checks.

Sources: Google crawling and indexing documentation and Google SEO Starter Guide, checked 2 November 2026.