Add Schema Checker to your device

Use your browser menu to install this website as an app or add it to your home screen.

Step-by-step tool guide • FAQ

Check and Generate hreflang HTML and XML Sitemaps

Create hreflang link tags, inspect existing HTML and test reciprocal annotations across user-supplied language pages or XML sitemap entries.

Try the live tool: Open Check and Generate hreflang HTML and XML Sitemaps →

What this tool does

Create hreflang link tags, inspect existing HTML and test reciprocal annotations across user-supplied language pages or XML sitemap entries.

1. Enter the language alternatives

Use one language | URL per line, for example en | https://example.com/en/ and ur-PK | https://example.com/ur/. Add x-default only if your site has a suitable fallback page. Use real canonical URLs.

2. Generate HTML or XML

Choose HTML link tags for page head markup or XML sitemap for sitemap annotations. Copy or download the generated result. For XML, a distinct x-default fallback URL also gets its own sitemap URL entry. Send generated XML to Sitemap Checker transfers it locally.

3. Check HTML and reciprocal links

Paste one page head to inspect its tags. For reciprocity, supply a JSON array of objects with url and html for each language page. The tool checks return links only between supplied pages.

4. Validate XML sitemap annotations

Paste the generated or existing XML sitemap and run Validate hreflang sitemap. Review duplicate language codes, missing self-links and missing return annotations.

Practical example

For English and Urdu pages, include en, ur-PK and optionally x-default. Each supplied page should link to its own URL and the other language version.

Limits and responsible use

The checker never fetches URLs, cannot prove reciprocal links on unsupplied pages and does not guarantee Google indexing, language selection or canonical decisions. It supports a practical language-script-region subset and XML urlset annotations.

Keep the original markup for comparison. Review facts against the real page, and use the dated Google feature catalogue or official Google Search Central documentation where relevant. A local check is not a search-ranking or rich-result guarantee.

Authoritative references

Frequently asked questions

Answers are educational. FAQ markup does not guarantee Google FAQ rich results.

Does this tool visit the other language pages?

No. Reciprocal links are checked only between the page HTML or XML sitemap entries you provide.

Is x-default mandatory?

No. It is an optional annotation for a fallback or language-selection page.

Does correct hreflang guarantee Google will show the chosen language?

No. Search engines make their own canonical and language-serving decisions.

← All guides · Open tool →

We are here to help

Need help with a tool?

Found a bug, unexpected result, or problem downloading a corrected file? Contact our support team. We welcome clear reports and suggestions.

Have a suggestion for improving or changing any of our tools? Please don't hesitate to contact our support team. We'd be happy to hear from you. Thank you for your feedback!

Get Edge ExtensionMicrosoft Edge · Coming Soon
Get it fromMicrosoft StoreComing Soon for Windows

Schema Support Checker Edge extension and Windows app are coming soon.

PASS SOMETHING USEFUL ON

Share this guide

Good website tools are
worth sharing.

Found this guide useful? Share this exact page with someone who may benefit. The Share Card never redirects to a different article, guide or tool.

Share only this page's public URL; your pasted input, results and uploaded files are never included.

You can also link to this page from your blog, community or project guide.
From the same owner

Explore our other projects

Imran Saeed
Developed by Imran Saeed

Independent tools for freelancers, developers and website owners.

Find structured data issues, understand Google guidance and apply safe fixes on your device.

Connect with Imran Saeed