HomeFree SEO toolsrobots.txt tester

Free robots.txt tester for search and AI crawlers

Fetch a site's robots.txt, or paste one, then test addresses against the crawlers you care about. For every answer you see the exact line that decided it, so you can tell why a page is allowed or blocked.

Free, no account. The file and the addresses you test are not stored. Fair-use limits apply per network.

Just Frugkit. The Frugkit mascot, an orange toolbox in sunglasses, gives a thumbs up next to the words.

What it checks

The rules from RFC 9309

The standard behind robots.txt: the group that matches the crawler's name is used, the longest matching path wins, and when an Allow and a Disallow match equally, Allow wins.

Wildcards

* matches any run of characters and $ marks the end of the address, so Disallow: /*.pdf$ blocks addresses that end in .pdf and nothing else.

Grouped crawlers

Several User-agent lines in a row share the rules under them. A crawler uses the most specific group that names it and falls back to * only when no group names it.

Eight crawler names

Googlebot, Bingbot, GPTBot, ClaudeBot, PerplexityBot, CCBot, Google-Extended and the catch-all *. The result lists the deciding line for each one.

Sitemap lines

Every Sitemap: line in the file is listed, so you can see which sitemaps you are advertising to crawlers.

How to read the result

  • “Allowed” with a line number means that line (an Allow rule) was the longest match. “Allowed, no rule matched” means nothing blocks the address, which is the default.
  • “Blocked” shows the Disallow line that won. If a shorter Allow line seems to be ignored, compare the lengths: the longer path wins, not the line that comes first.
  • If a crawler falls back to the * group the result says so. That is the usual cause of “I blocked it but it still crawls”: the rule was written for another name.
  • An empty Disallow (Disallow: with nothing after it) means “nothing is blocked”. It is easy to read it as the opposite.

Common problems and how to fix them

You blocked a page and it still shows in search

robots.txt stops crawling, not indexing. A blocked page can stay in results if other sites link to it. To keep a page out, let it be crawled and use a noindex tag, or put it behind a login.

A rule is ignored because of a typo

Paths are case-sensitive and start with a slash. Disallow: Private/ matches nothing; Disallow: /private/ does.

Blocking the whole site by accident

Disallow: / under User-agent: * blocks everything. It is often left over from a staging site. Test your home page against Googlebot after every launch.

Blocking CSS or JavaScript

Search engines need these files to see the page as visitors do. Allow the folders that hold them.

You want AI crawlers kept out

Add a group for each name you want to stop, for example User-agent: GPTBot then Disallow: /. Google-Extended is a control token, not a separate crawler: it tells Google whether your content may be used for its AI models, and it does not change how you appear in search.

Longest match, and Allow wins a tie

With these rules, /downloads/report.pdf is blocked, because /downloads/ is the only match. /downloads/public/guide.pdf is allowed, because /downloads/public/ is longer than the Disallow. If both paths were the same length, Allow would win.

User-agent: *
Disallow: /downloads/
Allow: /downloads/public/

User-agent: GPTBot
User-agent: ClaudeBot
Disallow: /

Sitemap: https://your-company.test/sitemap.xml

Honest limits

So you know what to trust.

  • It tests the file you give it, as the standard says. Search engines can differ in small ways, such as how they read a line they do not understand, so a real crawler's own tool is the final word for that crawler.
  • Crawl-delay is not a rule in the standard. Some crawlers read it and some, including Googlebot, ignore it. The tester does not use it to decide a result.
  • A crawler's name is matched to a group the way the standard describes. Crawlers that use more than one name, or that ignore robots.txt, cannot be tested here.
  • Only the first part of a large file is read. Fetching stops at 2 MB. Google also reads only the first 500 KiB of a robots.txt, so a very long file is a problem in itself.

Questions

Does Disallow remove a page from Google?

No. It asks crawlers not to fetch the page. If the page is linked from elsewhere it can still be listed, without a description. Use a noindex tag on a crawlable page, or require a login, to keep it out.

What happens when two rules match the same address?

The longer, more specific path wins. If the two are exactly as long, Allow wins over Disallow.

What if a site has no robots.txt?

A missing file (a 404) means everything may be crawled. A server error (5xx) is different: crawlers may treat the site as fully blocked for a while, so keep the file reachable.

Which crawler is Google-Extended?

It is a token, not a bot that visits your site. If you disallow it, Google's AI products are asked not to use your content, while Googlebot keeps crawling for search as before.

Does blocking GPTBot or ClaudeBot work?

The operators of these crawlers say they respect robots.txt, so it is the standard way to ask. It is a request, not a lock: it cannot stop a crawler that ignores it.

Are the free SEO tools limited?

Yes. Each network address has a fair-use limit per minute and per day, with no account needed, because each check makes our servers fetch your pages. We do not store the addresses you test.

Run a full SEO audit of your site

The tester checks one file against the addresses you type. A full audit finds pages that are blocked by mistake, and flags blocked pages that are linked from your own site.