Free Robots.txt Tester
Test your robots.txt for free: paste it, enter a URL and a crawler, and see whether it's allowed or blocked, and which rule decides, matched the way Google matches.
Free, no sign-up. Everything runs in your browser: nothing you type is sent anywhere.
Googlebot may not crawl /admin/settings.
It follows the “User-agent: *” group, and line 2 decides:
Disallow: /admin/Blocking a page here stops crawling, not indexing: to keep a page out of Google, let it be crawled and add a noindex tag.
How Google reads robots.txt
- One group per crawler. A crawler follows only the group that names it most specifically. If a robots.txt has a “User-agent: Googlebot” group, Googlebot ignores the rules under “User-agent: *”.
- The longest rule wins. When both an Allow and a Disallow match a URL, the one with the longer path decides. On a tie, Allow wins.
- Wildcards.
*matches anything, and$at the end means “the URL ends here”:Disallow: /*.pdf$blocks every PDF. - Paths are case-sensitive.
/Blogand/blogare different rules.
Blocking AI crawlers
AI companies crawl with their own user-agents: GPTBot and OAI-SearchBot for OpenAI, ClaudeBot for Anthropic, PerplexityBot for Perplexity. Blocking the crawlers that power AI search can keep your pages out of those answers, so block them only if that's what you want.
Blocked from crawling isn't the same as kept out of Google
A page blocked in robots.txt can still appear in results if other sites link to it, just without a description. To keep a page out of Google, allow crawling and add <meta name="robots" content="noindex"> to it.