Hreflang Generator
Create HTML hreflang link tags from language and URL pairs. These tags describe real alternate-language pages, so verify that each corresponding translation exists before publishing the generated block.
- Runs in your browser
- Nothing is uploaded
- No signup; device limits apply
Loading the tool. If it does not appear, reload this page.
How to use this tool
Enter an accepted language code and a complete HTTPS URL per row. Include the current page itself and place reciprocal alternatives on every participating translation.
Results and examples
If Korean /tools/sample and English /tools/en/sample are published, both pages should list the ko and en URLs. Use x-default only for an actual default destination or language-selection policy.
Limitations
- The generator does not check HTTP responses or whether translations are complete.
- The tags do not guarantee indexing or a particular language choice in search results.
Fields
| Field | Guidance and constraints |
|---|---|
| x-default URL (optional) | Check the unit and format displayed beside this field. |
| link rel=alternate | Check the unit and format displayed beside this field. |
Data handling
Processing stays in the current browser tab; the site does not upload tool input for the calculation itself.
Sources
Frequently asked questions
Where should the Korean and English tags go?
If Korean /tools/sample and English /tools/en/sample are published, both pages should list the ko and en URLs. Use x-default only for an actual default destination or language-selection policy.
Is x-default always required?
The generator does not check HTTP responses or whether translations are complete. The tags do not guarantee indexing or a particular language choice in search results.