Free robots.txt checker

Enter your domain to check its robots.txt file and XML sitemap. You’ll see whether robots.txt can be fetched, whether it blocks Google from the entire site, and whether a valid sitemap is published.

Free, no sign-up. Checks the page you enter plus its robots.txt and sitemap. Up to 5 checks a day.

What this robots.txt checker tests

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.xml

Replace /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.

Learn more

More free tools