How it works
Hreflang tag generator normalizes language-tag casing, rejects duplicates and escapes each URL. It generates tags without requesting any of the pages.
Worked example
en-US paired with https://example.com/en becomes one alternate link. x-default can identify your language-selection page.
Before you rely on 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 . 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. License and source code.