# robots.txt Tester

Paste a robots.txt to see instantly whether a URL is allowed or blocked for Googlebot or AI crawlers, and which line decided it. Misspellings and directives Google ignores are flagged too.

- URL: https://tools.itlibra.com/en/robots-tester
- On-device・No upload
- Last updated: 2026-11-27

## How to use

1. Paste the contents of your robots.txt (https://your-domain/robots.txt) on the left, or open the file.
2. Choose a crawler (User-agent): Googlebot, Bingbot, or AI crawlers such as GPTBot and ClaudeBot.
3. Enter URLs or paths to test, one per line, to see allowed/blocked and the line number of the rule applied.
4. Review “Findings” for mistakes and directives Google ignores; “Go to line” selects the line to fix.
5. Check the overview below to see whether major search engines and AI crawlers can fetch your home page.

## Use cases

- Make sure admin and internal search pages are blocked before launch
- Find out whether robots.txt is why pages are not being indexed
- Review your allow/deny settings for AI crawlers such as GPTBot and ClaudeBot
- Try out wildcard (\*) and end-anchor ($) rules before deploying them
- Check the impact of a robots.txt change before publishing it

## What it does

### RFC 9309 matching

The longest matching rule wins and Allow wins ties. User-agents are matched case-insensitively and multiple groups for the same crawler are combined. Supports \* and $ and percent-encodes non-ASCII paths.

### See the rule and line that decided

Every result shows the Allow/Disallow rule applied, its line number and the User-agent group used. Click to select that line.

### Catches common mistakes

Rules before any User-agent, misspellings (Dissallow), missing colons, relative Sitemap URLs, Noindex and Crawl-delay that Google ignores, files over 500 KiB and HTML served instead of robots.txt.

### AI crawler overview

See whether Google-Extended, GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, CCBot and other AI crawlers can fetch your home page, next to the search engines.


## Supported formats

### Input

- robots.txt (paste or .txt file)


## Capability matrix

| Feature | Support | Notes |
| --- | --- | --- |
| Allowed/blocked per URL (RFC 9309) | Supported | — |
| Rule and line number applied | Supported | — |
| Syntax and unsupported-directive checks | Supported | — |
| Search engine and AI crawler overview | Supported | — |
| Crawler-specific extensions (e.g. Yandex Clean-param) | Partial | Flagged, not used for matching |
| Fetch robots.txt from a URL automatically | Not supported | Paste the contents instead |
| Check page-level noindex (meta robots) | Not supported | — |

## Limits & notes

- robots.txt is not fetched for you. Open https://your-domain/robots.txt in your browser and paste the contents.
- Up to 2,000 URLs per test and files up to 2 MB.
- User-agent matching follows Google (e.g. Googlebot-Image follows the Googlebot group when it has no group of its own). Other crawlers may differ in details.
- robots.txt controls crawling, not indexing. To keep a page out of search results, use noindex on the page.
- Phones can run the tests, but editing robots.txt while checking line numbers is more reliable on a PC.

## Privacy & safety

Your robots.txt and test URLs are processed in your browser only. Nothing is sent to or stored on a server.

## FAQ

### What happens when both Allow and Disallow match?

The longer (more specific) match wins; on a tie, Allow wins (RFC 9309). This tool shows the rule actually applied and its line.

### Does blocking in robots.txt keep a page out of Google?

No. robots.txt only stops crawling; a blocked URL can still be indexed if it is linked. To remove a page from results, allow crawling and add noindex.

### How do I block ChatGPT or Claude crawlers?

Add groups such as “User-agent: GPTBot” and “User-agent: ClaudeBot” with “Disallow: /”. For Google’s AI training use “Google-Extended”. The overview in this tool shows whether it works.

### Does Crawl-delay work?

Google ignores Crawl-delay. Some crawlers such as Bing honour it.

### Is what I enter sent anywhere?

No. Everything runs in your browser; your robots.txt and URLs are never sent to a server.
