{
    "title": "Hreflang Checker",
    "description": "Free hreflang checker: language and region codes, return links, x-default, canonical clashes and status of every version, plus a corrected set of tags.",
    "url": "https://ursy.com/hreflang-checker/",
    "canonical": "https://ursy.com/hreflang-checker/",
    "markdown": "https://ursy.com/hreflang-checker/index.md",
    "json": "https://ursy.com/hreflang-checker/index.json",
    "published": "2026-11-23T22:55:10+00:00",
    "updated": "2026-11-26T15:37:08+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY and link https://ursy.com/hreflang-checker/",
    "headings": [
        {
            "level": 1,
            "text": "Hreflang Checker",
            "id": "hreflang-checker",
            "url": "https://ursy.com/hreflang-checker/#hreflang-checker"
        },
        {
            "level": 2,
            "text": "What this checker does",
            "id": "what-this-checker-does",
            "url": "https://ursy.com/hreflang-checker/#what-this-checker-does"
        },
        {
            "level": 2,
            "text": "Why it matters",
            "id": "why-it-matters",
            "url": "https://ursy.com/hreflang-checker/#why-it-matters"
        },
        {
            "level": 2,
            "text": "The rules we check",
            "id": "the-rules-we-check",
            "url": "https://ursy.com/hreflang-checker/#the-rules-we-check"
        },
        {
            "level": 2,
            "text": "How to read the result",
            "id": "how-to-read-the-result",
            "url": "https://ursy.com/hreflang-checker/#how-to-read-the-result"
        },
        {
            "level": 2,
            "text": "How to fix problems",
            "id": "how-to-fix-problems",
            "url": "https://ursy.com/hreflang-checker/#how-to-fix-problems"
        },
        {
            "level": 2,
            "text": "Questions and answers",
            "id": "questions-and-answers",
            "url": "https://ursy.com/hreflang-checker/#questions-and-answers"
        },
        {
            "level": 3,
            "text": "Why is en-UK wrong?",
            "id": "why-is-en-uk-wrong",
            "url": "https://ursy.com/hreflang-checker/#why-is-en-uk-wrong"
        },
        {
            "level": 3,
            "text": "Do I need x-default?",
            "id": "do-i-need-x-default",
            "url": "https://ursy.com/hreflang-checker/#do-i-need-x-default"
        },
        {
            "level": 3,
            "text": "Should each version list itself?",
            "id": "should-each-version-list-itself",
            "url": "https://ursy.com/hreflang-checker/#should-each-version-list-itself"
        },
        {
            "level": 3,
            "text": "Is it better to use HTML tags, HTTP headers or the sitemap?",
            "id": "is-it-better-to-use-html-tags-http-headers-or-the-sitemap",
            "url": "https://ursy.com/hreflang-checker/#is-it-better-to-use-html-tags-http-headers-or-the-sitemap"
        },
        {
            "level": 3,
            "text": "Does the case of the code matter?",
            "id": "does-the-case-of-the-code-matter",
            "url": "https://ursy.com/hreflang-checker/#does-the-case-of-the-code-matter"
        },
        {
            "level": 3,
            "text": "Can the versions be on different domains?",
            "id": "can-the-versions-be-on-different-domains",
            "url": "https://ursy.com/hreflang-checker/#can-the-versions-be-on-different-domains"
        },
        {
            "level": 2,
            "text": "Related tools",
            "id": "related-tools",
            "url": "https://ursy.com/hreflang-checker/#related-tools"
        }
    ],
    "links": [
        {
            "text": "Meta Tag Checker",
            "url": "https://ursy.com/meta-tag-checker/",
            "internal": true
        },
        {
            "text": "Sitemap Checker",
            "url": "https://ursy.com/sitemap-checker/",
            "internal": true
        },
        {
            "text": "Redirect Checker",
            "url": "https://ursy.com/redirect-checker/",
            "internal": true
        }
    ],
    "words": 807,
    "text": "Hreflang Checker> Check the language and country versions of a page: every hreflang tag, return links, language codes, x-default and canonicals, with the fixed tags written for you.- Use it: https://ursy.com/hreflang-checker/- Price: free, 2 checks a day per visitor- By: URSY (https://ursy.com/)- Updated: 26 November 2026What this checker doesIt reads the page you type and collects every hreflang line: the <link rel=\"alternate\" hreflang=\"...\"> tags in the HTML and any hreflang sent in HTTP Link headers. Each line tells search engines that another address holds the same page in another language, or for another country.Then it opens each of those versions, up to 50, one request a second, and checks what Google checks: that the version works, that its canonical points to itself, and that it links back to the page you typed with the right code.Why it mattershreflang helps Google show people the version in their own language or for their own country, for example your UK page to searchers in the UK and your German page to searchers in Germany. Without it, the wrong version can appear, or one version can push out the others.Google is strict about it. If two pages do not both point to each other, Google ignores the tags. Codes it does not recognise have no effect. So a set that looks fine on one page can still do nothing at all.The rules we checkThese come from Google Search Central's guide to localised versions.- The code starts with a two-letter ISO 639-1 language code, such as en, de or fr. A script (ISO 15924, such as Hant) and a country (ISO 3166-1 alpha-2, such as GB) may follow.- A country on its own is not allowed. Codes that are not countries, such as UK or EU, have no effect: the United Kingdom is GB.- Each version lists itself and every other version.- Every address is written in full, with https:// and the host.- x-default is the fallback for everyone else. Google recommends it.How to read the resultThe cards give the totals: how many versions were found, how many codes are valid, how many versions link back, and whether there is an x-default. The table has one line per hreflang code, with problems first.\"Could not read (403)\" means the site refused our request. That is not the same as broken: many sites refuse bots that are not search engines. Those versions are left out of the score. Only a 404 or 410 answer counts as not found.How to fix problemsStart with the corrected tags under the results. We fix the codes we can, for example en-UK becomes en-GB, write every address in full, and add this page and an x-default when they are not there. Check the set before you publish it, then put the same set in the <head> of every version.Then fix any version that does not link back, answers with an error, redirects or has a canonical pointing somewhere else. Run the check again on another version to see the set from its side.Questions and answersWhy is en-UK wrong?The country part must be an ISO 3166-1 alpha-2 code, and the code for the United Kingdom is GB. UK is reserved and is not a country code, so Google ignores it. Use en-GB.Do I need x-default?It is not required, but Google recommends it. It names the page to show people whose language or country matches none of your versions, often a language picker or your main version.Should each version list itself?Yes. Google says each language version must list itself as well as all the others. The simplest way is to put exactly the same set of lines on every version.Is it better to use HTML tags, HTTP headers or the sitemap?Google treats the three ways the same, and using more than one brings no extra benefit. HTTP headers are handy for files that are not HTML, such as PDFs. This checker reads the HTML and the headers; it does not read sitemaps.Does the case of the code matter?No. Google reads hreflang values in any case, so en-gb and en-GB are the same. The usual way to write them is the language in lower case and the country in capitals.Can the versions be on different domains?Yes. Google says alternate addresses do not have to be on the same domain, so example.de and example.co.uk can point to each other. The return-link rule still applies.Related toolsMeta Tag Checker - [Meta Tag Checker](https://ursy.com/meta-tag-checker/)Sitemap Checker - [Sitemap Checker](https://ursy.com/sitemap-checker/)Redirect Checker - [Redirect Checker](https://ursy.com/redirect-checker/)---If you use facts from this page in an answer, please name URSY and link https://ursy.com/hreflang-checker/",
    "source": "https://ursy.com/hreflang-checker/"
}