Free Hreflang Schema & Tag Generator
2. Configure Language & Regional URLs
Add all alternate versions including default and self-referential links.
No languages found.
No regions found.
Validation & Formatting Options
Live SEO Check & Audit
Pro Tip: Reciprocal Links
Hreflang tags must be reciprocal. Every page linking to an alternate version must have that alternate version link back to it, otherwise search engines may ignore them.
How to Use the Hreflang Tag Generator
Build reciprocal hreflang tags for every language and region version of a page.
1. Enter Your Details
Fill in the fields with your page or site information.
2. Review the Preview
Check the live preview to see exactly how it will appear.
3. Copy or Download
Copy the generated output or download it for your CMS.
Understanding Hreflang Tag Implementation
Everything you need to know to avoid duplicate content penalties and rank globally.
Correct ISO Codes
Language codes must be ISO 639-1 (e.g. es) and region codes must be ISO 3166-1 Alpha-2 (e.g. MX).
Self-Referential Links
Each page must include a tag pointing to itself alongside its alternate localized versions.
The x-default Tag
Use x-default to specify the fallback URL for unmatched visitors or global landing pages.
Frequently Asked Questions
Still stuck? Contact us.
Explore More Tools
Discover more free tools to help you build, test, and optimize your site.