SEO tools
XML Sitemap Validator
Check your sitemap, the file that lists your pages for search engines. See if it follows the rules, and test a sample of its pages for errors and noindex.
About sitemaps
What a sitemap does, and what this tool checks
A sitemap is a file that lists the pages you want search engines to find. It helps them discover your pages, but it doesn't make them index a page, so every address in it should be one you want in search results.
- The formatValid XML, saved as UTF-8, that starts with <urlset> or <sitemapindex> and names the sitemaps.org standard.
- Every addressFull addresses on the sitemap's own site, shorter than 2,048 characters, each listed once.
- Dates and hintslastmod in the date format search engines read and never in the future, plus changefreq and priority values.
- The limitsUp to 50,000 addresses and 50 MB in one file. One check reads up to 10 MB, compressed .xml.gz files included.
- Sitemap indexesEvery sitemap an index lists, with the first 5 opened and checked the same way.
- A spot checkUp to 20 listed pages, spread from the first to the last, opened to find errors, redirects, noindex and canonicals that point elsewhere.
Questions people ask
Where is my sitemap?
Most sites keep it at /sitemap.xml or /sitemap_index.xml, and many name it in robots.txt on a Sitemap line. Enter your site's address and this tool looks in both places. WordPress, Shopify, Wix and Squarespace make a sitemap for you.
How big can a sitemap be?
One sitemap file can list up to 50,000 addresses and be up to 50 MB before compression. A bigger site splits its addresses over several sitemaps and lists them in a sitemap index.
Does Google use lastmod, changefreq and priority?
Google uses lastmod when it is consistently accurate, such as the date a page's main content last changed. It ignores changefreq and priority.
Which pages belong in a sitemap?
The pages you want in search results: pages that load, aren't set to noindex, and are their own canonical version. Leave out redirects, error pages and copies of other pages.
Does a sitemap get my pages indexed?
No. A sitemap helps search engines find your pages, but they decide what to crawl and index. A clean sitemap keeps them from wasting visits on pages that can't be indexed.
How do I tell search engines about my sitemap?
Add a line like Sitemap: https://example.com/sitemap.xml to your robots.txt file, and submit the address in Google Search Console and Bing Webmaster Tools.
Check next
RankHouse AI agent
Want this fixed for you every month?
RankHouse's AI agent audits and fixes your site. Every month it runs a full SEO audit, fixes what it can and lists the rest in plain English for your developer.