Tools / Robots & sitemap

Robots.txt & XML sitemap validator

Check whether crawlers can reach robots.txt and a sitemap, and review common directive and XML markers.

What it checks

This does not crawl every listed URL or determine whether a search engine will index a page. External-host sitemaps are identified but not fetched.

robots.txt controls crawling, not indexing

This distinction causes more accidental damage than any other part of technical SEO. Disallow tells a crawler not to fetch a URL. It does not tell a search engine not to list it. If other pages link to a disallowed URL, it can still appear in results — as a bare link with no description, because the crawler was never allowed to read the page and find out what it says.

The consequence is counter-intuitive and worth stating plainly: if you want a page out of the index, you must let crawlers fetch it. Use <meta name="robots" content="noindex"> or an X-Robots-Tag: noindex header, and leave the URL crawlable so the directive is actually seen. Blocking it in robots.txt instead guarantees the instruction is never read, and the URL can sit in the index indefinitely with nothing you can do about it.

Things robots.txt is not

Syntax mistakes that quietly cost you

What a sitemap does and does not do

A sitemap is a hint about which URLs exist and when they last changed. It helps discovery, particularly on a new site or one with weak internal linking. It does not force indexing, and submitting a URL does not oblige anyone to crawl it — a large sitemap on a new domain typically sees its URLs sit as discovered-but-not-crawled for weeks while the crawler works through them.

Keep it honest, because accuracy is what earns it trust:

Reading your result

A 404 for robots.txt is not itself a problem — no file means everything is crawlable, which is a perfectly valid position. A 5xx is a problem: crawlers may treat a server error on robots.txt as "do not crawl anything" and back off the whole site. For the sitemap, confirm the status, the XML root element and that the <loc> count matches roughly what you expect; a count far below your page total usually means a generation step is silently dropping sections.

Related checks: security.txt checker and redirect chain tracer, since redirect chains in a sitemap are a common cause of wasted crawl budget.

Frequently asked questions

How do I submit my sitemap to Google and Bing?

Add Sitemap: https://yourdomain/sitemap.xml to robots.txt so every crawler finds it, then submit it in Google Search Console and Bing Webmaster Tools to see processing errors.

How large can a sitemap be?

Up to 50,000 URLs or 50 MB uncompressed per file. Larger sites use a sitemap index file that lists several sitemaps.

Should I block AI crawlers in robots.txt?

It is your choice. Disallowing GPTBot, ClaudeBot or CCBot asks those crawlers not to collect your pages for training, but it can also keep your content out of AI answers that cite sources. The bulk URL status checker shows how your server responds to each bot.

When two robots.txt rules conflict, which one wins?

Google and Bing apply the most specific rule — the one with the longest matching path. When an Allow and a Disallow match with equal length, Allow wins.