Should You Block GPTBot? The Real Trade-Off

Block GPTBot if you want to express a training opt-out, and decide separately whether to allow OAI-SearchBot for ChatGPT Search. Before merging a snippet, compare the complete old and new robots.txt files. A named search-allow group can discard restrictions inherited from your wildcard group. The verifier below identifies changed paths and their deciding rules, within a deliberately limited set of supported syntax.

Checked on November 5, 2026. The worked examples use real public files with hypothetical edits. They do not describe crawler visits or changes made to those websites.

Should you block GPTBot? Choose the change you actually want

For a small blog that wants to remain available to ChatGPT Search while declining training use, separate the two choices. OpenAI's crawler documentation assigns training collection to GPTBot and search discovery to OAI-SearchBot, with independent controls. Allowing search does not guarantee a citation.

Translate that preference into a testable requirement: “Restrict GPTBot, but preserve the permissions OAI-SearchBot already has.” That is narrower than allowing every path to every AI agent. It also gives the comparison a meaningful definition of an unexpected change.

If your existing search policy already blocks pages you now want discoverable, preserving it is not your goal. Review those intended openings separately. The verifier cannot decide which of your pages should be available. It shows where the proposed policy differs so you can make that decision deliberately.

Compare your current and proposed robots.txt

Use the comparison tool here with complete files, including existing groups. Pasting only a new snippet cannot reveal how it interacts with the policy it will join.

  1. Put the current file in the first box and the complete proposed version in the second.
  2. Select the crawler tokens you want to compare. Start with GPTBot and OAI-SearchBot for the training-versus-search decision described above.
  3. Mark the GPTBot restriction as intended only if you want it disallowed across all supported content paths.
  4. Run the comparison. Read unexpected changes and any unmet-goal warning before accepting the proposed edit.

The tool compares pasted text locally; it does not fetch your site, save the file or change your server. Selecting two tokens does not check every crawler. If either file contains unsupported syntax, the entire comparison is refused rather than presenting a partial result as reassurance.

The example buttons let you compare an explicit search-allow addition with an alternative that retains the original exclusions.

What changed in two real public files

RFC Editor: an allow rule reopened three excluded prefixes

The RFC Editor's public robots.txt, read on November 5, 2026, placed three exclusions under User-agent: *. There was no named OAI-SearchBot group in that captured file.

For the offline comparison, a hypothetical edit appended a named OAI-SearchBot group with Allow: /, alongside a GPTBot restriction. The comparison produced these search-policy changes:

Path used as a witness Captured policy Hypothetical search-allow addition Alternative retaining exclusions
/rfc/authors/ Disallowed Allowed Disallowed
/rfc/rerendered/ Disallowed Allowed Disallowed
/rfc/v3test/ Disallowed Allowed Disallowed

The alternative placed the same exclusions inside the named search group. That preserved the selected search permissions while the new GPTBot restriction remained the intended change. These paths represent changed permissions, not three pages known to have been crawled. No excluded endpoint was fetched.

Python.org: existing groups did not prevent the same mistake

The captured Python.org robots.txt contained several named crawler groups as well as wildcard exclusions for /~guido/orlijn/ and /webstats/.

The same hypothetical addition opened those two prefixes for OAI-SearchBot in the model. Repeating their exclusions in the new search group preserved its previous permissions. The other named groups in the file did not make the new search group inherit the wildcard rules.

This second input matters because the problem is not confined to a nearly empty file. But two selected examples establish no failure rate for websites or generators. Neither publisher made these edits. The useful result is that you can run the same before/after decision on your own supported files without first guessing which path might change.

Read the result as a permission change, not an approval

The result separates what you asked to change from what else changed:

Result What to do with it
Intended training restriction Confirm that the GPTBot change matches your preference.
Unexpected opening Read the old and new deciding rules. Keep the opening only if you intended it.
Unexpected restriction Check whether the proposed edit closes a path you meant to leave available.
No permission changes The selected policies agree within the supported scope; this is not a deployment check.

Also read the separate GPTBot goal message. An edit can introduce only intended restrictions while still leaving another supported path allowed. “Only intended changes” does not mean “the complete training restriction was achieved.”

Each changed-path example includes the deciding rule and line number in both files. This lets you distinguish a lost wildcard restriction from a longer existing rule that still takes precedence. Changing either input invalidates the old result; compare again after every revision.

Why checking just the homepage can miss the change

In the RFC Editor example, OAI-SearchBot could access / both before and after the hypothetical edit. Testing only that path would miss every opening in the table.

For the verifier's supported literal paths, permissions change at rule-prefix boundaries. It checks those boundaries from both files, including /, and gives a shortest representative of each changed pair of deciding rules. You do not need to supply a list of URLs to probe.

There is a special case: /robots.txt itself is implicitly accessible under the Robots Exclusion Protocol. The comparison also checks beyond that exact path so the exception cannot conceal a changed restriction on its descendants.

This is why the result calls a path a witness. It demonstrates a permission difference. It does not claim the resource exists, enumerate every affected URL or count pages on your site.

When the verifier refuses your files

A refusal means the tool cannot establish the comparison within its limits. It does not necessarily mean your robots.txt is invalid.

Supported access rules use literal ASCII paths beginning with /. Files with wildcard patterns, end anchors, percent encoding, query rules or non-ASCII paths are refused. So are partial crawler-token matches, malformed records and unsupported directives such as Crawl-delay or Content-Signal. Comments and valid HTTP(S) sitemap records are accepted as non-access records.

There are also size limits: 64 KiB and 500 access-rule records per file, eight selected crawler tokens and 2,048 characters per path. The interface lists the supported characters.

Do not remove a real directive merely to get a passing comparison. Keep the complete file and use a checker or technical review that understands the syntax you need. A result about a simplified copy would not certify your actual proposed policy. The narrow scope is the price of a comparison whose limits can be stated clearly.

What this comparison cannot tell you

The verifier evaluates declared permissions. It does not observe a crawler, check its identity, inspect your firewall or prove what a provider did with previously collected content. RFC 9309's security considerations also make clear that robots rules are not a substitute for access controls.

User-triggered fetches need separate treatment. OpenAI says robots.txt may not apply to ChatGPT-User requests; that agent is not the control for Search eligibility. A text matcher reporting a restriction does not establish that such a request will honor it.

Keep the sequence practical: decide the intended policy, compare the complete versions, resolve unexpected differences, then separately verify whatever is actually deployed. This is one technical step within answer engine optimization, not a prediction of citations, traffic or revenue.

FAQ

Can I block GPTBot without blocking OAI-SearchBot?

Yes. OpenAI documents those settings independently. The comparison helps check whether your particular merged file preserves the search permissions you intended. It does not measure whether ChatGPT will cite a page.

Why did adding an Allow rule change an excluded path?

A named group takes the place of the wildcard group for that crawler; it does not automatically inherit its exclusions. Google's robots matching documentation explains this distinction. Compare the deciding group and rule shown for the changed path rather than assuming the existing wildcard restriction still applies.

Can I append Allow: / to override an existing named block?

Not reliably. Matching named groups combine, and a longer matching restriction can still win. The verifier checks the complete proposed file against the original, so an existing path-specific block is included in the comparison.

Does a result without unexpected changes mean the edit is ready?

It means no unexpected permission difference was found within the selected tokens and supported path language. Check the separate intended-goal result, review unsupported needs and verify the deployed file independently. The tool does not install or approve anything.