Free SEO tool

Sitemap validator and tester

Check an XML sitemap for errors before Google does. Enter a domain and we'll find the sitemap, validate it against the sitemaps.org protocol and spot-check live URLs.

Enter a domain and we'll look in robots.txt and the usual locations, or paste the exact sitemap URL. Public sites only.

What a sitemap validator checks

How to find a website's sitemap

Try these in order: the /robots.txt file (look for Sitemap: lines), /sitemap.xml, /sitemap_index.xml, and platform defaults such as /wp-sitemap.xml on WordPress. In Google Search Console, the Sitemaps report lists every sitemap submitted for your property. This tool runs the first three lookups automatically when you enter just a domain.

Common sitemap errors and fixes

The sitemap returns HTML instead of XML

Usually a redirect to a login page, a 404 page served with status 200 or a caching layer. Open the URL in a browser and confirm it displays XML.

URLs on a different host

A sitemap on www.example.com can't list example.com URLs. Align the host (and protocol) with your canonical version.

Broken or redirecting URLs

List only canonical, indexable URLs that return 200. Remove redirected, noindexed and deleted pages, or crawlers waste time on them.

Over the size limit

Split the file and reference the parts from a sitemap index. Many CMS plugins do this automatically.

After your sitemap is valid

A clean sitemap helps discovery, but it doesn't make pages rank. Next, see which pages actually get impressions and where small changes would win clicks. Search Console keyword research and the striking distance keywords tool are good places to start.

Frequently asked questions

How do I validate a sitemap?

Enter your domain or the full sitemap URL above. The tool fetches the file, checks it against the sitemaps.org protocol (structure, namespace, limits, URL formats and dates) and spot-checks a few live URLs for broken links.

How do I find the sitemap of a website?

Check yourdomain.com/sitemap.xml and yourdomain.com/sitemap_index.xml, then open yourdomain.com/robots.txt and look for lines starting with Sitemap:. Many CMSs also expose /wp-sitemap.xml or /sitemap/ paths. This tool checks robots.txt and the common locations for you.

What are the sitemap size limits?

A single sitemap file may contain up to 50,000 URLs and be up to 50 MB uncompressed. Larger sites split URLs across several files and list them in a sitemap index.

Do I need <priority> and <changefreq>?

No. Google has said it ignores <priority> and <changefreq>. An accurate <lastmod> is the only optional field that helps, and only if it reflects real content changes.

How do I submit a sitemap to Google?

In Google Search Console, open Sitemaps, enter the sitemap path and click Submit. You can also add a Sitemap: line to robots.txt.

Why is my sitemap 'could not be read' in Search Console?

Common causes: the URL returns an error or an HTML page, the XML is malformed, the file is blocked by robots.txt or a firewall, or it lists URLs from another host. Run it through this validator to see which applies.

Does this tool store my sitemap?

No. The file is fetched, checked and discarded. Only public websites can be checked.

Find the SEO problems a validator can't see

Connect Google Search Console and ElixRank turns your real data into a ranked fix list: quick wins, CTR gaps and technical issues.