Generate reciprocal hreflang links for language and regional page variants.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Language and region codes become hreflang link elements or headers, with absolute alternate URLs and optional x-default. Each locale points to the complete alternate set, including itself.
URLs: en:https://example.com/ es:https://example.com/es/ Default lang: en
<!-- Hreflang tags --> <link rel="alternate" hreflang="en" href="https://example.com/"> <link rel="alternate" hreflang="es" href="https://example.com/es/"> <link rel="alternate" hreflang="x-default" href="https://example.com/">
Multilingual stores, translated docs, and international SEO audits generate hreflang.