Why you need it
robots.txt matching is more complicated than most people assume: it is not "the first rule from the top wins", but "longest match wins, and Allow wins a tie", plus * wildcards and the $ end-of-line anchor. A typical accidental block: wanting to block /wp-admin/, someone writes Disallow: /wp, and every image under /wp-content/ is blocked too.
Common crawlers are preset: Googlebot, Baiduspider, and AI crawlers such as GPTBot / ClaudeBot / PerplexityBot. To check whether you’ve shut AI engines out, pick one and test /.
How to use it
- Open
your-domain/robots.txtand paste the whole file into the input box - Enter the path to test (e.g.
/category/page/) and choose a crawler UA - Click "Test rules" — the result tells you allowed or blocked, and which rule in which group matched
Basis and limits
- Matching follows Google’s REP specification: pick the most specific group for the UA (fall back to
*if none), longest path match wins, Allow wins a tie,*and$supported - Engines implement the standard with small differences (e.g. Baidu’s historical wildcard support); this tool follows Google’s interpretation
- robots.txt blocks "crawling", not "indexing" — adding Disallow to an already indexed page won’t remove it from the index; that needs noindex
- Blocking at the CDN layer can’t be tested here: Cloudflare’s AI crawler blocking happens outside robots.txt; check real reachability with the quick check
Related reading
- Question bank: how black-hat, ranking manipulation and site networks affect AI engines
- SEO basic check — the automatic check includes robots reachability