Skip to content

Robots.txt Tester

Parse · validate · simulate any bot on any URL · 100% client-side

Live

Appearance

Accent color

Font size

Layout density

Preferences are saved on this device for the robots.txt tester only.

0 B · 0 lines
Free forever 15+ bots simulated RFC 9309 engine

Prove your robots.txt
before Google does

Paste the file or fetch it live, pick a crawler, and get an ALLOWED or BLOCKED verdict for every URL — with the exact rule line that decided it. Catch a stray Disallow: / before it deindexes you.

No signup AI crawler verdicts Deciding rule shown
Two jobs

Validation tells you the file works — simulation tells you what it does

A syntactically perfect robots.txt can still block the wrong bot from the wrong page. You need both checks.

Validator: is the file well-formed?

Checks the mechanical layer — parseable directives, legal directive names, reachable location, sane file size, clean group structure. The failures it catches are silent: a file can be technically valid enough to serve and semantically broken enough to hurt you.

  • Flags unparseable lines and misplaced Sitemap directives
  • Verifies it answers at the domain root — nowhere else counts
  • Warns when rules approach the 500 KB Google cutoff

Simulator: what does each bot see?

Runs the RFC 9309 matching algorithm the way each crawler implements it — group selection, wildcard expansion, longest-match arbitration — and returns a verdict per bot per URL. This is where you learn that GPTBot reads a different group than Googlebot.

  • ALLOWED / BLOCKED verdict for every bot × URL pair
  • Highlights the exact rule line behind each decision
  • Works on drafted rules — test before you deploy
Crawler lineup

The bots worth testing one by one

Search crawlers, image bots and AI agents all read the same file differently — and carry different stakes.

Googlebot

Google Search crawler

The verdict that matters most. Googlebot follows the most specific matching group and applies longest-path wins — test product, cart and faceted URLs explicitly.

Googlebot-Image

Google Images crawler

Falls back to the Googlebot group when it has none of its own. Blocking it kills image search traffic without touching web rankings — test before you disallow.

Bingbot

Bing & Copilot crawler

Honors Crawl-delay, which Google ignores. If you throttle bots on a small server, verify the delay lands on Bing without slowing Google.

GPTBot

OpenAI training crawler

Feeds model training. Blocking it keeps content out of future training data but does not stop ChatGPT from citing pages already known — test it separately from OAI-SearchBot.

ClaudeBot

Anthropic crawler

Crawls for Claude. Respectful of robots.txt; a dedicated group is the clean way to allow search visibility while restricting bulk training fetches.

PerplexityBot

Perplexity answer engine

An answer-engine bot, not a training crawler. Blocking it removes you from Perplexity citations — a real traffic cost in 2026, so test the trade-off deliberately.

CCBot

Common Crawl dataset

Its dataset trains many downstream models. A Disallow here is the broadest single line of AI-training defense you can write.

Bytespider

ByteDance crawler

Aggressive fetcher tied to TikTok's parent. Frequently rate-limited or blocked outright — confirm your rules actually cover it under the * group.

Verdict engine

Four steps turn rules into a verdict

The same algorithm Googlebot runs — shown so a surprising answer points you to the exact line to fix.

  1. 1

    Pick the matching group

    The tester finds every User-agent group that names the bot. A named group always beats the * wildcard — and once matched, the bot reads only that group, ignoring the rest of the file.

  2. 2

    Collect matching rules

    Inside the winning group, it gathers every Allow and Disallow whose path pattern matches your test URL — honoring * wildcards and $ end anchors exactly as RFC 9309 specifies.

  3. 3

    Apply longest match

    The rule with the longest matching path wins. Allow: /blog/guide (12 chars) overrides Disallow: /blog/ (6 chars). Equal lengths resolve in favor of Allow.

  4. 4

    Return the verdict + the line that caused it

    You see ALLOWED or BLOCKED — plus the exact rule that decided it, so a surprise verdict points straight at the line to edit.

Silent failures

Six edge cases the tester flags

These pass a glance at the file and fail in production. This is what “it looks fine” hides.

1

File unreachable or missing

A 404 on /robots.txt tells crawlers "everything is allowed" — including paths you assumed were blocked. A persistent 5xx does the opposite: Google treats the whole site as disallowed until it can fetch a valid file.

2

Served at the wrong location

