Robots.txt Tester: Check Whether a URL Is Blocked
Test a URL against robots.txt and see which rule blocks or allows it.
- Free to use
- Nothing to install
- No sign-up
Generate a robots.txt
A quick file here. For a full file with site presets, each AI crawler and a line-by-line explanation, use the Robots.txt Generator.
Want an expert to check this result?
Send it to us in one click. We read it and reply within one business day with what we would fix first.
About the Robots.txt Tester
Fetch a site's robots.txt or paste your own, choose a crawler and a path, and see whether it is allowed and which line decides. We also warn if the whole site, CSS or JavaScript is blocked, check the sitemap loads, and hand you a corrected file. Below it, build a new robots.txt from simple options.
How it works
-
Step 1
Enter a website, or paste the contents of a robots.txt file you are editing.
-
Step 2
Choose a crawler and the path to test, such as /blog/my-post.
-
Step 3
See Allowed or Blocked, the matching rule, the sitemaps listed and any lines Google ignores.
How the matching works
A crawler follows the group that names it, otherwise the * group. Within that group, the longest matching rule wins, and allow wins a tie. * matches anything and $ marks the end of the URL.
Blocking is not removing
Disallow stops crawling, not indexing. A blocked URL can still appear in results if other pages link to it. Use noindex (and allow crawling) to keep a page out of search.
Frequently asked questions
Where does robots.txt go?
At the root of each host: https://example.com/robots.txt. A subdomain such as shop.example.com needs its own file.
Does Google support Crawl-delay?
No. Google ignores Crawl-delay. Bing and some other crawlers use it.
Should I block CSS and JavaScript?
No. Google needs them to render pages; blocking them can hurt how your pages are understood.
What happens if robots.txt returns a server error?
Google treats a 5xx response as "do not crawl" for a while. A 404 means everything may be crawled.
Sources and checks
Rules last checked
The Robots.txt Tester follows these official pages:
- How Google Interprets the robots.txt Specification (developers.google.com)
- RFC 9309: Robots Exclusion Protocol (rfc-editor.org)
- Robots.txt Introduction and Guide (developers.google.com)
Scores, limits and suggestions marked "our checklist", "our measure" or "our suggestion" are ours, not Google's or the platform's. How our tools work
Related reading
Rather have us do it for you?
Tell us about your business and what you want to fix. We reply within one business day.
Talk to us Our service: Technical SEO servicesMore free tools
All tools- Website SEO Audit Crawl up to 50 pages and get a health score, every issue and a 30-day plan.
- Redirect Checker Trace 301/302 redirects, chains and loops to the final URL.
- AI Bot Log Analyzer See how AI crawlers crawl your site from your server access log.
- Email Deliverability Checker Check SPF, DKIM, DMARC and MX against the Gmail, Yahoo and Outlook.com sender rules.
Want us to fix what the tool found?
Tell us about your business and what you want to grow. We reply within one business day with next steps, not a sales script.
- A reply within one business day
- A quick look at your site and search visibility before we talk
- Your details are only used to answer your enquiry