Preferences

Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website. More information (Cookie Policy)

Free XML Sitemap Checker & Validator Tool

Free XML Sitemap Checker - Validate your sitemap structure and detect broken URLs and indexing errors.

Published on
15/9/2026
Updated on
14/10/2026
Reading time
9 min

Tools

On this page

Learn everything to know on Sitemap Checker!

Aerial view of a town laid out in a regular grid of streets and rooftops

Summary

The free sitemap checker finds the XML sitemap of any site, tells you whether it is a list of pages or an index of sitemaps, and flags the structural problems that stop search engines from reading it: no XML declaration, no namespace, more than 50,000 URLs, a file over 50 MB, duplicate URLs or an empty file. It also lists the URLs with their last modification date and charts them by year, so you can see at a glance how fresh the sitemap really is.

Want to go further? Ask

A sitemap checker answers two questions: can search engines read your sitemap, and does it describe the site you have today? Google explains that a sitemap helps search engines discover the URLs of a site, but that it does not guarantee every listed item will be crawled and indexed (Google Search Central, what is a sitemap). A clean, current file gives your important pages the best chance.

An open drawer of index cards in a library archive

What does the sitemap checker test?

Enter a domain or the full address of a sitemap. With a domain, the tool tries the usual locations one after the other: /sitemap.xml, /sitemap_index.xml, /sitemap/sitemap.xml, then the www version of /sitemap.xml. It stops at the first file that looks like a sitemap and runs these checks.

CheckRuleWhy it matters
Sitemap foundThe file answers with a success status and contains urlset or sitemapindexA sitemap that returns an error or an HTML page is never read
Typeurlset (a list of pages) or sitemapindex (a list of sitemaps)An index must point to sitemaps, not to pages
XML declarationThe file starts with <?xml version="1.0"?>Strict parsers expect it
Namespacexmlns="http://www.sitemaps.org/schemas/sitemap/0.9"Required by the protocol on the urlset tag
Size50,000 URLs and 50 MB uncompressed at mostAbove that, the file must be split
DuplicatesEach URL listed onceRepeated URLs are noise and often reveal a generation bug
Empty fileAt least one URL or one sitemapAn empty sitemap usually means a broken plugin

The result shows four cards (number of URLs, HTTP status, type and number of warnings), the list of issues, the URLs with their lastmod date and a chart of URLs by year of last update. Three checks per day are free; a Sorank account removes the limit.

What are the rules of a valid XML sitemap?

They come from the sitemap protocol, which Google, Bing and other search engines follow. The sitemaps.org protocol asks for a UTF-8 file that opens with a urlset tag carrying the namespace, and one url entry with a loc tag for each page.

  • Size limits: no more than 50,000 URLs and no more than 50 MB (52,428,800 bytes) uncompressed per file. You may gzip the file, but the uncompressed size still counts.
  • Index files: above those limits, split the URLs into several sitemaps and list them in a sitemap index, which can itself list up to 50,000 sitemaps.
  • Escaping: all values must be entity-escaped, so an ampersand in a URL is written &amp;.
  • Dates: lastmod uses the W3C Datetime format, such as 2026-10-14, and must be the date the page changed, not the date the sitemap was generated.

Google adds its own guidance: use fully qualified, absolute URLs, include the URLs you want to see in search results, and post the sitemap at the root so it can cover the whole site (Google, build and submit a sitemap). Need to create one from scratch? The XML sitemap generator explores a site and writes the file for you.

Which sitemap tags do search engines actually use?

Mostly loc and lastmod. Google states that it ignores the priority and changefreq values, and that it uses lastmod only if the value is consistently and verifiably accurate. A change to the main content, the structured data or the links counts as significant; a new copyright date does not.

TagStatus in the protocolHow Google treats it
locRequiredCrawls the URL exactly as listed
lastmodOptionalUsed when it is reliably accurate
changefreqOptionalIgnored
priorityOptionalIgnored

Bing gives lastmod even more weight. Its webmaster team describes lastmod as a key signal that helps Bing decide which URLs to recrawl, or to skip when nothing has changed, and links freshness to how fast updates appear in search results and AI answers (Bing Webmaster Blog, 2025). Fake dates that change on every build waste that signal.

How do you read the results?

  1. Check the status first. "Valid sitemap" means the file was found and is well formed. "Sitemap found with warnings" lists what to fix. "Sitemap not found" shows the URLs tested: declare the real location in robots.txt, or give the tool the exact address.
  2. Compare the URL count with your site. A shop with 3,000 products and a sitemap of 400 URLs is missing pages; a blog of 80 articles with 2,000 URLs is listing tags, filters or parameters.
  3. Read the chart by year. If every URL shows today's date, lastmod is generated automatically and carries no information. If most dates are several years old on a site you update every week, the generator is not reading your real dates.
  4. Scan the URL list. Look for http instead of https, a host without www when your site uses www, test or staging addresses, and URLs with tracking parameters.
Aerial view of a dense neighbourhood with red roofs and tree-lined streets

Which URLs should a sitemap contain?

Only the canonical, indexable pages that answer with a 200 status. Every other URL sends a mixed signal: you ask search engines to crawl a page that you also tell them to ignore.

Keep in the sitemapRemove from the sitemap
Canonical pages you want in search resultsDuplicates that point to another canonical URL
Pages that return 200Redirected URLs (301, 302) and errors (404, 410, 5xx)
Indexable pagesPages with a noindex tag
Pages crawlers may visitURLs blocked by robots.txt
One version of each addressSession, sorting and tracking parameters

Test doubtful URLs one by one with the indexability checker, the canonical checker and the redirect checker, and make sure your robots.txt rules do not contradict the file with the robots.txt checker.

