Content, Hreflang & SERP · FREE SEO UTILITY

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.
Audit international URLs in Site Audit
More utilities in this category:

Related in-depth SEO guides

SEO Academy