Hreflang Tag Generator — SEO & Marketing Tools — Zapit

Hreflang Tag Generator

Generate hreflang tags for multilingual and multi-regional SEO.

Tip: Add an x-default entry to specify the fallback page for unmatched locales.

Output format

Language / Region Entries

1
2

Generated Tags (0 valid)

Fill in at least one URL to generate tags…

Paste these tags inside the <head> of each respective language version of the page.

Generate correctly formatted hreflang link tags for multi-language and multi-regional websites. Add language/region pairs, enter each page's URL, and copy the tag block into every version's <head> section.

Key Features

28 locale presets
Quick-select from 28 common language-region combinations (en-US, es-MX, zh-CN, etc.) or type a custom locale code.
x-default support
Includes x-default in the preset list — the fallback URL shown to users whose locale does not match any specific entry.
link vs meta format
Output either the recommended <link rel="alternate" hreflang="…"> format or the older <meta http-equiv="content-language"> variant.
x-default reminder
The tool warns you if you have multiple entries but no x-default, helping you avoid a common hreflang implementation mistake.

How to Use

  1. 1Add a row for each language/region version of the page.
  2. 2Select the locale and enter the full absolute URL for that version.
  3. 3Add an x-default entry pointing to your default/international page.
  4. 4Copy the generated tags and paste them into the <head> of every language version.

Frequently Asked Questions