HomeFree SEO toolsSitemap validator
Free XML sitemap validator for sitemaps and sitemap indexes
Fetch a sitemap, a sitemap index or a gzipped sitemap, or paste the XML. We check that it is built correctly, stays inside the limits, uses valid dates and points at the right host. You can also test the status of a sample of its URLs.
Free, no account. The sitemap and the results are not stored. Fair-use limits apply per network.

What it checks
Structure
A urlset of url entries with a loc, or a sitemapindex of sitemap entries. XML that is malformed, or has the wrong root element, is reported with what was found.
The protocol limits
At most 50,000 URLs in one sitemap and 50 MB uncompressed. A gzipped file is unpacked with a cap, so a small download that expands into something huge is stopped and reported.
lastmod dates
Must use the W3C date format, such as 2026-11-20 or 2026-11-20T09:30:00+00:00. Dates in the future and unusual formats are flagged.
URL host
Every loc should be an absolute address on the same host as the sitemap. Entries for other hosts, or with a different scheme (http against https), are listed.
URL status sample (optional)
Send up to 50 of the URLs a HEAD request and see their status codes, so redirects, 404s and server errors in your sitemap show up.
How to read the result
- Errors are things that make crawlers skip entries or the whole file, such as bad XML or going over a limit. Warnings are things that are legal but worth a look, such as a redirecting address.
- A sitemap index lists other sitemaps. We validate the index itself and list its children. You can then paste or fetch each child to check it.
- The status sample is a sample. Fifty addresses show whether there is a pattern, such as a whole section redirecting, not whether every page is fine.
- Duplicate addresses are counted. They are not an error but they waste the 50,000 you are allowed.
Common problems and how to fix them
Redirecting or 404 addresses in the sitemap
A sitemap should list the final, indexable address of each page. Replace redirecting addresses with their targets and remove pages that no longer exist.
Over 50,000 URLs or 50 MB
Split the file into several sitemaps and list them in a sitemap index. Many CMS plugins do this for you if you set a smaller page size.
The wrong host or protocol
A sitemap at https://www.your-company.test should list addresses on that host. Mixing http and https, or www and non-www, tells crawlers about pages you do not mean to publish.
lastmod is always today
If every page changes its lastmod on every build, search engines learn to ignore it. Set lastmod only when the content of that page changes.
Pages with noindex in the sitemap
A sitemap is a list of pages you want indexed. Remove addresses that carry a noindex tag or are blocked in robots.txt.
The smallest valid sitemap
Only loc is required for each entry. lastmod is optional and worth including when it is accurate. Search engines such as Google say they ignore priority and changefreq, so you can leave them out.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://your-company.test/</loc>
<lastmod>2026-11-20</lastmod>
</url>
<url>
<loc>https://your-company.test/care-plans/</loc>
</url>
</urlset>Honest limits
So you know what to trust.
- We check against the sitemap protocol, not against what each search engine will accept. A valid file can still be ignored if the pages in it are low quality or blocked.
- Fetching has caps. A download is limited to 10 seconds and 10 MB as sent over the wire, and a gzipped file is unpacked only up to 50 MB. Over that, we stop and say so. A very large plain XML file is better served gzipped or split.
- The URL status check uses HEAD requests on up to 50 addresses, one host at a time. Some servers answer HEAD differently from a normal visit.
- It does not crawl your site. It cannot tell you which pages are missing from the sitemap. That is a job for a full audit.
Questions
How many URLs can a sitemap hold?
At most 50,000 URLs and 50 MB uncompressed per file. A sitemap index can list up to 50,000 sitemaps, so large sites use an index.
Do I have to gzip my sitemap?
No. Gzip is optional and saves bandwidth. The 50 MB limit applies to the file after it is unpacked.
Does a sitemap guarantee my pages get indexed?
No. It helps crawlers find pages and learn when they changed. Whether a page is indexed depends on the page.
Where should the sitemap live?
Usually at the root, such as /sitemap.xml, and named in your robots.txt with a Sitemap: line. A sitemap can list addresses only at or below its own location unless the other site proves it allows it.
Which date format does lastmod use?
The W3C datetime format: a date such as 2026-11-20, or a date and time with a time zone. Formats such as 20/11/2026 or “Nov 20” are invalid.
Are the free SEO tools limited?
Yes. Each network address has a fair-use limit per minute and per day, with no account needed, because each check makes our servers fetch your pages. We do not store the addresses you test.
Run a full SEO audit of your site
The validator checks one sitemap file. A full audit compares your sitemap with the pages it actually finds by crawling, so you can see what is missing from it and what should not be in it.
