hreflang Tag Generator

Compose the hreflang annotation for a multilingual page, as <head> link tags and HTTP header Link lines.

Codes
OFF
Variant URLs
OFF
Self-reference
OFF
Output
OFF

Current Page

The page you are annotating. One of the translation rows below must point back to this exact URL.

Translations

+ Add one row per language variant.

Codes: two-letter language, optionally a two-letter region (e.g. en, en-us, fr, es-419). x-default is allowed at most once. Row URL fields also accept es-419-style regions with digits.

Generated Annotation

IDLE
<head> · <link rel="alternate"> tags
Paste inside the <head>. Google reads annotations from both the <head> and the HTTP header — matching either is enough, both is better.
IDLE
HTTP response · Link: headers
One Link: header per line. In Nginx/Apache send each as its own Link: header; CDNs like Cloudflare accept the raw lines verbatim.