Only https://yourdomain.com/robots.txt counts. A file at /pages/robots.txt, on a redirect chain that gives up, or only on www while the site lives on apex, is invisible to every bot.

3

Rules past the 500 KB cutoff

Google reads the first 500 KB and stops. If your Disallow: /checkout line sits at byte 510,000, it does not exist as far as Googlebot is concerned.

4

Invalid syntax that silently flips meaning

A stray space before a path, a colon typo, or a BOM character at the file start can unparse a group — and the fallback behavior is "allow", not "block". The failure looks identical to a working file.

5

Conflicting Allow/Disallow pairs

Longest match wins, and equal length goes to Allow — but only if both rules actually match. A subtle pattern difference changes which rule a URL hits.

6

Blocking what should stay crawlable

Disallowing /assets/ or /wp-includes/ can starve Googlebot of the CSS and JS it needs to render the page — and unrenderable pages rank like broken ones.

Toolbox

Tester vs Search Console — use both

Google retired its old URL-level robots.txt tester. Here is how the remaining pieces divide the work.

This tester GSC robots.txt report
Test a file before it goes live Paste rules and test instantly Not possible — reads only the deployed file
Simulate AI crawlers GPTBot, ClaudeBot, PerplexityBot, CCBot & more Googlebot only
Shows the deciding rule line Yes — verdict traces to the exact directive Report shows file & fetch status, not per-URL verdicts
Confirms what Google actually fetched Use alongside — deployment truth lives in GSC Yes — the live file and last-fetch timestamp

The tester answers “what would happen” — Search Console answers “what Google actually fetched.”

Workflow

Four steps to a confident file

Run it before every deploy — a robots.txt change is a one-line edit with site-wide blast radius.

01

Bring the rules

Paste drafted rules straight in, or drop in your domain to pull the live file. Testing a draft before deploy is the whole point — catch it in staging, not in Search Console a week later.

02

Pick the bot, list the URLs

Choose the crawler to impersonate and enter the paths that matter: your money pages, the folders you meant to block, and the edge cases — parameterized URLs, asset paths, PDFs.

03

Read verdict + deciding rule

Each row returns ALLOWED or BLOCKED with the rule line that produced it. A wrong verdict is never a mystery — it names its culprit.

04

Fix, retest, deploy, verify live

Edit the flagged line, retest until every verdict is intentional, then deploy to the domain root. Verify in Search Console that Google fetched the new version — then relax.

FAQ

Robots.txt testing, answered

The questions that come up once the verdicts land.

What does a robots.txt tester actually do?

Two things: it validates the file's syntax (flagging unparseable lines, illegal placement, and size issues) and it simulates verdicts — picking a crawler and a URL, then computing whether that bot may fetch that path under your rules, with the deciding rule highlighted.

Why not just use Google Search Console?

Google retired its old robots.txt Tester; the current Search Console report shows the fetched file and its status but no longer simulates per-URL verdicts. A tester also lets you check a file before deployment, test AI crawlers Google doesn't model, and see the exact rule behind each verdict.

A URL shows BLOCKED but Google still indexed it — why?

Disallow blocks crawling, not indexing. If other pages link to a blocked URL, Google can list it as a link-only result without ever fetching it. To keep a URL out of the index entirely, allow crawling and use a noindex meta tag or X-Robots-Tag header instead.

My rule isn't taking effect — what should I check first?

In order: Is the file live at https://yourdomain.com/robots.txt (not a subdomain or subfolder)? Is the bot reading a more specific group than the one you edited? Does a longer Allow override your Disallow? And is the rule within the first 500 KB? The tester's deciding-rule line usually exposes the culprit immediately.

How do I test whether AI crawlers can reach my content?

Run test URLs against GPTBot, ClaudeBot, PerplexityBot, CCBot and Google-Extended separately — answer-engine bots and training bots deserve different policy. If a bot has no dedicated group it falls back to *, so test both scenarios before assuming it's covered.

Does a 404 on robots.txt break my SEO?

No — a missing file means "crawl everything," which is fine if that's your intent. The dangerous cases are a 5xx (Google assumes full disallow until refetch), a file served at the wrong path, or rules that unintentionally block assets needed for rendering.

One wrong line can hide your whole site

A stray Disallow has taken down entire stores and product launches. Test every URL against every bot that matters — before the crawlers grade your work.