ProMapRanker
Free tools · More SEO Tools

Sitemap Checker

Validate an XML sitemap for structure, URL limits, duplicates, absolute URLs and lastmod formatting, right in your browser.

Open your sitemap URL in a new tab (for example yoursite.com/sitemap.xml), select all the page text, copy it, and paste it below. Browsers block a webpage from fetching another site's files directly, so this paste-in step is required.

What is a sitemap checker?

A sitemap checker is a tool that reads your sitemap file and tells you whether it is built the way search engines expect. It looks for broken XML, missing or duplicate URLs, bad date fields, and other issues that make Google trust the file less. Run a sitemap checker before you submit a new file to Google, and again anytime you launch new pages, move to a new domain, or restructure your site's URLs.

Catching a mistake here takes two minutes. Leaving it unnoticed can quietly slow down how fast new pages get discovered and crawled, which matters most for sites that publish or update location pages often. Because a browser cannot reach across and read a file on someone else's server, this sitemap checker works by having you paste the raw file in directly rather than fetching a URL for you. That one small extra step is what keeps the whole tool free, fast, and free of any backend that could see or store your data.

How do you use the sitemap checker?

This tool runs entirely in your browser. Nothing you paste is uploaded anywhere, which is exactly why the process needs one manual step: your browser cannot reach across to another domain and pull a file down on its own, so you paste the raw file in yourself.

  1. Open your sitemap's URL directly in a browser tab, such as yoursite.com/sitemap.xml.
  2. Select all the text on that page (Ctrl+A or Cmd+A) and copy it.
  3. Paste the raw file into the box above.
  4. Optionally add your site's base URL so the checker can flag any pages listed under the wrong domain.
  5. Click "Check sitemap" and read through the pass, warning, and error lines.
  6. Use "Copy report" or "Download .txt" to save the results for your records or to hand to a developer.

If your file is actually an index file that lists other sitemap files rather than pages directly, paste that parent file first. Then repeat the process for each child file it references, since each one has its own separate URL count and file size limit. This is also a good moment to act as your own sitemap validator on a schedule, not just after something breaks. Bookmark this page and run new exports through it every time your CMS or e-commerce platform regenerates the file automatically, since automated generators are exactly where small, repeatable mistakes creep in unnoticed.

Why does a valid XML sitemap matter for local SEO?

A sitemap is a map you hand to Google of every URL you consider worth crawling. For a local business or a multi-location brand, that map does real work. When you open a new city page, a clean file gets that URL in front of Google faster than waiting for it to be found through internal links alone. When a franchise group manages fifty or a hundred location pages, a well-formed sitemap keeps crawling efficient instead of forcing Googlebot to rediscover the same URLs on every pass.

A sitemap also doubles as a diagnostic tool. If you list a URL that returns a 404, redirects somewhere else, or was removed months ago, that is an orphan or dead entry wasting crawl attention. Running your file through a sitemap checker on a regular basis catches these before they pile up, especially after a site migration, a rebrand, or a batch of location pages being added or retired at once. For a business with dozens of locations, an accurate file also makes it easier for you to keep a mental map of exactly which URLs are supposed to exist, which is easy to lose track of once a site passes even twenty or thirty location pages.

What does the sitemap checker actually validate?

This section covers everything the tool looks at line by line, from raw structure through the specific fields Google actually reads.

URL count and file size limits

The sitemap protocol caps a single sitemap file at 50,000 URLs and roughly 50MB uncompressed. Go over either limit and the file is considered invalid by Google and most crawlers, not just "large." The fix is an index file: one small file that lists multiple child sitemaps, each staying under both limits. The checker reports your exact entry count and byte size so you know how much headroom you have left before you need to split the file. A file sitting comfortably under 10,000 URLs and a few megabytes runs through the checker instantly, while sites pushing toward the tens of thousands should watch both numbers closely as they add new pages.

Absolute URLs and duplicates

Every URL entry needs to be a full, absolute address starting with http:// or https://, not a relative path. The checker also scans for duplicate entries, since listing the same page twice adds noise without adding any benefit, and flags any mix of http and https or a hostname that does not match the base URL you supplied. That last check catches a surprisingly common mistake: a staging or old domain still baked into the file after a migration. This matters more than it looks. A handful of relative paths can slip in from a database export or a spreadsheet-driven build process, and Google will often just skip those entries rather than guess at the intended domain.

The lastmod date

This field tells search engines when a URL last changed. It is only useful when it is accurate. A modification date that updates on every single page regardless of whether anything actually changed teaches Google to stop trusting it, which defeats the purpose of having the field at all. The checker flags any date value that is not properly formatted, and separately flags anything dated in the future, which is almost always a bug in whatever generates the file.

Priority and changefreq

Both priority and changefreq are part of the original sitemap protocol, but Google has said plainly that it ignores both signals when crawling. They are not harmful to include, but they add file weight for no ranking benefit, so the checker calls them out as a warning rather than an error.

Sitemap index files