Does every website need a sitemap?

Not always. Google says a site may not need one if it is small, about 500 pages or fewer, comprehensively linked internally, and without many media files or news pages to show in search. A sitemap becomes useful when the site is large, new with few external links, or rich in video, images or news. Most CMS already publish one, so the question is less "do I need it" than "is it correct".

A sitemap also does not fix weak internal linking. Pages that no other page links to, known as orphan pages, may be discovered through the sitemap, but they receive no internal authority. Our glossary entries on XML sitemaps and crawl budget explain how the two work together.

How do you submit a sitemap to Google and Bing?

Three ways, which can be combined:

  • robots.txt: add a line such as Sitemap: https://www.example.com/sitemap.xml. Every crawler that reads robots.txt finds it.
  • Google Search Console: paste the address in the Sitemaps report. The report then shows a status for each sitemap: Success, Couldn't fetch, or Sitemap had X errors (Search Console Help, Sitemaps report).
  • Bing Webmaster Tools: submit the same address in its Sitemaps section, and consider IndexNow to notify changes as they happen.

Search Console also reminds you that it can take time to crawl the URLs of a sitemap, and that not all of them may be crawled. Run the checker after every migration, theme change or plugin update, since those are the moments a sitemap breaks without anyone noticing.

How do you run a sitemap diff checker on two versions of a sitemap?

A sitemap diff checker compares two versions of the same sitemap and lists what changed: URLs added, URLs removed, and URLs whose lastmod date moved. Run it before and after a migration, a theme change, a plugin update or a new deploy, because those are the moments a sitemap breaks without anyone noticing. Save the old list, save the new list, and compare the URLs, not the raw XML.

Why compare URL lists instead of the raw files?

Raw XML changes for harmless reasons: element order, whitespace, or a generation comment with a new timestamp. Only the loc values matter for the comparison. A URL that stays in the file with a new lastmod date tells you the page was edited. A URL that disappears tells you search engines are no longer offered that address, whatever the cause.

How do you compare two sitemaps by hand?

On a Mac or Linux terminal, extract the loc values and sort them. Run the command once before the change and save the output as old.txt, then run it again after the change and save the output as new.txt:

# before the change
curl -s https://www.example.com/sitemap.xml | grep -o '<loc>[^<]*' | sed 's/<loc>//' | sort > old.txt
# after the change
curl -s https://www.example.com/sitemap.xml | grep -o '<loc>[^<]*' | sed 's/<loc>//' | sort > new.txt
diff old.txt new.txt

Lines starting with < exist only in old.txt, so those URLs are gone from the sitemap. Lines starting with > exist only in new.txt, so those URLs are new. If your site uses a sitemap index, fetch each child sitemap first, because the index lists files, not pages.

What do you do with each type of change?

  1. Removed URLs: check each one. A deleted page should return 404 or 410, and if other pages link to it, redirect it to its replacement. If a page should still exist, it belongs back in the file.
  2. Added URLs: confirm they answer with a 200 status and are the canonical version. Test a sample with the redirect checker and the canonical checker.
  3. Changed lastmod dates: expected after an edit. If a template update changes the date on every URL, your generator is stamping the build date, and the dates carry no information.

Look for patterns as well as single URLs. Dozens of removed URLs in the same folder, or a new set of addresses with tracking parameters, usually point to one plugin or one redirect rule rather than to many separate mistakes.

Tip

Keep a dated copy of each sitemap in your deployment folder or your repository. Without a saved baseline, a diff can only compare against memory.

The free checker above validates one file at a time, so run it on both versions to confirm each is well formed before you compare them. After a fix, resubmit the file as described in our guide to submitting a sitemap to Google.

How do you keep a sitemap healthy over time?

Check it once a month, and every time the structure of the site changes. Note the URL count and the share of recent lastmod dates, and compare them with the previous month: a sudden drop in URLs or a wall of identical dates are the two most common signs of a broken generator.

A sitemap only lists what you publish. To grow the number of pages worth indexing, the Sorank blog article generator writes and publishes sourced articles on your site, and the GEO and SEO dashboard tracks how those pages perform in Google and in AI answers. For a step-by-step method, read our guide to sitemap generators.

A good sitemap is valid XML, lists only canonical pages that return 200, and carries honest lastmod dates. Check yours now, fix what the tool flags, then see the Sorank plans to keep publishing pages that deserve to be in it.

Frequently asked questions

How do I check if my sitemap is valid?

Enter your domain or sitemap address in the free sitemap checker on this page. It finds the file, checks the XML declaration, the namespace, the 50,000 URL and 50 MB limits and duplicate URLs, then lists every URL with its last modification date.

Does Google use priority and changefreq in a sitemap?

No. Google says it ignores the priority and changefreq values. It uses lastmod only when the date is consistently accurate, so set lastmod to the date of the last significant change to the page, not the date the file was generated.

Which URLs should I remove from my sitemap?

Remove redirected URLs, pages that return errors, pages with a noindex tag, URLs blocked by robots.txt and duplicates that point to another canonical page. Keep only canonical pages that return a 200 status and that you want to see in search results.

Sources

Other Free SEO Tools

Testimonials from ambitious founders

0 to 10000 visitors in 5 months

Celio Fabianomonrobotlavevitre.frGoogleE-commerce

0 to 5000 visits in 8 months

Thibault BMsorank.comGoogleSoftware

0 to 1104 clicks in 4 months

Dominiqueflight-sensations-idf.comGoogleLeisure and aviation

0 to 163 clicks in 6 months

Coworking Pariscoworking-paris.frGoogleOffice broker

x92 clicks in 7 months

Guide Zanzibarguidezanzibar.comGoogleTravel