▶Guide Technical SEO Stable

How to configure robots.txt for AI crawlers

How to separate search, training and control tokens in robots.txt and make a deliberate access decision for each.

ID
SS-GD-007
Version
1.0
Confidence
High · 91
Evidence
Strong
Updated
2026-09-20
Review
2026-12-20

Executive summary

Do not use one blanket 'AI crawler' policy. Separate search/discovery crawlers from training crawlers and product-control tokens, then decide each role deliberately. OAI-SearchBot and PerplexityBot are search crawlers; GPTBot is a separate OpenAI training crawler; Google-Extended is a control token that does not govern Google Search or AI Overview eligibility.

What this helps you decide

Whether allowing a given AI crawler advances your visibility more than it risks your content.

Business problem

AI providers use different user agents and control tokens for search discovery, training, grounding and user-triggered fetches. Treating them as one crawler class can accidentally block visibility or surrender a training choice you meant to keep separate.

Step-by-step process

  1. 1
    Separate training from retrieval bots

    Classify each documented token by role: search/discovery, training, grounding/control or user-triggered. Do not treat GPTBot, OAI-SearchBot and Google-Extended as interchangeable.

  2. 2
    Decide your default posture

    For most publishers seeking AI visibility, allow retrieval crawlers and make the training decision separately based on how proprietary your content is.

  3. 3
    Write explicit user-agent groups

    Add named blocks for each bot rather than relying on the wildcard, because AI crawlers only obey rules that match their exact user-agent token.

  4. 4
    Scope allow and disallow paths

    Permit your public, citable content while disallowing account areas, checkout and anything you never want quoted.

  5. 5
    Keep search-engine access intact

    Never let an AI-crawler rule accidentally block Googlebot or Bingbot; test that your classic search crawlers remain fully allowed.

  6. 6
    Validate and publish

    Test the file in a robots checker, confirm each user-agent resolves the intended rules, then publish at the domain root.

  7. 7
    Monitor in logs

    Watch server logs to confirm each bot honours its rules and to spot new AI user-agents worth a decision.

Worked example

Checklist

  • List every AI user-agent you have decided about
  • Give each bot its own named user-agent block
  • Allow public content and disallow private or transactional paths
  • Confirm Googlebot and Bingbot remain fully allowed
  • Validate the file and publish it at the root
  • Check logs to confirm bots obey the rules

Common mistakes

  • Assuming a wildcard disallow will stop a named AI crawler that only reads its own block
  • Blocking retrieval crawlers and then wondering why the brand never appears in AI answers
  • Editing robots.txt in a way that accidentally disallows classic search engines

30-minute experiment

KPIs to track

  • Number of AI crawlers correctly honouring rules
  • Frequency of brand citations in AI answers
  • AI-crawler requests to disallowed paths

FAQs

Will blocking GPTBot remove me from ChatGPT answers?

No. OpenAI documents OAI-SearchBot as the crawler relevant to ChatGPT search summaries and snippets. GPTBot is a separate training crawler, so blocking GPTBot does not by itself remove you from ChatGPT search.

Does robots.txt actually stop AI crawlers?

Well-behaved crawlers honour it, but it is a request, not a lock. For content you must protect, combine robots rules with authentication or firewall-level blocking.

Recommended next steps

    Apply the method Crawlability Framework Framework → See the wider capability AI Visibility Optimisation Capability → Decide your next move Should I allow AI crawlers? Decision →

Where this fits - and what's next

The SearchScore path from a problem you feel to visibility you can measure.

    Problem Spot the pattern Method Pick the framework Do it Follow the guide Check Run the checklist Score Interactive audit TrackSearchScore Tracker StartFree audit →