robots.txt tester for AI and search crawlers

Test whether GPTBot, OAI-SearchBot, ClaudeBot, Googlebot or any other crawler may fetch a path on your site, see the exact rule that decides it, and find the mistakes in your robots.txt. Free, no signup.

Or paste a robots.txt

What does this robots.txt tester check?

It reads a robots.txt file, from a live site or pasted in, and tells you whether a crawler may fetch a given path, which group and rule decide it, and how all the AI and search crawlers we track are treated for that path. It also lists problems in the file line by line, such as rules before any User-agent line, misspelled fields and relative sitemap URLs.

How does a crawler decide which robots.txt rule applies?

A crawler first picks the group that names its own token, such as GPTBot; only if there is none does it use the User-agent: * group, and it never combines the two. Within that group the most specific rule wins: the Allow or Disallow path with the longest match. On a tie, Allow wins. This is how RFC 9309 and Google define it, and how this tester decides.

Sources: RFC 9309 (opens in a new tab) and Google's robots.txt specification (opens in a new tab).

What is the difference between a user agent and a robots.txt token?

The user agent is the full string a crawler sends, such as Mozilla/5.0 … compatible; GPTBot/1.1; +https://openai.com/gptbot. robots.txt groups name only the token, GPTBot, and match it without regard to case. Paste either into the tester: for a full string it finds the crawler's token and says which one it used.

Does blocking GPTBot keep my site out of ChatGPT search?

No. OpenAI uses separate crawlers: GPTBot collects training data, while OAI-SearchBot fetches pages for ChatGPT search and ChatGPT-User fetches pages a user asks for. Blocking GPTBot stops training use only. The crawler table shows each one separately for the path you test. See the robots.txt guide for AI crawlers for ready-made rules.

Do all AI crawlers follow robots.txt?

Most operators of the crawlers in our list say their crawlers follow it; for a few, the documentation doesn't say. Fetchers that act for a user, such as ChatGPT-User and Perplexity-User, may not apply robots.txt rules, according to their operators. The table marks those. robots.txt is a request, not access control: to stop a crawler for certain, block it on the server or the CDN. Each crawler's page in the AI crawler directory says what its operator documents.

Is the robots.txt I paste stored?

No. Pasted text is tested in memory for that one request and then discarded; it is not logged or saved. For a live URL we fetch only /robots.txt from that site, with our own user agent GeoPageSpeedBot. About our bot.