tags. Runs 100% in your browser." /> tags from language/region + URL pairs. Includes x-default, validation, and copy/download." />

Hreflang Tag Generator FREE

πŸ”’ Runs locally in your browser
Inputs
If your canonical URLs always use (or avoid) trailing slashes, normalize them here before generating tags.
Required only if x-default is enabled. Usually your global homepage or language selector.
Language / Region URL Notes Actions
Enter codes like en, en-US, pt-BR, zh-HK. Region must be AA (ISO 3166-1 alpha-2) or 999 (UN M.49). Paste multiple lines in the first cell: en-US\thttps://example.com/us/.
Add your language/region + URL rows, then generate tags.
Output
Tip: Place these tags in the <head> of each page, with the set containing all alternates + self-referencing hreflang.
Preview
0 tags 0 invalid
hreflang href notes
No entries yet.

About hreflang

hreflang tags help search engines understand language and regional targeting for equivalent pages. Each page should reference all alternates (including itself) using <link rel="alternate" hreflang="…" href="…">.

Code format (basic)

Notes