CSV Matrix to Bidirectional Hreflang XML Sitemap Converter.
Paste a spreadsheet matrix of translated URLs (header row with ISO language codes like he,en,x-default) to generate a complete bidirectional xhtml:link XML sitemap.
URL clusters mapped2
Hreflang links generated4
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://site.co.il/</loc>
<xhtml:link rel="alternate" hreflang="he" href="https://site.co.il/" />
<xhtml:link rel="alternate" hreflang="en" href="https://site.co.il/en/" />
<xhtml:link rel="alternate" hreflang="x-default" href="https://site.co.il/en/" />
</url>
<url>
<loc>https://site.co.il/en/</loc>
<xhtml:link rel="alternate" hreflang="he" href="https://site.co.il/" />
<xhtml:link rel="alternate" hreflang="en" href="https://site.co.il/en/" />
<xhtml:link rel="alternate" hreflang="x-default" href="https://site.co.il/en/" />
</url>
<url>
<loc>https://site.co.il/pricing</loc>
<xhtml:link rel="alternate" hreflang="he" href="https://site.co.il/pricing" />
<xhtml:link rel="alternate" hreflang="en" href="https://site.co.il/en/pricing" />
<xhtml:link rel="alternate" hreflang="x-default" href="https://site.co.il/en/pricing" />
</url>
<url>
<loc>https://site.co.il/en/pricing</loc>
<xhtml:link rel="alternate" hreflang="he" href="https://site.co.il/pricing" />
<xhtml:link rel="alternate" hreflang="en" href="https://site.co.il/en/pricing" />
<xhtml:link rel="alternate" hreflang="x-default" href="https://site.co.il/en/pricing" />
</url>
</urlset>How to use this in your SEO workflow
- Moving hreflang annotations from HTML <head> into XML sitemaps trims page weight and guarantees 100% reciprocal return tags.
- Ensure row 1 lists valid ISO 639-1 language codes (plus optional x-default).
- Every URL in a cluster row automatically receives self-referencing and sibling alternate links.
Related in-depth SEO guides
Strategy
Fix Indexability and Status-Code Blockers Before Cosmetic Warnings
Triage technical audit findings by real ranking impact instead of getting bogged down in minor meta-length notices.
Data readingRespect Crawl Bounds and Partial Coverage Indicators
Understand what observed-HTML bounded crawls measure—and how partial coverage prevents false "all clear" assumptions on large sites.