Skip to content
ToolsOnDuty - free online tools

Search tools

Loading tool search...

Web & SEO

Hreflang Validator

Extract alternate tags and flag missing URLs or malformed language codes.

Free browser toolRuns in your browserNo sign-up

Alternates

0

Invalid

0

    Validate reciprocal return links on every language page separately.

    About the Hreflang Validator

    Hreflang Validator parses pasted alternate link tags and checks common language or language-region code shapes and href presence.

    Validate every page in the cluster to confirm reciprocal references, canonical targets and live responses.

    A zero Invalid count only means each detected tag had a nonempty href and fit the tool's narrow code pattern. The code check is not a registered-language lookup or a complete locale-tag grammar; legitimate script/variant forms can be rejected while made-up matching codes can pass.

    Href text is not parsed as an absolute URL or fetched. The page does not compare the tags from different pages, detect duplicates, evaluate canonical/indexability or prove reciprocity. Pasting another page replaces this input; compare the sets independently.

    Key features

    • Alternate tag extraction
    • Language-code format checks
    • Missing href detection
    • x-default recognition

    How to use

    1. 1Paste the supplied page's alternate link tags.
    2. 2Read the detected values and the limited href/code-shape flags.
    3. 3Independently compare every page's full reciprocal set and check URL responses/canonicals; this interface does not perform that comparison.

    Examples

    Use the Hreflang Validator
    Input: <link rel="alternate" hreflang="en-US" href="https://example.com/us">
    Output: 1 alternate; 0 invalid

    A nonempty href plus matching code shape is all this result confirms; it does not establish a valid cluster.

    Frequently asked questions

    Does it fetch reciprocal pages?
    No. Paste each page's tags or use crawl data to verify return links.
    Are lowercase region codes accepted?
    The checker expects conventional lowercase language and uppercase region formatting.
    Is my data uploaded?
    No. Analysis and generation happen entirely in your browser.

    Open a related tool to prepare your files or refine the finished result.