FREE ONLINE TOOLTechnical SEO

Hreflang markup checker

Inspect language labels, destinations and self-references in hreflang markup

Inspect alternate language links in supplied HTML and resolve relative URLs against a page address.

  • No account needed
  • Practical guide included
  • Clear data boundaries
Hreflang markup checker
Private by design

Preparing your workspace…

Hreflang markup checker features and uses

Language annotations are easier to review when their labels and destinations are visible together. Inspect alternate links from supplied HTML, resolve relative addresses against the page URL and find repeated or conflicting language labels. This is a source-markup check, not a cross-site language audit.

Review the language labels and resolved destinations in supplied markup. Then inspect the other language pages for equivalent content and reciprocal annotations; a single pasted fragment cannot establish the entire cluster's live configuration.

Continue this task with Hreflang generator and Link extractor.

Common uses

  • Review a multilingual page head before release.
  • Find conflicting destinations for one language label.
  • Check whether supplied links include the current page.

How to use this tool

Follow these steps to prepare your input, run the tool and review its output.

  1. Copy the relevant HTML

    Paste link elements containing rel="alternate" and hreflang. Include all relevant annotations from the source you intend to publish.

  2. Supply the actual page URL

    Use the complete current address. Relative href values are resolved against this base, and the self-reference comparison uses the resulting URL.

  3. Review each annotation

    Inspect language syntax, missing destinations and repeated labels. Follow up on reciprocal annotations and equivalent content on the other pages.

Example input and output

Two language versions

Illustrative example
Starting input
<link rel="alternate" hreflang="en" href="/en/guide/">
<link rel="alternate" hreflang="fr" href="/fr/guide/">
Page URL: https://example.com/en/guide/
What to look for
Both relative destinations resolve on example.com; the English destination matches the supplied page URL.

A self-reference in this snippet does not prove that the French page links back.

How to interpret the results

Repeated labels may repeat an identical address or point to conflicting addresses. The distinction helps separate duplication from a routing mistake.

Language validation checks a supported syntax pattern. It does not confirm that a language or region code is registered, or that the destination content uses that language.

Before you use the result

  • Use the intended final page URL as the base.
  • Do not assume a self-reference proves reciprocal annotations.
  • Check redirects, canonicals and equivalent page content separately.

Frequently asked questions

Answers about using this tool, interpreting its results and how it handles your data.

How we handle your data
Are relative href values accepted?

Yes. They are resolved using the complete page URL you provide.

Can the tool recognize x-default?

The syntax check accepts x-default alongside supported language-tag patterns.

Will it fetch other language versions?

No. It cannot inspect their responses, content or return annotations.

Why might self-reference be missing?

None of the resolved alternate destinations exactly matched the supplied base URL. Review slash, query and address differences.

Is this tool free, and do I need to sign up?

This tool is free to use without an account or subscription. Supply your input in the workspace on this page, then run the tool. Your browser needs to support the features used by the tool; keep an original copy and review any generated output before applying it to a live website.

Are my files or text uploaded to your server?

This tool processes the supplied input locally in your browser. It does not upload your files or text to our server for processing. Copy or download the result you want to keep; the tool does not publish changes to your website automatically.