What this robots.txt checker tests
- Reachability: whether
/robots.txtreturns HTTP 200 as plain text rather than an HTML error page. - Full-site blocks: a
Disallow: /rule in a group for all crawlers (User-agent: *) or for Googlebot. - XML sitemap: whether the sitemap loads and contains a valid
urlsetorsitemapindex, and how many entries it lists.
Why a full-site block matters
A single Disallow: / line stops Googlebot crawling every page. It often slips onto live sites from a staging setup and can wipe out search traffic within days. If the checker reports a critical robots.txt result, fix it first.
A safe starting robots.txt
User-agent: *
Disallow: /admin/
Sitemap: https://example.com/sitemap.xmlReplace /admin/ with your own private paths, or remove that line if there is nothing to block. Keep the Sitemap line so crawlers can find your pages.
Frequently asked questions
Where should robots.txt be?
At the root of each host, for example https://example.com/robots.txt. A subdomain needs its own file.
Does robots.txt stop a page from being indexed?
Not reliably. It stops crawling, but a blocked URL can still be indexed without its content if other pages link to it. Use noindex to keep a page out of results.
How does the checker find my sitemap?
It uses the Sitemap line in your robots.txt if there is one on the same domain, and otherwise tries /sitemap.xml.
Does it test every rule in my file?
No. It detects full-site blocks for all crawlers and for Googlebot. Rules for specific folders, Allow exceptions and wildcards still need a manual review.
