Hreflang Tag Generator
Enter language codes and URLs; invalid codes like en-UK are corrected and missing x-default is flagged.
Input
One per line, e.g. en-GB https://example.co.uk/ — use x-default for the fallback page.
Output
Fill in the form or pick an example to generate the output.
Published? Check the live pages with the Hreflang Reciprocal CheckerInspect hreflang annotations for language versions
Codes are validated against ISO language and region lists, common mistakes such as en-UK or jp are corrected, and duplicates, relative URLs and a missing x-default are flagged.
Interpret the result
Add the identical set of annotations to every page in the group, then confirm on the live site that each page links back to all the others.
Prioritize fixes
The generator cannot see your pages; annotations only work if every listed URL returns 200, is indexable and carries the same set.
How to interpret hreflang annotations for language versions
Codes are validated against ISO language and region lists, common mistakes such as en-UK or jp are corrected, and duplicates, relative URLs and a missing x-default are flagged.
Limits of this check
The generator cannot see your pages; annotations only work if every listed URL returns 200, is indexable and carries the same set.
Frequently asked questions
What does this tool check?
Codes are validated against ISO language and region lists, common mistakes such as en-UK or jp are corrected, and duplicates, relative URLs and a missing x-default are flagged.
How should I use the result?
Add the identical set of annotations to every page in the group, then confirm on the live site that each page links back to all the others.
What are the limits?
The generator cannot see your pages; annotations only work if every listed URL returns 200, is indexable and carries the same set.
Related URL tools and guides
Hreflang Return-Link Checker
Fetch alternate language pages and verify self references, return links, HTTP status and canonical targets.
Learn moreHreflang Checker
Extract hreflang alternates and review language-region targets and x-default.
Learn moreHTML Lang Checker
Check the HTML lang attribute and compare it with declared hreflang values.
Learn more