Working hours Mon–Fri: 10:00 – 18:00

Robots.txt Tester

Paste your robots.txt and test whether a specific URL is allowed or disallowed for any user-agent. Supports Googlebot, GPTBot, ClaudeBot, PerplexityBot.

robots.txt rules can be tricky — overlapping patterns, Allow vs Disallow precedence, user-agent inheritance, glob matching. This tool parses your robots.txt and tells you whether a specific URL is allowed or disallowed for any user-agent. Pair it with our robots.txt generator for a full robots workflow.




Test result

ALLOWED

How it works
1
Paste your robots.txt
2
Enter the URL path to test
3
Pick the user-agent
4
Read the result
5
Iterate the rules
-
How does Google decide which robots.txt rule wins when multiple match?

Google's spec uses longest-match-wins: whichever rule has the longest path prefix wins. When two rules have the same length but different types (Allow vs Disallow), Allow wins. This tool implements that spec — Bing has slightly different behaviour but the core logic is the same.

+
What's the difference between Disallow and noindex?

Disallow in robots.txt prevents crawling — Googlebot will not fetch the URL. noindex (a meta tag or HTTP header on the actual page) tells Google to remove an already-indexed URL from search results. Disallow alone does NOT remove pages from the index if they were already there (Google can index URLs it cannot crawl based on external links to them).

+
Can I block AI crawlers like GPTBot with robots.txt?

Yes — add 'User-agent: GPTBot' followed by 'Disallow: /' to your robots.txt. Same for ClaudeBot, PerplexityBot, CCBot, Google-Extended (Gemini training). Note: blocking them prevents being cited in AI answers. Most B2B sites we work with allow AI crawlers because citation in LLM answers is more valuable than the training-data concern.

+
What if my robots.txt has overlapping rules?

Overlapping rules are normal — for example 'Disallow: /wp-admin/' plus 'Allow: /wp-admin/admin-ajax.php'. The Allow wins for /wp-admin/admin-ajax.php (longer match), the Disallow wins for everything else under /wp-admin/. This tool shows the matching rule so you can verify the right one fires.

Related free SEO tools
All SEO Tools
Learn more →
SERP Preview
Learn more →
Schema Generator
Learn more →
Meta Description Checker
Learn more →
SEO ROI Calculator
Learn more →
Want this done for you?
Pipeline-First B2B SaaS SEO • deployed 260605-rt
Book Free Consultation
By submitting you agree to our Privacy Policy
Free SEO audit

Get a free SEO audit

See exactly what is holding your B2B SaaS site back in organic search. We review technical SEO, content gaps, and competitor positioning — no strings attached.

No spam. We reply within one business day.