Free hreflang tag generator

    Add your language-region URLs, one per line — get both the <link rel='alternate'> block and the sitemap XML variant, plus a validation summary.

    LemAudit Editorial
    By LemAudit Editorial · Research teamLast reviewed

    One per line, format: lang-REGION | absolute URL. Use "x-default" for the language/region fallback. Lower-case language, upper-case region (we auto-fix the case).

    Use {lang} where the locale goes. Combined with the locale list below, this expands to one tag per locale — faster than typing every row.

    Comma or space separated. Casing is normalised for you (en-gb becomes en-GB).

    Which locale's URL should also be served as x-default (the fallback for users you do not target). Leave blank to skip.

    How we made this page

    Last tested: .

    This tool runs entirely in your browser — no server call, no logging, no data retention. We compute the output from your inputs the moment you submit, and validate the result against the relevant public spec before showing it.

    Free canonical tag generator
    Paste the URL you want to set as canonical — get the <link>, og:url and JSON-LD snippets you need, all consistent.
    What CMS is this website running?
    Paste any URL and we will tell you which CMS it runs on, along with the framework, analytics, AI-bot policy and agent-readiness signals live on the site right now.

    Check the rest of the site while you're here

    This tool fixes one thing. A free LemAudit scan checks the whole site — technical health, on-page, performance, security and AI search readiness — and scores it in about 30 seconds.

    Already ran one? Create a free account to save reports, re-run them on a schedule and track scores over time.