About Robots.txt Tester
One wrong line in robots.txt can hide a whole site from search. Use this robots.txt tester before you upload new rules, when a page drops out of Google or Baidu, or when you want to know whether AI crawlers can reach your content. Enter a full page URL and click Test. The live robots.txt is fetched, or you can paste a draft and test it first.
Rules are read as Google documents them under RFC 9309: the * wildcard, the $ end anchor, the longest matching rule wins, Allow wins a tie, and the most specific user-agent group applies. The path is tested for 20 crawlers, from Googlebot, Bingbot and Baiduspider to 360Spider, Sogou, YisouSpider, YandexBot and PetalBot, plus AI crawlers such as GPTBot and ClaudeBot, and any crawler name you add. Each row shows allowed or blocked and the deciding rule, highlighted in the file. You're warned about Disallow: / for everyone, blocked CSS or JS, syntax errors, a missing Sitemap line, Crawl-delay, a Host directive, files over 500 KB and error status codes. Write new rules with the Robots.txt Generator.
How to use Robots.txt Tester
- 1Enter a page URL
Use the full address of the page you want to test, not just the domain.
- 2Add a crawler or a draft
Optionally type your own crawler name, or paste draft rules to test instead of the live file.
- 3Click Test
Every crawler gets an allowed or blocked verdict for that path.
- 4Find the deciding line
The rule that decides is highlighted in the file view, ready to adjust.
Why use Cubfile for this
- Google's matching rules
Wildcards, $ anchors, longest match and Allow on ties, as in RFC 9309.
- 20 crawlers at once
Search engines from Google to Baidu, Sogou and Yandex, plus the main AI crawlers.
- Draft testing
Paste rules and test them before they go live.
- Clear warnings
Blocking everything, blocked CSS or JS, syntax errors and a missing Sitemap line.