Analyze robots.txt rules
Evaluate pasted robots.txt rules for a crawler and request path.
Try a robots.txt allow or block example
Both examples use a Disallow: /private/ rule and a more specific Allow: /private/public/ exception. Compare paths, then paste your own rules. This tests offline matching; it does not fetch a live robots.txt file.
Input & settings
Offline crawl decision
Crawl permission does not guarantee Google indexing. Robots.txt rules do not secure private URLs or replace authentication.
How to use this tool
Enter your own site data. Process and inspect the generated result before adding it to your website.
Limits and behavior
Offline longest-path matching with allow winning equal specificity. Most-specific product-token groups merge. Does not fetch robots.txt or account for status/caching policies. Maximum total input 1 MB, output 3 MB, JSON nesting 64 levels. Processing stays in your browser worker. Input is limited to 1 MB and output to 3 MB. No input content is saved by CraftAI.
Test robots.txt crawl permissions
Paste robots.txt rules, choose a crawler name and path, and inspect the supported allowance calculation.
Does allowing crawling guarantee Google indexing?
No. Crawl permission alone does not guarantee discovery, indexing, or search rankings.
Related tools: inspect webpage meta robots rules · validate xml sitemap
Worked example: allow a public path inside a private section
Paste these lines as separate robots.txt directives: User-agent: *, Disallow: /private/, and Allow: /private/public/. Choose Googlebot as the crawler and enter /private/public/receipt as the test path. The result is allowed: true with Allow: /private/public/ as the winning rule, because it matches the more specific path.
Now test /private/customer. That path falls under the disallow rule and should be blocked from crawling. The tester evaluates the rules you paste; it does not fetch your live site's robots.txt or ask Google to crawl a URL.
Does disallowing a URL keep it out of search results?
Not necessarily. Robots rules control crawler access; they are not authentication or a guaranteed removal mechanism. To inspect a page's separate indexability directives, use the meta robots inspector.
Test a simple robots.txt rule safely
As an example, enter User-agent: * followed by Disallow: /private/ on a new line. For a crawler matching that group, a path beginning with /private/ should be treated as disallowed by this straightforward rule. Compare it with a public path such as /articles/guide to see how the decision changes. This is an offline rule evaluator, so it does not fetch the file or confirm what your live server serves.
Important distinction: robots.txt concerns crawling, not confidentiality. A disallowed URL may still be discovered or referenced by search engines, and the rule does not stop a person from opening the address. Put private information behind real authentication and authorization instead.
Before changing a live site: Review user-agent grouping, the exact request path, more-specific Allow rules, redirects and the deployed robots.txt file. Compare critical Googlebot behavior with the official Search Console tools. A permitted crawl never guarantees indexing.
Step-by-step guide: test Allow and Disallow rules, with examples →