Is Your robots.txt Blocking ChatGPT? How to Check in Five Minutes

Last verified 27 October 2026 against OpenAI, Anthropic, Perplexity and Google crawler documentation

Does robots.txt block ChatGPT?

Your robots.txt blocks ChatGPT when it disallows OAI-SearchBot, the crawler behind ChatGPT’s search index. Blocking GPTBot stops OpenAI from training on your pages but leaves you citable. Open yoursite.com/robots.txt and look for a Disallow: / in any group those tokens match.

Get a free AI visibility audit

You type your company name into ChatGPT and a competitor comes back instead. Before you rewrite a single page, check the file that decides whether an AI engine is allowed to read you at all. It sits at your domain root, it is six lines long on most sites, and a single stray rule in it can keep you out of every answer ChatGPT gives.

Most sites we audit have no AI block at all. A smaller group has blocked the wrong bot and lost citations while keeping their pages in the training set they meant to opt out of. This walks you through the five-minute version of that check, then the five mistakes that cause the damage.

A magnifying glass held over lines of robots.txt directives
Reading the file is the whole first step. Most sites never do it.

The six terms you need before you open robots.txt

robots.txt

A plain text file at your domain root that tells crawlers which paths they may request. Compliant bots read it before fetching. It advises, it does not enforce.

GPTBot

OpenAI‘s training crawler. It collects content that may train future models. Blocking it has no effect on whether ChatGPT can cite you.

OAI-SearchBot

The crawler that, in OpenAI’s words, surfaces websites in ChatGPT’s search features. This is the one that decides whether ChatGPT can show your link.

ChatGPT-User

Fetches a page when a person asks ChatGPT a question that needs it. OpenAI states that robots.txt rules may not apply, because a person triggered the request.

Google-Extended

A Google product token covering Gemini training and grounding. It will not remove you from AI Overviews.

Product token

A name you address rules to in robots.txt that has no crawler of its own. Google-Extended is one. It changes how collected data gets used, not whether a fetch happens.

What robots.txt controls, and what it leaves open

A crawler asks for your robots.txt, reads the group of rules addressed to its own name, and obeys them. That is the whole mechanism. Three consequences follow, and they explain most of the confusion in this topic.

First, the bot has to be named. Second, the bot has to care, and the fetchers that act on a live user request mostly do not. Third, a rule you write today reaches an engine on that engine’s own schedule. OpenAI puts the lag at roughly 24 hours for search; Perplexity says the same.

1 July 2025

The date Cloudflare changed its default to block AI crawlers unless they pay for content. If your site sits behind Cloudflare, your robots.txt can read as wide open while the edge returns 403 to every AI bot that knocks.

That last point catches people who have already done the robots.txt work. Your file is one of at least three layers that can refuse an AI crawler. The other two are your CDN or WAF, and your origin server or security plugin. Step five of the check below covers them.

The three kinds of AI crawler your robots.txt sees

Group every bot by its job and the decision gets easy. Training crawlers feed models. Search crawlers build the index an engine cites from. User-triggered fetchers answer one person’s question in real time. Blocking across the groups without noticing is how a site loses citations it wanted.

Token Operator Job Block it and you lose
Training crawlers
GPTBot OpenAI Collects content that may train future models Nothing in ChatGPT search
ClaudeBot Anthropic Collects content that may train Claude Nothing in Claude search
Google-Extended Google Gemini training and grounding. No crawler of its own Nothing in Search or AI Overviews
CCBot Common Crawl Open dataset that feeds many training sets Nothing in any AI search index
Search crawlers  (guard these)
OAI-SearchBot OpenAI Surfaces websites in ChatGPT’s search features Every ChatGPT citation
Claude-SearchBot Anthropic Indexes content for search relevance and accuracy Visibility in Claude
PerplexityBot Perplexity Surfaces and links websites in Perplexity results Every Perplexity citation
Googlebot Google Feeds Search, and with it AI Overviews and AI Mode Google, in every form
User-triggered fetchers  (robots.txt may not reach them)
ChatGPT-User OpenAI Fetches a page for one live question Little. Rules may not apply
Claude-User Anthropic Retrieves pages for a live Claude question Visibility in user-directed search
Perplexity-User Perplexity Visits a page to answer one question Little. Perplexity states it ignores robots.txt

