1. Home
  2. Developer
  3. Sitemap Checker

Sitemap Checker

Check a sitemap.xml for structure, limits, lastmod and duplicates.

Server lookup · only the address you type is sent, nothing is stored
The address you type is sent to a server to fetch the sitemap and is not stored. The server makes one request and returns at most the first 1 MiB; the structure is analyzed in this browser.
A bare domain fetches /sitemap.xml. For another location, enter the full URL, e.g. https://example.com/sitemap_index.xml

A reference tool that checks structure against the sitemaps.org protocol and Google guidance. It uses a lightweight parser, so it cannot catch every XML error, and it does not check that each URL actually loads (that would need a request per URL, which this tool does not do).

How to use

  1. Enter example.com to fetch /sitemap.xml. For another location, enter the full URL such as https://example.com/sitemap_index.xml.
  2. Press Check sitemap. A server fetches the file once and the structure is analyzed in this browser.
  3. The summary shows the type (urlset or sitemapindex), entry count, unique count, size and lastmod range.
  4. Under Check results, read the errors, warnings and notes. When many entries are affected you see the count, the first line number and an example.
  5. The tables below show URLs per host, duplicate URLs and the URL list (or the list of child sitemaps), up to 200 rows.

You can usually find the sitemap location from the Sitemap: line in robots.txt with the robots.txt checker.

What is checked

Check Rule
Format The root must be urlset or sitemapindex, with the http://www.sitemaps.org/schemas/sitemap/0.9 namespace
Entry count At most 50,000 per file. A note appears from 45,000
File size At most 50 MB uncompressed, judged from the Content-Length header
loc Absolute http or https URL, 2,048 characters or fewer, & escaped as &
lastmod W3C date format. A time needs a time zone. Future dates are warned
priority, changefreq priority from 0.0 to 1.0, changefreq one of seven fixed values
Duplicates The same URL listed more than once
Host URLs on another domain, a different www usage, or http URLs in an https sitemap
Sitemap index The child sitemap list and count, and whether URL entries are mixed in

lastmod values are judged like this:

Value Verdict
2024-05-01 Valid
2024-05-01T10:20:30+09:00 Valid
2024-05-01T10:20:30 Valid format, but no time zone (note)
2024/05/01 Invalid
2023-02-29 Invalid (no such date)

Good to know

  • lastmod only matters when it is the real modification date. If every URL has the same lastmod, or it changes to today on every build, search engines may stop trusting it. This tool notes it when every entry has the same lastmod.
  • Google ignores priority and changefreq. They do no harm, but do not expect an effect.
  • Split when over a limit. If you pass 50,000 URLs or 50 MB, split the file and tie the parts together with a sitemapindex. A sitemap index can itself list at most 50,000 sitemaps.
  • A sitemap should list URLs of its own host. URLs on another domain are normally accepted only when ownership is verified there, so they are warned about.
  • List only indexable URLs. Avoid redirecting addresses, 404s and noindex pages. This tool does not open each URL, so check suspicious ones directly with the redirect checker.

What is sent to the server and the limits

  • The only value sent to the server is the address you type, and it is not stored. The fetched file is analyzed in this browser.
  • Only the first 1 MiB of the body is read. For a larger sitemap you get a “body was cut” notice, the entry count is lower than the real one, and the 50 MB limit cannot be checked directly; only the response header size and the entries seen are used.
  • Non-text responses such as a .gz compressed sitemap cannot be opened. Try the uncompressed .xml address.
  • A response must arrive within 8 seconds, up to 5 redirects are followed, and visiting the same host 3 times stops the lookup.
  • Private addresses, internal networks and bare IP addresses are not checked, and only default ports (80, 443) are allowed.
  • Rate limits apply: 6 requests per minute per IP and 30 per minute per target host.
  • This is not a port scanner or a way to load someone else’s site. It fetches one file, once.
  • A lightweight XML parser is used, so not every syntax error is caught. For strict XML validation use the XML validator as well.

FAQ

Does submitting a sitemap guarantee indexing?

No. A sitemap is a hint that helps search engines discover URLs. Whether a page is indexed depends on quality, duplication and more. Listing a URL does not guarantee indexing, and omitting it does not prevent it.

I do not know where my sitemap is.

Try /sitemap.xml, /sitemap_index.xml and /sitemap-index.xml first. The most reliable way is the Sitemap: line in robots.txt. WordPress and some plugins use /wp-sitemap.xml or their own address.

It reports duplicate URLs. Is that a problem?

Search engines merge them, so the harm is small, but they waste the size and entry limits and hint at a bug in how the sitemap is generated. If you are near a limit, remove duplicates first.

Which lastmod format is right?

A plain date such as 2024-05-01 is enough. To include a time, add a time zone as in 2024-05-01T10:20:30+09:00 (Z or an offset).

My sitemap contains http URLs.

On an https site, list every URL with its https canonical address. http URLs go through a redirect, add needless requests and can blur which address is canonical. Compare the canonical tag with sitemap URLs using the meta tag checker.

The address you type is sent to a server for the lookup and is never stored.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.