---
title: "robots.txt Checker & Tester: Google and AI Crawlers · camada"
description: "Free robots.txt checker and validator. Enter a URL to see which of 36 search and AI crawlers, from Googlebot to GPTBot, may fetch it, and which line decides."
url: https://www.camada.app/tools/robots-txt
last_updated: 2026-11-19
---

# robots.txt checker and tester

Enter a page URL to see which search engines and AI crawlers may fetch it, and which robots.txt line decides. Or paste a file to test it in your browser.

## Test any page, crawler, or robots.txt file

The file below is the one we fetched, or a sample. Edit it or paste your own. Checks run in this tab, and a file you paste never leaves your browser.

## Verify your live robots.txt and llms.txt from a shell

Syntax checks catch rule typos. Live deploys can still send a bad `Content-Type` header or a broken sitemap link. Run two shell commands to confirm what crawlers read on your domain.

### 1. Check HTTP status, headers, and Sitemap reachability

Crawlers expect `200` with `text/plain` on `/robots.txt`. Inspect our live [robots.txt](https://www.camada.app/robots.txt) and [llms.txt](https://www.camada.app/llms.txt) files as working examples.

terminal · live curl check

```sh
# 1. Check status, Content-Type, and X-Robots-Tag on /robots.txt
curl -sSI https://www.camada.app/robots.txt | grep -iE '^(http/|content-type:|x-robots-tag:)'

# 2. Extract every Sitemap URL and check its HTTP status
curl -s https://www.camada.app/robots.txt | awk '/^[Ss]itemap:/ {print $2}' | xargs -I{} curl -sSI {} | head -n 5

# 3. Verify /llms.txt and test Markdown content negotiation
curl -sI https://www.camada.app/llms.txt | head -n 5
curl -s -H 'Accept: text/markdown' https://www.camada.app/docs | head -n 12
```

### 2. Pair robots.txt permissions with an llms.txt index

Point each `/llms.txt` entry at a clean `.md` twin so coding assistants skip nav menus and script tags.

public/llms.txt · llmstxt.org layout

```md
# Acme API

> Acme API processes webhook deliveries, usage billing, and audit logs for web apps.

All documentation pages below link directly to clean Markdown twins so coding agents read exact specs without HTML chrome.

## Docs

- [Quickstart](https://example.com/docs/quickstart.md): Install the SDK, set your API key, and verify your first webhook signature.
- [Authentication](https://example.com/docs/auth.md): Scoped bearer tokens, key rotation, and replay windows.
- [Rate limits](https://example.com/docs/limits.md): Per-route quotas, retry headers, and burst buckets.

## Optional

- [OpenAPI 3.1 spec](https://example.com/openapi.json): Full machine-readable HTTP schema for code generation.
- [Full documentation](https://example.com/llms-full.txt): Every guide concatenated into a single plain-text file.
```

## robots.txt directives and AI crawler reference

Search engines standardized `robots.txt` parsing under RFC 9309. AI vendors now split search and training traffic across separate bot tokens. You can allow search links while opting out of model training.

Where Google's open-source robots.txt parser and RFC 9309 differ, this checker follows Google's parser, since it is what Googlebot runs. For example, Google reads `Disallowed:` as Disallow, and it does not decode `%7E` to `~`. The tester notes each line that other crawlers may read differently.

### Directives, wildcards, and retired rules

How compliant crawlers parse groups, break path ties, and treat legacy lines.

| Directive or pattern | Syntax example | RFC 9309 and Google behavior | Common mistake |
| --- | --- | --- | --- |
| User-agent | `User-agent: GPTBot` | Starts a rule group for a crawler token. Adjacent User-agent lines share one rule list. Names compare case-insensitively. | Putting rules above the first User-agent line, where no crawler reads them. A version number like Googlebot/2.1 still matches, but the bare name is clearer. |
| Allow | `Allow: /docs/` | Permits URLs matching the path prefix. Longest byte match wins, and Allow wins ties. | Omitting the leading slash, such as Allow: docs/. Paths start with /, so that rule never matches. |
| Disallow | `Disallow: /admin/` | Asks polite crawlers not to fetch matching paths. An empty Disallow: allows every URL. | Expecting Disallow to hide private routes or remove indexed URLs from Google results. |
| * wildcard | `Disallow: /*.json$` | Matches zero or more characters inside a path pattern. Supported by Google, Bing, and RFC 9309. | Using * inside a User-agent name like Google*. It reads as the name Google, not every Google crawler. |
| $ end anchor | `Disallow: /feed.xml$` | Anchors the match to the exact end of the URL path and query string. | Placing $ in the middle of a pattern, where it loses its end-anchor meaning. |
| Sitemap | `Sitemap: https://example.com/sitemap-index.xml` | Declares an XML sitemap for the whole site. Applies across all User-agent groups. | Writing a relative path like Sitemap: /sitemap.xml instead of a full https:// URL. |
| Content-Signal | `Content-Signal: search=yes, ai-input=yes, ai-train=no` | States machine-readable preferences for search indexing, AI grounding, and model training. | Using Content-Signal without matching User-agent Disallow rules for training bots. |
| License (RSL) | `License: https://example.com/license.xml` | Points AI crawlers to a machine-readable RSL license with your terms for using the content. Crawlers that do not read RSL ignore the line. | Expecting License to disallow anything. Pair it with User-agent rules if you also want to opt out. |
| Noindex (retired) | `Noindex: /drafts/` | Ignored by Google since September 2019 and omitted from RFC 9309. | Blocking a page in robots.txt so Googlebot never sees its HTML noindex meta tag. |

### Search, assistant, and AI training crawler tokens

Match each vendor token to its traffic role before adding a blanket `Disallow: /` block.

| Crawler User-agent | Vendor | Traffic purpose | Effect of Disallow: / |
| --- | --- | --- | --- |
| Googlebot | Google | Search citations | Drops matching pages from Google Search and AI Overviews. |
| Bingbot | Microsoft | Search citations | Drops matching pages from Bing Search. |
| OAI-SearchBot | OpenAI | Search citations | Removes your pages from ChatGPT search links and citations. |
| Claude-SearchBot | Anthropic | Search citations | Stops Claude web search from indexing and citing your pages. |
| PerplexityBot | Perplexity | Search citations | Excludes your domain from Perplexity search discovery. |
| ChatGPT-User | OpenAI | User-triggered fetch | Blocks live page reads when a user pastes your link into ChatGPT. |
| Claude-User | Anthropic | User-triggered fetch | Blocks live page fetches requested by a Claude user. |
| GPTBot | OpenAI | Model training | Opts public pages out of future OpenAI model training runs. |
| ClaudeBot | Anthropic | Model training | Opts public pages out of Anthropic model training crawls. |
| Google-Extended | Google | Model training | Opts out of Gemini training without hurting Google Search rank. |
| Applebot-Extended | Apple | Model training | Opts out of Apple Intelligence training while keeping Applebot search. |
| CCBot | Common Crawl | Model training | Keeps pages out of open Common Crawl archives used to train models. |

## Why polite crawler files need in-app session review

robots.txt is a public sign, not a lock. Polite crawlers like Googlebot, OAI-SearchBot, GPTBot, and ClaudeBot read your rules and obey them. Credential stuffers, price scrapers, and headless agents skip robots.txt and hit your routes anyway. camada runs inside your backend to stop bad actors. Customers and verified search crawlers still get through.

01

### Scrapers skip polite rules and walk catalog routes anyway

Unverified scrapers, price harvesters, and proxy pools never check /robots.txt first. They fetch product and API routes in tight loops across rotating home IPs.

[See how camada catches catalog scraping](https://www.camada.app/use-cases/scraping)

02

### Spoofed crawler names fail IP range and session checks

Anyone can pass a Googlebot or OAI-SearchBot header from a cloud VM. Watchkeeper checks crawler IP lists, TLS signals, and route pace to catch fake bots.

[Inspect User-Agent and spoofed headers](https://www.camada.app/tools/user-agent)

03

### In-app SDKs enforce verdicts while keeping fail-open safety

Your backend polls active verdicts every 30 seconds and serves a 403 or a 16-bit SHA-256 challenge. New bursts pass for a few requests before a review finishes. Single slow fetches under normal pace also blend in.

[Protect routes from abusive AI agents](https://www.camada.app/use-cases/ai-agents)

### Enforce session verdicts in your backend while letting search bots crawl

Install an open-source SDK with one `CAMADA_KEY` variable. Request bodies, cookies, and `Authorization` headers stay inside your app.

server.js · @camada/node

```js
import camada from '@camada/node';

app.use(camada.express()); // polls active verdicts every 30s, fails open

app.get('/products/:slug', async (req, res) => {
  const item = await loadProduct(req.params.slug);
  res.render('product', { item, camadaScript: camada.scriptTag(req) });
});

app.post('/api/catalog/export', async (req, res) => {
  camada.track(req, 'catalog_export', { page: String(req.body.page ?? 1) });
  res.json(await exportCatalogPage(req.body.page));
});
```

SDK guides: [Cloudflare, no code](https://www.camada.app/docs/cloudflare) · [Hono on Workers](https://www.camada.app/docs/hono) · [Python](https://www.camada.app/docs/python) · [Go SDK](https://www.camada.app/docs/go) · [PHP](https://www.camada.app/docs/php) · [Ruby](https://www.camada.app/docs/ruby) · [Java](https://www.camada.app/docs/java) · [.NET](https://www.camada.app/docs/dotnet)

- [Stop catalog scraping](https://www.camada.app/use-cases/scraping)
- [AI agent abuse](https://www.camada.app/use-cases/ai-agents)
- [Website security check](https://www.camada.app/tools/website-security-check)
- [DNS & DMARC lookup](https://www.camada.app/tools/dns-lookup)
- [Live bot signal test](https://www.camada.app/tools/bot-test)
- [User-Agent checker](https://www.camada.app/tools/user-agent)
- [Is this really Googlebot?](https://www.camada.app/tools/verify-bot-ip)
- [View camada llms.txt](https://www.camada.app/llms.txt)

Example verdict suspicious · 72% confidence · 4 hours

tlsx: tlsx_b81d52ce9a07 · action: challenge_recommended

This client fetched product pages in catalog order at a steady pace from many addresses that share one TLS fingerprint. The pattern fits bulk collection, though the volume is below what would justify a block.

- Same TLS fingerprint seen from 23 different addresses in one run window
- Product pages requested in ascending ID order
- No images, scripts or stylesheets loaded
- Pace held within a narrow band of 1.2 to 1.5 seconds per page

Example verdict benign · 97% confidence · 30 days

ip: 66.249.66.x · action: allowed

This address belongs to a verified search crawler and is reading public pages at a normal rate. Nothing in its behaviour calls for action.

- IP matches Google's published crawler ranges
- User agent claims Googlebot and the address backs it up
- No logins, signups or form posts
- Request rate stayed under 2 per second

## Questions about robots.txt, AI crawlers, and llms.txt

Want to see how camada handles verified search crawlers, custom rules, and SDK setup? Read the [rules guide](https://www.camada.app/docs/rules) or check [plans and limits](https://www.camada.app/pricing).

**How do I check if a page is blocked by robots.txt?**

Enter the full page URL in the checker at the top of this page. It fetches the site robots.txt, finds the group for each crawler, and applies the longest matching Allow or Disallow rule to that exact path. It shows the line that decides. To test a file before you publish it, paste it into the tester and type any path.

**Does Noindex in robots.txt keep a page out of Google search?**

No. Google retired support for Noindex rules inside robots.txt in September 2019. To keep a URL out of search results, allow crawling and send <meta content="noindex" name="robots"> in HTML or an X-Robots-Tag: noindex HTTP header.

**Where does Sitemap belong in robots.txt?**

Place Sitemap: on its own line with a full https:// URL, such as Sitemap: https://example.com/sitemap-index.xml. A relative path like /sitemap.xml does not work. A Sitemap: line applies across the whole file, not to one User-agent group.

**How do I allow ChatGPT and Claude search links while opting out of training?**

Give each bot its own User-agent block. Allow OAI-SearchBot, Claude-SearchBot, and PerplexityBot on / so search answers can cite your pages. Set Disallow: / for GPTBot, ClaudeBot, Google-Extended, and CCBot to opt out of training crawls.

**How does RFC 9309 break ties between Allow and Disallow rules?**

Crawlers pick the rule whose path pattern matches the most characters of the URL path. If a matching Allow rule and Disallow rule have the exact same byte length, Allow wins.

**What happens if robots.txt returns an error?**

A 404 or another 4xx answer (except 429) counts as no file, so crawlers may fetch every URL. A 5xx answer, a 429, or a timeout is different. RFC 9309 says to treat the whole site as disallowed. Google pauses crawling for the first 12 hours, then uses its last good copy of the file for up to 30 days. The checker above explains the status it gets.

**What is llms.txt and does it replace robots.txt?**

llms.txt is a Markdown index at /llms.txt for coding agents and assistants. It points them to clean Markdown copies of your docs and pages. robots.txt sets crawl permissions, while llms.txt speeds up discovery. Ship both files together.

**Why do scrapers still hit my app after I add Disallow rules to robots.txt?**

robots.txt relies on polite compliance. Unverified scrapers, home proxy farms, and headless browsers ignore robots.txt rules. Add an in-app SDK like camada to spot high-rate scraping and session abuse inside your routes.

**Do these tools send my URLs, headers, or tokens to your servers?**

Paste modes run 100% inside your browser tab, so JWTs, User-Agent logs, and localhost headers never leave your machine. When you run a live URL or domain scan, our Worker checks only public ports 80 and 443. It blocks private IPs, strips cookie values, and sends Cache-Control: no-store.

## Use it from an AI agent

This page is also Markdown at [/tools/robots-txt.md](https://www.camada.app/tools/robots-txt.md). The check itself runs from the form on this page.

The MCP server needs no key. Every agent tool on this site is listed in the [server card](https://www.camada.app/.well-known/mcp/server-card.json) and on [the tools page](https://www.camada.app/tools#agents).

## Related tools

- [Bot IP verifier](https://www.camada.app/tools/verify-bot-ip)

  Check an IP against the ranges Google, Bing, Apple, OpenAI, and others publish. Add reverse DNS as evidence. A stale list never says verified.
- [User-Agent checker](https://www.camada.app/tools/user-agent)

  See your live User-Agent and Sec-CH-UA hints. Paste log lines to spot OAI-SearchBot, ClaudeBot, and spoofed headers.
- [Website security check](https://www.camada.app/tools/website-security-check)

  Enter a URL to trace HTTPS redirects, check CSP and OWASP headers, and audit cookie flags. Also checks robots.txt, llms.txt, and security.txt.

[All free tools](https://www.camada.app/tools)

## Stop the scrapers that skip your robots.txt file.

Install the SDK on the Free plan to score 100,000 events a month with no card. Enable in-app blocks and challenges on Starter ($59/month) or Growth ($249/month).

[Get started free](https://my.camada.app/) [In-app bot detection](https://www.camada.app/bot-detection) [All 14 frameworks](https://www.camada.app/frameworks) [See pricing](https://www.camada.app/pricing)

Free needs no card. A 14-day trial of Starter or Growth needs a card. Nothing is charged today. Cancel before the trial ends (the date is shown in the app) and you pay nothing. Otherwise the plan's monthly price starts on day 15.

## Sitemap

[Every page on this site](https://www.camada.app/sitemap.md)
