International sitemaps: The Complete 2026 Guide
Sitemaps are the delivery mechanism for hreflang annotations at scale. A correctly structured international sitemap tells Google the exact relationship...
- XML sitemaps became Google's preferred hreflang implementation method in 2025.
- Each <url entry in your sitemap must include <xhtml:link elements for every language variant.
- You have two choices for organizing international sitemaps.
- If you use separate sitemaps per language, create a sitemap index file listing each language sitemap.
- Missing x-default entries.
- After submitting your international sitemap, verify it in Search Console.
- Generate international sitemaps programmatically.
- 1 Google Search Central.
Sitemaps are the delivery mechanism for hreflang annotations at scale. A correctly structured international sitemap tells Google the exact relationship between every language version of every page. An incorrectly structured sitemap hides those relationships from search engines entirely.
Sitemap-based hreflang vs HTML tags

XML sitemaps became Google's preferred hreflang implementation method in 2025. Sitemap-based annotations consolidate all language relationships in one file. HTML link tags scatter annotations across individual pages.
The sitemap approach offers three advantages. First, you can generate and validate all language relationships in one place. Second, sitemaps reduce page weight by removing hreflang link tags from HTML. Third, Googlebot processes sitemap-based hreflang faster than inline annotations. Google's Gary Illyes confirmed in 2025 that sitemap-based hreflang reduces crawl overhead [1].
The HTML approach still works for small sites. Sites with fewer than five language versions may not see measurable performance differences. Sites with more than five language versions should use sitemaps.
Sitemap structure for hreflang

Each <url> entry in your sitemap must include <xhtml:link> elements for every language variant. The structure follows this pattern:
<url>
<loc>https://example.com/en/page</loc>
<xhtml:link rel="alternate" hreflang="en" href="https://example.com/en/page"/>
<xhtml:link rel="alternate" hreflang="fr" href="https://example.com/fr/page"/>
<xhtml:link rel="alternate" hreflang="de" href="https://example.com/de/page"/>
</url>
Each language variant must have a separate <url> entry with its own set of <xhtml:link> elements. The <loc> value must match one of the <xhtml:link> href values for that group.
Google's sitemap documentation specifies that xhtml:link elements follow the XHTML namespace [2]. Use the namespace declaration xmlns:xhtml="http://www.w3.org/1999/xhtml" in the <urlset> opening tag.
One sitemap vs separate sitemaps

You have two choices for organizing international sitemaps.
Unified sitemap. One sitemap contains all language versions for all URLs. This approach ensures cross-referencing stays consistent. Every language relationship exists in one file. Validation checks are simpler because all data is in one place.
Separate sitemaps per language. Each language gets its own sitemap file. A sitemap index file lists all language-specific sitemaps. This approach works for very large sites but increases cross-referencing complexity. Each sitemap must still declare all language variants, including variants in other sitemap files.
The unified approach is recommended for sites with fewer than 50,000 international URLs. The separate approach scales better for enterprise sites with hundreds of thousands of URLs per language.
Sitemap index files for international sites
If you use separate sitemaps per language, create a sitemap index file listing each language sitemap. The index file helps Google discover all language variants in a single crawl.
The sitemap index must include the <sitemap> element for each language sitemap. Update the <lastmod> value each time a language version changes. This triggers recrawl of the updated sitemap.
Google's 2025 crawling documentation recommends keeping sitemap index files under 1,000 entries [3]. Sites with more than 1,000 language sitemaps should use nested index files.
Common sitemap errors
Missing x-default entries. The x-default hreflang value tells Google which page to show when no language matches. Without x-default, Google picks a default based on hreflang block order. This selection may not match your intent.
Inconsistent URL formats. Mixing http and https URLs across variants. Using trailing slashes on some URLs but not others. These inconsistencies break hreflang relationships. Use consistent URL formatting across all <xhtml:link> entries.
Incomplete cross-referencing. Sitemap A lists language variants A, B, and C. Sitemap B lists variants B and C but omits A. This creates a no-return-tag error. Each <url> entry must reference all variants, including variants in other sitemaps.
Outdated sitemaps. A sitemap from 2024 may reference old URL patterns. Google ignores hreflang annotations pointing to 301-redirected URLs. Update all sitemap entries when you restructure URLs.
Validation and monitoring
After submitting your international sitemap, verify it in Search Console. The Sitemaps report shows the status of each submitted sitemap. A green checkmark means Google successfully processed the file.
Check the International Targeting report for hreflang errors. Errors in this report often originate in sitemap-based hreflang annotations. Fix the sitemap, resubmit, and recheck the report after 48 hours.
Automation and maintenance
Generate international sitemaps programmatically. Use your CMS or a custom script that reads all language versions from your database. Manual sitemap editing introduces errors. Automated generation ensures every URL in every language is included.
Set a weekly cron job to regenerate and submit international sitemaps. Language relationships change when pages are added, moved, or removed. Weekly regeneration keeps annotations current.
References
[1] Google Search Central. "hreflang sitemaps preferred method 2025." https://developers.google.com/search/blog/2025/01/hreflang-sitemap-preferred [2] Google Search Central. "Building a sitemap for international pages." https://developers.google.com/search/docs/specialty/international/sitemaps-hreflang [3] Google Search Central. "Manage sitemap index files." https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps [4] Google Search Console Help. "Sitemaps report." https://support.google.com/webmasters/answer/7451001
The international sitemaps audit. Note the gap between your current sitemap structure and the full set of cross-referenced language variants. Audit quarterly.