Free sitemap checker
Find a website's XML sitemap and check it the way search engines read it: status, format, size limits, addresses on other domains, http links, repeats, and a spot check of the pages it lists.

Or paste the XML (before you upload it)
How to check an XML sitemap
- Enter your domain. The checker reads robots.txt to find the sitemap, or tries
/sitemap.xml. - Have the sitemap somewhere else, such as
/sitemap_index.xml? Enter its full address. - Fix the problems it lists, then submit the sitemap in Google Search Console under Indexing > Sitemaps.
What the sitemap checker tests
- Discovery: a
Sitemap:line in robots.txt, so every search engine finds the file. - Status and format: the file answers 200, is served as XML, and is a valid URL set or sitemap index.
- Limits: no more than 50,000 addresses per file.
- Addresses: all on this site, all https, no repeats, and lastmod dates.
- Sitemap index: the first five child sitemaps, with the number of addresses in each.
- Spot check: the first five addresses should answer 200, not redirect or fail.
What belongs in a sitemap
Only the pages you want in search: final addresses that answer 200, with the same version of each address you use in links and canonical tags. Leave out redirects, error pages, pages marked noindex and duplicates. A sitemap does not force Google to index a page, but a clean one helps it find new and changed pages faster.
To check the status of every address in the sitemap, run the free SEO crawler. To see whether robots.txt blocks a page, use the robots.txt tester.
Frequently asked questions
How do I find the sitemap of a website?
Open the site's robots.txt (example.com/robots.txt) and look for a line that starts with "Sitemap:". If there is none, try /sitemap.xml or /sitemap_index.xml. The checker reads robots.txt for you and tries /sitemap.xml.
How many URLs can a sitemap have?
Up to 50,000 addresses and 50 MB uncompressed per file. Larger sites split their pages over several sitemaps and list them in a sitemap index.
Do I need lastmod in my sitemap?
It is optional, but Google uses lastmod when it is accurate to find pages that changed. Only update it when the page content really changes.
Should redirected or noindex pages be in my sitemap?
No. A sitemap should list the final address of each page you want in search. Redirects, error pages and noindex pages send mixed signals and waste crawling.