Sources: OpenAI, Anthropic, Perplexity and Google crawler documentation, read 27 October 2026. Tokens and behaviour change without notice, so check each operator’s own documentation, linked above, before you act on them.

How to check if robots.txt is blocking ChatGPT in five minutes

Work through these in order. You need a browser and, for step five, your hosting or CDN dashboard.

  1. 1. Open the file  30 seconds

    Visit https://yourdomain.com/robots.txt in a browser. You want plain text and a 200. A 404 means no file, which allows everything. A redirect to your homepage means crawlers get HTML where they expected rules, and some will treat that as allow-all while others back off. Fix a redirect.

  2. 2. Search for a site-wide block  30 seconds

    Use your browser’s find and look for Disallow: / with nothing after the slash. Under User-agent: * that one line blocks every compliant crawler without a group of its own, which on most sites includes every AI search bot in the table above.

  3. 3. Find which group each AI bot lands in  2 minutes

    Search the file for each of these, one at a time: OAI-SearchBot, GPTBot, ChatGPT, Claude, Perplexity, Google-Extended.

    A named group changes which rules apply. Google’s specification states that a crawler obeys the group with the most specific matching user agent and ignores the rest, and that user agent groups and the global * group are not combined. So a bot with its own group stops reading your * rules, and a bot without one reads nothing else.

  4. 4. Check your snippet directives  1 minute

    View source on a key page and search for nosnippet. Google’s AI features guidance requires a page to be indexed and eligible for a snippet before AI Overviews or AI Mode can show it, so nosnippet or max-snippet:0 removes you from both. It also removes your ordinary search snippet.

  5. 5. Check the layers above robots.txt  1 minute

    In Cloudflare, open Security and look for the AI crawler control or bot fight mode. In WordPress, check whether an SEO or security plugin writes its own robots rules or blocks user agents. Then open your access logs and search for OAI-SearchBot. Requests returning 403 point at this layer, not at your file.

Ran the check and found something odd?

Send us the domain. We read your robots.txt, your snippet directives and your edge rules, then tell you which engines can see you and which cannot.

Five robots.txt mistakes that cost you AI citations

1. Blocking GPTBot and calling it done

This is the one we see most. A site blocks GPTBot to stay out of model training, then waits for ChatGPT traffic that never arrives. The two concerns run on separate tokens. GPTBot governs training. OAI-SearchBot governs whether ChatGPT can surface your link. Block the first, allow the second, and you get the opt-out you wanted without losing the citations.

2. Assuming your wildcard rules still apply

You add a group for OAI-SearchBot to allow it. Your * group still carries Disallow: /wp-admin/ and a dozen other rules. Those no longer reach OAI-SearchBot, because groups do not merge. Whatever you want a named bot to respect has to be repeated inside its own group.

3. Expecting Google-Extended to pull you out of AI Overviews

Google’s documentation states that Google-Extended does not impact a site’s inclusion in Google Search nor is it used as a ranking signal in Google Search. It covers Gemini training and grounding. AI Overviews run off the Googlebot index and your snippet settings, so the only robots.txt lever that touches them is one that blocks Googlebot, which costs you Search as well.

4. Misspelling a token

Token matching ignores case, so gptbot works. Spelling does not get the same tolerance. Write OpenAI-SearchBot or ClaudeBot-User and you have created a group no crawler will ever claim. Your file validates, nothing errors, and the rule does nothing. Copy tokens from the operator’s own page.

5. Forgetting your subdomains

robots.txt applies to the host that serves it. Rules on example.com say nothing about blog.example.com or docs.example.com. Anthropic’s own guidance tells site owners to repeat the step for each subdomain. If your best content lives on one, check its file too.

Pro tip

Grep your access logs for the search tokens before you change anything. A site that has never been visited by OAI-SearchBot has a discovery problem, not a robots.txt problem, and editing the file will not move it. Volume on that token and no ChatGPT citations points somewhere else: thin pages, no structure, no sources to lift.

A robots.txt you can copy

This is the arrangement most businesses want: visible to every AI search engine, out of the training corpora. Read each group before you paste it, and drop the training blocks if you have no objection to training.

# Search and answer engines: allowed, so they can cite us
User-agent: Googlebot
Allow: /
Disallow: /wp-admin/

User-agent: OAI-SearchBot
Allow: /
Disallow: /wp-admin/

User-agent: Claude-SearchBot
Allow: /
Disallow: /wp-admin/

