Free toolsRobots.txt checker

Free robots.txt checker: test Googlebot, GPTBot, ClaudeBot and other crawlers

Free robots.txt checker. Enter a domain to read its robots.txt, test any path for Googlebot, GPTBot and ClaudeBot, and catch size limits, sitemaps and syntax errors.

A robots.txt file tells crawlers which parts of your site they may visit. One wrong line can hide a whole site from Google, and a missing line can let AI crawlers in when you did not mean to. This checker fetches the live file, reads it the way Google does, and lets you test any path for search and AI crawlers.

How the checker reads your file

It follows the robots.txt standard (RFC 9309) and Google's documented behaviour. Rules are grouped by User-agent. A crawler uses the group that names it, or the * group if none does. Within a group, the longest matching rule wins, and when two rules tie, Allow beats Disallow. The characters * and a trailing $ work in paths.

Robots.txt controls crawling, not indexing

This is the most common misunderstanding. A Disallow line stops a crawler from fetching a page, but the page can still appear in search results if other sites link to it. To keep a page out of search, leave it crawlable and use a noindex tag instead, because a blocked page cannot be crawled to see the tag.

Check AI crawler access

The table lists the main crawlers by name. Search crawlers such as Googlebot and Bingbot decide whether you appear in classic search. OpenAI uses GPTBot for model training, OAI-SearchBot for ChatGPT search results and ChatGPT-User when a person asks it to open a page. If you want to be cited in AI answers, blocking the search crawlers works against you. Blocking a training crawler like GPTBot is a separate choice. Google-Extended is a control for Google's AI training and does not affect Search. Our guide on getting cited by ChatGPT explains which to allow.

Limits and common mistakes

  • 500 KiB. Google reads only the first 500 KiB of the file and ignores the rest.
  • Blocking the whole site. Disallow: / under User-agent: * is common on staging sites and sometimes ships to production by mistake.
  • Blocking CSS and JavaScript. Crawlers need them to render pages.
  • Crawl-delay. Google does not support it, though some other crawlers do.
  • Redirects. Google follows at least five redirect hops for robots.txt and then treats the file as not found.
  • A missing file. A 404 is fine and means everything is crawlable. A server error is not, because crawlers may pause.

When a page is blocked but you did not mean it

If a page is missing from search, read the rules for its exact path with the test box above, then check the page itself. A noindex in the HTML shows in the meta tag checker, and one sent as a header shows in the HTTP header checker. Fix the rule or the tag, then ask Google to recrawl the page in Search Console.

Add your sitemap

A Sitemap: line tells crawlers where your sitemap lives. The checker lists the ones it finds. If there are none, add a line with the full address of your sitemap file. See the technical SEO audit checklist for the other crawlability checks.

Frequently asked questions

Where is the robots.txt file?

At the root of the domain, for example example.com/robots.txt. Each subdomain needs its own file.

Does robots.txt remove a page from Google?

No. It only stops crawling. To remove a page, use a noindex tag on a crawlable page or Google's removal tools.

Should I block AI crawlers?

It depends on your goal. Blocking training crawlers stops your content being used for model training. Blocking search crawlers can keep you out of AI answers.

Does the order of rules matter?

Not for Google. The most specific matching rule wins, whatever its position in the file.

Check what the rest of your site tells crawlers

A free audit checks robots.txt, your sitemap and every page's robots tags.