Robots.txt Tester
Test whether a path is allowed or blocked by robots.txt rules for a user-agent.
How to use Robots.txt Tester
Three quick steps — no sign-up needed
-
Step 1
Paste robots.txt rules
Drop in the contents of your robots.txt file.
-
Step 2
Enter a URL path and user-agent
Test a path as Googlebot, Bingbot, or another agent.
-
Step 3
Read allow/block outcome
Fix rules that accidentally block important sections.
About Robots.txt Tester
Robots.txt Tester checks whether a given path would be allowed or disallowed for a user-agent based on pasted robots.txt rules. SEOs searching "robots.txt tester", "test robots.txt", or "blocked by robots" need confidence before deploy.
Paste rules, enter a path and user-agent, and review the result. Syntax mistakes and conflicting Disallow/Allow lines are common sources of accidental deindexing pressure (via crawl prevention).
Remember robots.txt controls crawling, not always indexing of URLs discovered other ways. Use noindex when you must keep a crawlable URL out of the index.
Benefits of Robots.txt Tester
Frequently asked questions
Does Disallow remove a page from Google?
It mainly blocks crawling; indexing can still happen without content fetch in some cases - use noindex when needed.
What user-agent should I test?
Test Googlebot and any other bots important to you.
Are blank lines OK?
Yes - keep syntax valid and specificities clear.
Can I test a live robots URL?
This tool tests the rule text you paste.
Where should robots.txt live?
At https://www.example.com/robots.txt on the site root.