robots.txt checker for AI bots and Googlebot
Enter a page address. I will check robots.txt against RFC 9309 and show which search engine and AI assistant bots may fetch it. On request I will also fetch the page with each bot's User-Agent header.
- The fetch comes from Cloudflare servers, not from the operators' IP addresses. If your server blocks bots by IP address, the test will show them as allowed.
- robots.txt is a request, not a security control. For each bot I show what the operator states in its documentation, with the date I checked it.
How the test works
- I fetch /robots.txt from the host of the address you enter, following up to five redirects with an 8-second limit. I read the first 500 KiB, as RFC 9309 requires.
- The status code decides the rest. A 4xx code means no restrictions, while 5xx or no response means robots should not fetch anything. I treat 429 as a server error, as Google does. When a challenge page comes back instead of the file, for example Cloudflare's "Just a moment...", I report that the result cannot be determined.
- For each bot I look for a group with its name, ignoring case. When there is none, I apply the
*group. Googlebot-Image and other Googlebots without their own group use the Googlebot group, and so does Applebot, as Apple describes. - Within a group the longest matching rule wins, and Allow wins a tie. The
*and$characters work as in Google's specification. For each bot I show the line number and the text of the rule that decided. - On request I also fetch the address itself with each bot's User-Agent header and once as Chrome. I compare the status code and size; a difference of more than 50% is marked as different content than for a browser.
- The User-Agent headers come from my bot lab, where I record real visits of AI bots, and for bots that have not visited it yet, from the operators' documentation.
What the test does not check
- Blocking by IP address. Requests come from Cloudflare servers, not from OpenAI's or Google's addresses. If a server or firewall blocks bots by IP, the test will show them as allowed.
- Whether a bot actually follows robots.txt. That is the operator's statement, which I show with the date I checked it. Some bots that fetch pages on a user's request do not apply it by design.
- Indexing. The robots meta tag and the X-Robots-Tag header decide what goes into an index, not what may be fetched, so I do not assess them here.
- Firewall rules that only react to a series of requests. A single test will not trigger them.
- Other hosts. Every host and protocol has its own robots.txt, so www and the non-www version are two different files.
API for agents and scripts
GET https://narzedzia.rogala.pro/api/boty?url=<address>&pobierz=1 returns the result as JSON. Without pobierz=1 I only check robots.txt. The limit is 30 tests a day from one IP address and 20 tests an hour for one site.
Privacy
I use no cookies and no analytics, and I do not store the addresses you check or the results. For the limit I store a counter with a hash of your IP address that changes every day and a hash of the checked site's host name; the counters are deleted after 90 days. Every request to your server carries the header X-Narzedzia-Rogala: 1, so you can see it in your logs.