Hreflang XML sitemap generator
Build a sitemap with xhtml:link hreflang annotations for localized pages, with every alternate listed on every URL as Google's documentation requires.
Build correct <link rel="alternate" hreflang> tags for a set of localized URLs and check them against Google's reciprocity and x-default rules.
Runs entirely in your browser. Nothing you enter is uploaded, logged or stored.
Hreflang tags tell Google which URL to show for a given language and region, and which other URLs are alternate versions of the same page. Getting the tag syntax right is the easy part; the rules that make Google actually trust the set are what most hreflang implementations get wrong.
Google’s own documentation states that if two pages do not both point to each other, the annotations are ignored. This means hreflang is not a one-way hint you drop on your primary page. Every URL in the set needs a link tag pointing at itself and at every other URL, including the version currently being crawled. A common failure mode is a site that lists all its translations on the English homepage but never adds the reciprocal tags on the translated pages themselves; Google treats that set as unreliable and may ignore it entirely for the URLs that fail to reference themselves.
The x-default value marks a fallback page for visitors whose language and region do not match any of the listed versions, commonly a language selector or a default locale. Google documents it as optional and recommended, not required. Adding it does not change how the other language versions rank against each other; it only affects what a visitor with an unmatched language setting sees. Sites with only two or three language versions can often skip it without penalty, but any set built for a broad international audience benefits from having one.
This tool runs entirely in the browser: no URL or code you enter is sent anywhere. Because it has no way to crawl the other pages in a set, its reciprocity check is limited to what the entered data can prove, that each URL has a row pointing back at its own language. It cannot confirm that the live page at that URL actually carries the matching tags, so treat a clean result here as a starting point, then verify the live pages with Search Console’s International Targeting report.
Build a sitemap with xhtml:link hreflang annotations for localized pages, with every alternate listed on every URL as Google's documentation requires.
Paste status codes and see how Google's crawlers document handling each one, plus a redirect hop count against Google's 10-hop default.
Validate robots meta tags and X-Robots-Tag headers against the rules Google documents, and see the combined result for Googlebot.
Normalize a list of URLs by RFC 3986 rules and your own policy, then see which URLs collapse into the same page and need one canonical.