About this tool
Hreflang tags tell search engines which language or region each version of a page targets. Add each version and copy the tags.
How to use Hreflang Tag Generator
- Add a language code and URL for each version.
- Optionally add an x-default fallback.
- Paste the tags into the head of every version.
Frequently asked questions
What format do codes use?
Language codes like en or hi, optionally with a region such as en-GB.
Must every page list all versions?
Yes. Each version must link to all others and itself.