# Robots.txt tester and validator

> Test any URL path against your live robots.txt for Googlebot, GPTBot, ClaudeBot and 13 more crawlers. See the exact rule that applies and what to fix.

Canonical: https://scaplet.com/tools/robots-txt-tester

FREE TOOLRobots.txt tester

Fetch your live robots.txt or paste one. Pick a path and a crawler, and see the exact rule that decides.

Live fetch or paste Google's matching rules 16 crawlers, AI bots included

Short answer

A robots.txt tester reads the file at your site root and works out which rule applies to one crawler and one URL path. Google uses the most specific rule by path length, and the least restrictive rule when two tie. A blocked URL can still be indexed without a snippet.

Blocked

GPTBot may not crawl `/blog/robots-guide`

GPTBot follows its own GPTBot group (line 7). The longest matching rule is Disallow: / on line 8.

Example · example.com/robots.txt 202 B 10 lines

1`# Sample robots.txt`

2`User-agent: *`

3`Disallow: /app/`

4`Allow: /app/pricing`

5`Crawl-delay: 10`

6

7`User-agent: GPTBot`

8`Disallow: /`

9

10 `User-agent: ClaudeBot`

11 `Disallow: /blog/`

12 `Allow: /blog/public/`

13

14 `Sitemap: /sitemap.xml`

group this crawler follows deciding rule

Validation 0 errors 1 warning 2 notes

