SEO tool

Hreflang Generator

Generate hreflang tags for multilingual and multi-region sites, with x-default support.

For multilingual sites, hreflang tells search engines which language/region to show. Generate the tags here.

Free · runs in your browser

One per line: lang | URL

Output

Run this tool

Free daily runs · Pro is unlimited.

How to use Hreflang Generator

  1. Add each language and URL.
  2. Copy the hreflang tags.
  3. Paste them into the page head.

Frequently asked questions

What is x-default?

The fallback page for users whose language isn't matched.

Hreflang vs canonical?

Use hreflang for language variants; each still has its own self-referencing canonical.

Is it free?

Yes, free with no signup.

Automate this at scale

MarsGeo Pro adds bulk audit, programmatic SEO page generation and API access.

See plans

Related tools

Robots.txt Generator

Generate a valid robots.txt with allow/disallow rules, sitemap and crawl-delay. Copy and p…

Open →

XML Sitemap Generator

Paste your URLs and generate a valid XML sitemap ready to submit to Google Search Console.…

Open →

Canonical Tag Checker

Paste a page's HTML and instantly see its canonical tag, title, meta description, H1 and O…

Open →

Meta Description Generator

Turn a paragraph into a clean, length-checked meta description with a live SERP preview.…

Open →

SEO Title Generator

Generate title tag variants for a keyword and see how they look in Google with a pixel-wid…

Open →

Open Graph Generator

Generate Open Graph and Twitter Card meta tags so your link previews look right on social …

Open →