Updated
Using Hreflang tag generator
Hreflang tag generator normalizes language-tag casing, rejects duplicates and escapes each URL. It generates tags without requesting any of the pages.
A worked example
en-US paired with https://example.com/en becomes one alternate link. x-default can identify your language-selection page.
Before you use the result
Use reciprocal links on every equivalent page, including the current page. Syntactically valid tags do not prove that the language, translation or destination exists.
Cite this page
ToolOctopus. “Hreflang tag generator.” Updated 2026-09-19. https://tooloctopus.com/hreflang-tag-generator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.