- Warning: Sitemap URLs must be fully qualified, with the protocol and host (https://example.com/sitemap.xml).
- Note: Google does not support Crawl-delay and ignores this line. Some other crawlers read it.
- Note: GPTBot is blocked from the whole site. This is a training or product crawler, so this is usually a deliberate opt-out. [Learn more](/ai-search/block-ai-training-keep-ai-search)

Sitemaps listed `/sitemap.xml`

Every crawler on `/blog/robots-guide` 14 allowed 2 blocked

| Crawler | Type | Follows | Result | Rule |
| [Googlebot](/ai-crawlers/googlebot) Google | Search | * group | allowed | none |
| [Bingbot](/ai-crawlers/bingbot) Microsoft | Search | * group | allowed | none |
| [Applebot](/ai-crawlers/applebot) Apple | Search | * group | allowed | none |
| [GPTBot](/ai-crawlers/gptbot) OpenAI | AI training | Own group | blocked | `Disallow: /` line 8 |
| [OAI-SearchBot](/ai-crawlers/oai-searchbot) OpenAI | AI search | * group | allowed | none |
| [ChatGPT-User](/ai-crawlers/chatgpt-user) OpenAI | User fetch | * group | allowed | none |
| [ClaudeBot](/ai-crawlers/claudebot) Anthropic | AI training | Own group | blocked | `Disallow: /blog/` line 11 |
| [Claude-SearchBot](/ai-crawlers/claude-searchbot) Anthropic | AI search | * group | allowed | none |
| [Claude-User](/ai-crawlers/claude-user) Anthropic | User fetch | * group | allowed | none |
| [PerplexityBot](/ai-crawlers/perplexitybot) Perplexity | AI search | * group | allowed | none |
| [Perplexity-User](/ai-crawlers/perplexity-user) Perplexity | User fetch | * group | allowed | none |
| [Google-Extended](/ai-crawlers/google-extended) Google | AI training | * group | allowed | none |
| [Applebot-Extended](/ai-crawlers/applebot-extended) Apple | AI training | * group | allowed | none |
| [Meta-ExternalAgent](/ai-crawlers/meta-externalagent) Meta | AI training | * group | allowed | none |
| [Amazonbot](/ai-crawlers/amazonbot) Amazon | AI training | * group | allowed | none |
| [CCBot](/ai-crawlers/ccbot) Common Crawl | AI training | * group | allowed | none |

01

## How to use it

1. 01

Enter your site, or paste the file

The tester fetches `/robots.txt` from the host you enter. A file only covers its own host, protocol and port, so `www.` and each subdomain need their own.
2. 02

Pick a path and a crawler

Type a path or paste a full URL. The query string counts: Google matches `/fish` against `/fish.php?id=anything`.
3. 03

Read the result

The file view highlights the group the crawler follows and marks the deciding rule. The table runs the same path for every crawler.

02

## What the results mean

| You see | It means |
| Own group | A `User-agent` line names this crawler. It follows only that group (merged, if the name appears more than once) and ignores `*`. |
| `*` group | No group names it, so it follows the `*` group. |
| Googlebot group | Applebot only: Apple says that if the file doesn't mention Applebot but mentions Googlebot, Applebot follows the Googlebot rules. |
| Allowed, rule none | No rule in the group matches the path. Anything not disallowed may be crawled. |
| Blocked | The longest matching rule is a `Disallow`. |

Validation findings come in three levels. **Errors** are lines crawlers skip or rules that never apply. **Warnings** are likely mistakes, like blocked CSS or a misspelled bot name. **Notes** are worth knowing but often deliberate, such as a training crawler you chose to block.

03

## Common mistakes

before `Disallow: /blog` Also blocks `/blog-tips` and `/blogger`: Google says `/fish` matches `/fishheads`.

after `Disallow: /blog/` Only the folder.

before `User-agent: GPTBot User-agent: * Disallow: /` Stacked user-agent lines form one group, so every crawler is blocked.

after `User-agent: GPTBot Disallow: /` One group per intent.

before `Disallow: /*.css$` Google needs CSS and JavaScript to render pages. [Why it matters](/seo-issues/robots-txt-blocks-css-js).

after `(remove the rule)` Let crawlers load page resources.

before `Sitemap: /sitemap.xml` Google says the sitemap must be a fully qualified URL.

after `Sitemap: https://example.com/sitemap.xml` Protocol and host included.

04

## How crawlers read the file

Groups One group per crawler

> “Only one group is valid for a particular crawler.” Google

Precedence Longest match wins, Allow wins ties

> “In case of conflicting rules, including those with wildcards, Google uses the least restrictive rule.” Google

Wildcards `*` and `$`, nothing else

> “* designates 0 or more instances of any valid character. $ designates the end of the URL.” Google

Always allowed The file itself

> “The /robots.txt URI is implicitly allowed.” RFC 9309

Size Only 500 KiB is read

> “Google enforces a robots.txt file size limit of 500 kibibytes (KiB).” Google

Unsupported `Crawl-delay` is ignored by Google

> “other fields such as crawl-delay aren't supported” Google

Questions

## What people ask next

Does robots.txt remove a page from Google?

No, it controls crawling. Google says it "can't index the content of pages which are disallowed for crawling, but it may still index the URL and show it in search results without a snippet." To keep a page out, let it be crawled and use [noindex](/glossary/x-robots-tag).

What happens if robots.txt returns a 404?

Google treats all 4xx errors except 429 as if no valid robots.txt exists, so it assumes there are no crawl restrictions. A 5xx is different: for the first 12 hours Google stops crawling the site while it retries. [More on a missing file](/seo-issues/robots-txt-not-found).

Do AI crawlers obey robots.txt?

The training and search crawlers here say they do. Fetches a user starts are different: OpenAI says of ChatGPT-User that "robots.txt rules may not apply," and Perplexity says Perplexity-User "generally ignores robots.txt rules."

How long until a change takes effect?

Google "generally caches the contents of robots.txt file for up to 24 hours," and may keep it longer if it can't fetch a fresh copy.

Sources

## Every rule, linked and dated

1. [How Google interprets the robots.txt specification](https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt) developers.google.com checked 25 Oct 2026
2. [RFC 9309: Robots Exclusion Protocol](https://www.rfc-editor.org/rfc/rfc9309.html) rfc-editor.org checked 25 Oct 2026
3. [Overview of OpenAI crawlers](https://developers.openai.com/api/docs/bots) developers.openai.com checked 25 Oct 2026
4. [Perplexity crawlers](https://docs.perplexity.ai/docs/resources/perplexity-crawlers) docs.perplexity.ai checked 25 Oct 2026
5. [About Applebot](https://support.apple.com/en-us/119829) support.apple.com checked 25 Oct 2026

Keep going

## Learn. Compare. _Do._

[Learn robots.txt, explained Read](/glossary/robots-txt) [Decide Block AI training, keep AI search Read](/ai-search/block-ai-training-keep-ai-search) [Do Generate a robots.txt Open the generator](/tools/robots-txt-generator)

More free tools
[Robots.txt tester](/tools/robots-txt-tester) [AI agent readiness checker](/tools/ai-agent-readiness-checker) [Robots.txt generator](/tools/robots-txt-generator) [llms.txt generator](/tools/llms-txt-generator) [All free tools](/tools)

From the library
[robots.txt, explained](/glossary/robots-txt) [AI crawler directory](/ai-crawlers) [Blocked by robots.txt](/seo-issues/blocked-by-robots-txt) [robots.txt blocks CSS and JS](/seo-issues/robots-txt-blocks-css-js) [Block AI training, keep AI search](/ai-search/block-ai-training-keep-ai-search)

## Blocking AI by accident? Find out in one audit.

The free audit reads your robots.txt and checks AI visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews.

[Audit my site free](/site-audit)
Free, no card 60 seconds Nobody will call you

0→7 ChatGPT citations in six weeksA payments API

46 fixes shipped without a ticketA data platform
