Skip to content
SiteTells

Free XML sitemap checker

Sitemap checker

Enter a site to find its sitemap and read it: how many pages it lists, whether robots.txt names it, whether its dates hold up, and whether the pages it lists answer.

Try

What it checks

What the checker reads

Where the sitemap is

robots.txt is read first for its Sitemap lines. If it names none, the usual addresses are tried: /sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml and /sitemap-index.xml. When it names several, the first three are read. You can also enter the address of a sitemap file itself.

What it lists

Whether the file is an index of other sitemaps or a list of pages, and how many entries it holds. For an index, the first files it lists are read too, and the pages in them counted. Packed files (.xml.gz) are unpacked.

Whether it is written correctly

The format’s own rules: the namespace in the first tag, full addresses, no bare “&”, at most 50,000 entries a file, dates in a form that can be read. Addresses on another host or with the other scheme are counted.

Whether its pages answer

Five listed addresses, taken evenly from the first 400 of each list of pages that was read, are asked for. A sitemap should list pages that answer at their own address: one that redirects or returns an error is pointed out.

This check asks about one thing. For everything a site runs on, see the website technology checker.

What it cannot tell

What a sitemap check does not cover

Every page of a large site

A sitemap index can list thousands of files. The first few are read and five addresses are sampled. The result says how much was read, and a count is of that part, never a guess at the rest.

Whether pages are indexed

A sitemap is a list of suggestions. Whether a search engine has fetched or indexed a page is only shown by that search engine, in Google Search Console or Bing Webmaster Tools.

Sitemaps kept elsewhere

A sitemap at an unusual address that robots.txt does not name, and that was submitted to search engines by hand, cannot be found from outside. Enter its address to check it.

Image, video and news details

The entries for pages are read. The extra tags for images, videos and news, and for other language versions, are not checked.

Questions and answers

How do I find a website’s sitemap?

Enter the site above. The checker reads robots.txt for Sitemap lines and then tries the usual addresses. By hand: open example.com/robots.txt and look for a line starting “Sitemap:”, or try example.com/sitemap.xml.

What is an XML sitemap?

A file that lists the addresses of a site’s pages for search engines, each optionally with the date it last changed. It helps pages get found that few links lead to, and tells a crawler what changed since its last visit.

Does every site need a sitemap?

No. Google says a small site whose pages are all linked from one another does not need one. A sitemap earns its place on large sites, new sites with few links from outside, and sites with pages that nothing links to.

What are the limits of a sitemap file?

One file may list 50,000 addresses and be 50 MB before packing. Larger sites split the list over several files and name them in a sitemap index, which may itself list 50,000 files.

Should the sitemap be listed in robots.txt?

Yes: a line “Sitemap: https://example.com/sitemap.xml” makes it known to every crawler that reads robots.txt, not only to the search engines it was submitted to. The line takes the full address and can stand anywhere in the file.

Do lastmod, changefreq and priority matter?

Google uses lastmod when it proves to be accurate, and ignores changefreq and priority. A lastmod that shows the same date on every page, or today’s date on every build, teaches a search engine not to trust it.

Why does the checker say an address in the sitemap redirects?

Because the sitemap lists an address that sends visitors elsewhere, such as the http version of an https page or a page that moved. A sitemap should list each page at the address where it finally answers.