Enter your sitemap URL, or just your domain and we will find the sitemap. We check the file and test a sample of the pages it lists.
What this sitemap validator checks
An XML sitemap is a list of the pages you want search engines to find. This tool loads your sitemap the way Google does, checks the file itself, then opens a sample of the listed pages to see if they actually work.
- The file: valid XML, the right root element and namespace, under 50,000 URLs and 50 MB.
- The addresses: full https URLs on the same domain, no www/non-www mix, no duplicates.
- The dates: lastmod in the right format, not in the future, not the same fake date on every page.
- The pages: up to 10 listed pages, spread through the list. Each should load with status 200, not redirect, not be noindex, and name itself as canonical.
Where is my sitemap?
Enter just your domain and we look in robots.txt, then at the usual places. WordPress has a built-in sitemap at /wp-sitemap.xml. Yoast and Rank Math use /sitemap_index.xml. List your sitemap in robots.txt with a line like Sitemap: https://example.com/sitemap_index.xml, and submit it in Google Search Console and Bing Webmaster Tools.
The most common sitemap problems
- Redirecting URLs after a move to https or a change of permalinks. Regenerate the sitemap.
- Noindex pages listed, such as tag archives or thank-you pages. Exclude them in your SEO plugin.
- A web page instead of XML: a caching or security plugin serving HTML, or a 404 page with status 200.
- An unescaped & in a URL, which breaks the whole file.
FAQ
Does every site need a sitemap?
Small, well-linked sites can be found without one, but a sitemap costs nothing and helps new pages get found faster. WordPress makes one automatically.
Do changefreq and priority matter?
Google ignores them. Bing may use them a little. An accurate lastmod is the only optional field that really helps.
How many URLs can one sitemap have?
50,000 URLs and 50 MB uncompressed. For more, split them into several sitemaps and list those in a sitemap index.
Why do you only check 10 pages?
Checking every page would take minutes and put load on your server. A spread-out sample of 10 catches most systematic problems.