# How to Check an XML Sitemap Before Submitting It

https://ferkesh.net/knowledgebase/article/check-xml-sitemap

![A sitemap review checks the XML and samples public canonical URLs before submission.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-v1.svg#check-xml-sitemap)

## Find the sitemap your site serves

Use your website platform's sitemap setting or read the site's robots.txt to see advertised sitemaps. Open the sitemap in a browser. A sitemap index lists child sitemap files, which you should also be able to open. If the URL displays a normal homepage or a sign-in form, verify that the address is correct and that the sitemap is available to anonymous visitors.

Pick examples from each page type, including pages recently added or moved. Open them without signing in. Each should show the expected content on the preferred public address. Review any redirects. If a listed URL leads to a different canonical address, update the source of the sitemap to use the preferred destination.

## Check page directives and scope

Look for the rendered canonical link and an unintended noindex directive. If the same content has multiple addresses, make the sitemap, internal links and canonical signals agree. Keep private account pages, session-specific URLs and staging previews out of the public sitemap. A sitemap itself does not remove restrictions, grant access or force a search engine to index a page.

For a category you want searchable, also make sure visitors can reach it from a public link. That helps users discover related material and makes the sitemap one part of a navigable site.

## Submit once and investigate reports

If you already have an authorized Search Console property for the correct site, submit the legitimate sitemap there and review its fetch status. A sitemap processed successfully can still contain URLs that are excluded from the index. Use URL Inspection on a representative page to investigate canonical selection, crawl access or a noindex instruction instead of repeatedly requesting indexing.

Open the [Sitemap XML Validator](https://tools.ferkesh.net/sitemap-xml-validator/) and paste the XML or select the downloaded sitemap to check its structure before submission.

## Related resources

- [Website Launch Checklist for Small Businesses](https://ferkesh.net/knowledgebase/article/website-launch-checklist)

## Official references

- [Google sitemap instructions](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap)
- [Google canonicalization guidance](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)

Ferkesh Hosting. Last reviewed November 26, 2026.

If the XML lists sitemap files instead of page URLs, [review an index and its child sitemaps](https://ferkesh.net/knowledgebase/article/check-child-sitemaps-in-index) to find which child contains the affected URL.

If a submitted URL appears to return 200 and Google reports a missing page, [diagnose soft 404s in Search Console](https://ferkesh.net/knowledgebase/article/google-sitemap-soft-404-triage) using the rendered response.

If the XML is valid but you still suspect missing pages, [compare the sitemap against your canonical URL inventory](https://ferkesh.net/knowledgebase/article/sitemap-release-coverage-diff) to check coverage after a release.