User-agent: PerplexityBot
Allow: /
Disallow: /wp-admin/

# Training crawlers: blocked
User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: Bytespider
Disallow: /

# Everything else
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

Sitemap: https://example.com/sitemap.xml

Swap in your own sitemap URL. Note that Disallow: /wp-admin/ repeats inside each search group on purpose, because the * rules will not reach them. Bytespider belongs to ByteDance, which publishes no crawler documentation we can point you to, and reports of it ignoring robots.txt are common. Treat that line as a request and use a firewall rule if you need it enforced.

24 hours

How long OpenAI and Perplexity each say their systems may take to reflect a robots.txt change. Do not judge your edit on the same afternoon you make it.

What a clean robots.txt cannot fix

We ran this check on our own domain while writing. The file at clickfest.pro/robots.txt carries one group, disallows /wp-admin/, allows the ajax endpoint and lists two sitemaps. No AI crawler is blocked and no page carries nosnippet. That is a pass on this article’s test, and it buys exactly one thing: permission to be read.

Permission is the floor. An engine still has to find a passage worth lifting. The GEO study presented at KDD 2024 tested nine content edits against a generative engine and reported that the strongest lift source visibility by up to 40 percent. The three that led were citations from reliable sources, credible quotations and relevant statistics. Keyword stuffing, the one tactic carried over from old SEO habits, performed 10 percent worse than leaving the page alone.

132%

The visibility gain the same study measured for adding citations on the lowest-ranked sites it tested. Sites already at the top gained least from it. If you are not winning on rank, structure and sourcing are the levers that pay.

So fix the file, then go and earn the citation. Answer the question in the first 60 words of the section. Put comparisons in tables. Date your statistics and link where they came from. Name an author. None of that works while a Disallow: / sits in the way, which is why the file comes first.

Questions about robots.txt and ChatGPT

Will blocking GPTBot stop ChatGPT from mentioning my site?

No. GPTBot collects training data. OAI-SearchBot builds the index ChatGPT searches. Blocking GPTBot keeps your pages out of future training runs and leaves ChatGPT free to find, cite and link you.

Can I block AI crawlers and keep my Google rankings?

For Gemini, yes. Google states that a Google-Extended block does not affect inclusion in Google Search or act as a ranking signal. For AI Overviews, no. They draw on the Googlebot index and your snippet settings, so the only way out also costs you ordinary search snippets.

Does robots.txt stop AI companies from reading my site?

It stops the ones that choose to obey it. Compliant crawlers read your file and honour it. User-triggered fetchers often do not, and Perplexity states outright that Perplexity-User ignores robots.txt because a person asked for the page. For enforcement you need a firewall or WAF rule.

I have no robots.txt at all. Is that a problem for ChatGPT?

Not for access. A missing file means nothing is disallowed, so every crawler may read every page. You lose the sitemap declaration and the ability to opt out of training, and both are worth having. Add the file.

How long before a robots.txt change takes effect?

OpenAI and Perplexity each cite roughly 24 hours for their systems to reflect a change. Re-crawling and re-indexing your pages after that takes longer and varies by engine and by how often your site changes.

My robots.txt is clean but no AI engine cites me. What now?

Check the edge and origin layers first, since a Cloudflare or plugin rule can block what your file permits. If those are clear and the search tokens appear in your logs, the gap is in the content: no direct answers near the top of a section, no tables, no dated statistics, no named author. Those are what an engine lifts.

Five minutes tells you whether you are visible. It will not tell you why you are not cited.

A clean file is the start. We audit the full path an answer engine takes to your pages, from the edge rules down to whether your content gives it anything worth quoting, and hand you the fixes in priority order.

  • ✓Every crawler layer checked: robots.txt, snippet directives, CDN, origin and plugin rules
  • ✓Your citation share across ChatGPT, Perplexity and AI Overviews, measured against two competitors
  • ✓A ranked fix list, with the structural changes that earn citations separated from the quick wins
Get your free AI visibility audit

Prefer to see scope and pricing first? Our pricing page lays out what each engagement covers.

About the author. The ClickFest team runs SEO, AEO and GEO programmes for businesses that want to be found by search engines and answer engines. We are an independent agency with no affiliation to OpenAI, Anthropic, Perplexity, Google or Cloudflare. Crawler tokens and operator policies change without notice, so verify against each operator’s own documentation before you edit a live file.