- Input
- One language code and URL per line: en https://example.com/en it https://example.com/it
- x-default URL (optional): https://example.com/en
- Result
- <link rel="alternate" hreflang="en" href="https://example.com/en"> <link rel="alternate" hreflang="it" href="https://example.com/it"> <link rel="alternate" hreflang="x-default" href="https://example.com/en">
Hreflang tag generator
Enter equivalent page URLs and language or region codes. Generate reciprocal hreflang tags with an optional x-default version for review.
Result
Your result will appear here.
We count which tools are used most, without including entered values or file contents in the statistics. Privacy