Free tool

Free robots.txt tester for search and AI crawlers.

Fetch any site robots.txt, inspect its rules and test whether a specific path is allowed for Googlebot, Bingbot or AI crawlers such as GPTBot, ClaudeBot and PerplexityBot.

Test robots.txt rules

Enter a domain and optionally a path to test against a crawler.

Matching uses the longest-rule-wins logic with wildcard and end-anchor support.

What it checks

What the robots.txt tester shows.

A single wrong line in robots.txt can block your whole site, or let crawlers into places they should not go.

File status

Whether robots.txt exists, returns 200, its size and the sitemap directives it declares.

  • HTTP status
  • Size check
  • Sitemap lines

Rule testing

Allowed or blocked for a chosen user-agent and path, with the exact matching rule shown.

  • Most-specific rule wins
  • Allow versus Disallow ties
  • Wildcards and $

AI crawler control

Test how GPTBot, ClaudeBot, PerplexityBot and Google-Extended are treated, to decide whether AI engines can read your content.

  • AI user-agents
  • Group matching
  • Full file view
How to use it

Three steps to useful results.

1

Enter the domain

We fetch /robots.txt from the root of the site.

2

Pick a crawler and path

Choose a user-agent and enter a URL path to see whether it is allowed.

3

Adjust and retest

Edit your robots.txt, publish and run the test again.

How robots.txt works

A short file with simple rules.

A robots.txt file sits at the root of a site. It is split into groups, one for each crawler (user-agent), and each group has Allow and Disallow lines. The most specific matching rule wins. A Sitemap line tells crawlers where your sitemap is.

User-agent: *
Disallow: /admin/
Allow: /admin/help/

Sitemap: https://example.com/sitemap.xml
Common mistakes

Small errors with big effects.

  • Disallow: / left over from a test site. It blocks the whole site from crawlers.
  • Blocking CSS and JavaScript. Search engines need them to display your pages properly.
  • Using robots.txt to hide a page. It asks crawlers not to crawl, but a blocked page can still be listed if other sites link to it. Use a noindex tag or a password instead, and note that a crawler cannot see a noindex tag on a page it is not allowed to fetch.
  • Adding a noindex line inside robots.txt. Google does not support it.
  • Forgetting that paths are case-sensitive, and that every subdomain needs its own robots.txt file.
AI crawlers

Blocking them is your choice.

You can allow or block crawlers used by AI companies, such as GPTBot, ClaudeBot and PerplexityBot. Blocking Google-Extended controls whether Google uses your content for AI training, and it does not remove your pages from Google Search. Blocking AI search crawlers may reduce how often AI tools see your pages.

FAQ

Robots.txt Tester FAQ

Common questions about this tool and what the results mean.

Ask us about your results
What does robots.txt do?

It tells crawlers which paths they may fetch. It controls crawling, not indexing, so a blocked URL can still appear in results if other pages link to it.

Should I block AI crawlers?

It depends on your goals. Blocking prevents some AI systems from reading your pages but can reduce AI citations. Read our guide to AI SEO before deciding.

Does Allow override Disallow?

The most specific, longest matching rule wins. If an Allow and a Disallow match with equal length, Allow wins.

Where must robots.txt live?

At the root of the host, for example example.com/robots.txt. Each subdomain needs its own file.

Ready when you are

Want an expert to fix what the tool finds?

Our team turns diagnostics into a prioritized roadmap and does the work. Start with a free audit request.