This index format is itself a small file, using a different root element than a regular sitemap, where each entry points to a child file rather than a page. Large sites almost always need one, since it is the only sanctioned way past the 50,000 URL and 50MB limits. The checker recognizes both formats and adjusts what it validates depending on which one you paste in.

How an index file organizes multiple sitemap files An index file at the top points down to three child sitemap files. One child file is expanded to show its url, loc, and last-modified date elements, alongside callouts for the 50,000 URL and 50MB uncompressed limits per file. sitemap_index.xml sitemap-1.xml sitemap-2.xml sitemap-3.xml Inside sitemap-2.xml <url> <loc>https://example.com/locations/austin-tx</loc> <lastmod>2026-07-05</lastmod> </url> ... one url block per page, each with its own loc and date value Limit: 50,000 URLs per file Limit: 50MB uncompressed per file

The diagram above shows the shape most large or multi-location sites end up with: one small index file at the top, and several child files underneath it, each holding a slice of the total URLs. Neither the index file nor any child file is allowed to cross the 50,000 URL or 50MB uncompressed line on its own. Splitting by location group, by content type, or by publish date are all common, sensible ways to divide a large site into child files that stay comfortably under both limits.

Best practices and common mistakes

  • Only include canonical, indexable URLs. A file full of pages that redirect or 404 sends mixed signals about what you actually want crawled, and it forces Google to spend crawl attention confirming pages you never meant to submit.
  • Keep noindexed and redirected URLs out entirely. Listing a page while telling Google not to index it is a contradiction that wastes crawl budget and can even make Google trust the rest of the file a little less.
  • Update the date field honestly. Only change it when the page's content meaningfully changed, not on every automated rebuild, or Google will eventually learn to ignore it.
  • Reference your sitemap from your robots file with a line like Sitemap: https://example.com/sitemap.xml, so any crawler that checks that file first can find your sitemap immediately, before it even starts crawling pages.
  • Do not list URLs that your robots file blocks. An entry for a page a crawler is not allowed to fetch is another contradictory signal that undermines confidence in the rest of the file.
  • Split large sites into logical index files, for example one child file per location group or content type, rather than one enormous file that is harder to debug when something goes wrong.

When should you check your sitemap?

A few situations call for running the checker right away rather than waiting for your next scheduled review.

  • Right after a site migration or domain change, when old URLs and hardcoded hostnames tend to linger in generated files.
  • After adding a batch of new location or service pages, to confirm every new URL actually made it into the file with a correct date value.
  • When you notice a sitemap discovery or indexing issue flagged for your site, so you can see exactly which entries are the problem.
  • As part of a monthly technical SEO audit, alongside checking your robots file and your canonical tags, so small errors do not accumulate unnoticed.

None of these moments require a deep technical background. If you can open a URL in a browser tab and copy text, you can run this check in under a minute, which is exactly why it is worth building into your regular routine rather than treating it as a one-time setup task.

Frequently asked questions

Does a sitemap guarantee my pages get indexed?

No. A sitemap is a discovery hint, not a promise. It tells Google which URLs you consider worth crawling, but indexing still depends on content quality, crawl budget, and whether the page meets Google's own bar for what belongs in search results.

Why can't this tool fetch my sitemap URL automatically?

Browsers enforce a security rule that blocks a page on one domain from directly reading a file hosted on another domain unless that domain explicitly allows it. Most sites do not configure their servers to allow this for sitemap files, so pasting the file in directly is the reliable, backend-free way to validate it.

What is the difference between a sitemap and a sitemap index?

A regular sitemap lists actual page URLs directly. Its index counterpart lists other sitemap files instead of pages. Sites with more than 50,000 URLs, or sites organized by content type or location, typically use an index file to tie multiple child sitemaps together under one reference point.

Do I need to submit my sitemap in Search Console if it's already referenced in my robots file?

You do not strictly need to, since a Sitemap line in that file already tells crawlers where to find it. Submitting it directly is still worth doing because it gives you feedback on how many URLs Google actually discovered from the file versus how many you submitted.

How often should the last-modified date update?

Only when the underlying page content meaningfully changes. A date field that refreshes automatically on every deploy, regardless of whether anything on the page actually changed, is a common mistake that erodes Google's trust in that value over time.

Can a sitemap checker catch every SEO problem with my site?

No single tool does. A sitemap checker validates the structure and content of one specific file. Pair it with a robots file tester and a canonical tag review to get a fuller picture of how your site's technical signals line up with each other.

A clean sitemap is one piece of the technical foundation that lets Google find and crawl your location pages efficiently, but discovery is only half the picture. What actually matters to your business is whether those pages show up in the Google Maps results your customers see. ProMapRanker tracks your real local pack and Maps rankings across every keyword and location you manage, so you can see the ranking impact of the technical fixes you make. Start free with 150 credits and connect it to the locations you already track.

Related tools

For the official rules this tool checks against, see the sitemaps.org protocol, Google's own guide to building and submitting a sitemap, and Google's own sitemaps report for tracking what Google actually discovered.

Related tools

Track your real Google Maps rankings

These free tools get you set up - ProMapRanker shows where you actually rank across your whole service area on a geo-grid.

Start free - 150 credits