NamedinChat
Blog

Is your robots.txt blocking ChatGPT? How to check in 30 seconds

By Benjamin ยท November 17, 2026

Why does robots.txt matter for ChatGPT?

When a buyer asks ChatGPT for software, ChatGPT often searches the web and cites the pages it read. Those pages come from an index built by OpenAI's crawler, OAI-SearchBot. OpenAI's documentation says that sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though they can still appear as navigational links.

robots.txt is where that opt out lives. One line written years ago, often to keep a scraper away, can keep your pricing page out of every ChatGPT answer about your category. The same file also controls Claude and Perplexity, which have their own crawlers.

How do you check it by hand?

  1. Open https://yourdomain.com/robots.txt in a browser. It should show plain text. If you get your home page or an error, see the questions below.
  2. Search the page (Cmd+F or Ctrl+F) for OAI-SearchBot, ChatGPT-User and GPTBot.
  3. If none of them appears, find the line User-agent: * and read the rules under it. Those are the rules ChatGPT's crawlers follow.
  4. If one of them appears, read only the rules in its own group. A crawler with its own group ignores the * group.
  5. Look for Disallow: / (the whole site) or Disallow lines that cover /pricing, /blog or your product pages.

Here is a file that blocks ChatGPT search without anyone meaning to:

User-agent: *
Disallow: /

User-agent: Googlebot
Allow: /

Only Googlebot has its own group, so every other crawler, OAI-SearchBot included, falls under User-agent: * and is kept out of the whole site. This pattern often comes from a staging setup copied to production, or from a rule meant to stop scrapers.

Which ChatGPT crawler should you look for?

  • OAI-SearchBot indexes pages for ChatGPT search. If it is blocked, ChatGPT can't show or link your pages in its answers.
  • ChatGPT-User opens a page when a user's question needs it. OpenAI says robots.txt may not apply to it, since a person asked.
  • GPTBot collects pages to train OpenAI's models. Blocking it does not remove you from ChatGPT search.

OpenAI states that each setting is independent. You can block GPTBot and still allow OAI-SearchBot. The details for each crawler, and the equivalents at Anthropic, Perplexity and Google, are in our guide to GPTBot, OAI-SearchBot and ChatGPT-User.

Which mistakes block ChatGPT most often?

  • A blanket Disallow: / under User-agent: *, left from staging or added to stop scrapers.
  • A long list of AI bots copied from a blog post, where OAI-SearchBot, Claude-SearchBot or PerplexityBot were blocked along with the training crawlers.
  • Rules on the wrong host. robots.txt applies per host, so www.yourdomain.com and yourdomain.com can serve different files.
  • A robots.txt that answers with a server error. Under RFC 9309, the robots.txt standard, a crawler that can't reach the file because of a server error must treat the whole site as disallowed.

When two rules match the same page, the longest one wins, and on a tie Allow wins. So Disallow: /pricing and Allow: /pricing/ can give different results for /pricing and /pricing/teams. If your file has many rules, a tool that applies the standard is safer than reading it by eye.

What should the file say if you want ChatGPT to read your site?

If your file has no group for OpenAI's crawlers and the * group allows your key pages, there is nothing to change. If something blocks them, the smallest fix is a group of their own for the search and user crawlers:

User-agent: OAI-SearchBot
User-agent: ChatGPT-User
Allow: /

Put it anywhere in the file and remove any existing Disallow rules for those two names. You can keep blocking GPTBot if you do not want your pages used for training. OpenAI says it can take about 24 hours after a robots.txt update for ChatGPT search to adjust.

If you want Claude and Perplexity too, add Claude-SearchBot, Claude-User, PerplexityBot and Perplexity-User to the same group.

Why can ChatGPT still be blocked when robots.txt allows it?

robots.txt is a request the crawler chooses to read. A firewall acts before that: if your bot protection refuses requests from automated clients, the crawler never sees your pages, whatever the file says. Cloudflare and other hosts have settings that do this, sometimes switched on at setup.

You can't see this from the file. You need to load your pages the way a crawler does and compare with a normal browser. If you use Cloudflare, our guide on how to tell if Cloudflare blocks AI crawlers goes through each setting.

Is there a faster way to check?

Yes. The free AI crawler checker reads your robots.txt with the matching rules of the standard, for 14 AI crawlers: the search, user and training crawlers of OpenAI, Anthropic and Perplexity, plus Google-Extended, Applebot-Extended, CCBot, Bytespider, meta-externalagent and Amazonbot. It checks your home, pricing and blog pages and shows the exact line that decides each result.

It also loads your home page with a browser and with the GPTBot, OAI-SearchBot, ClaudeBot and PerplexityBot user agents. If the browser gets through and a crawler does not, a firewall rule is the likely cause. When something is blocked, it writes the lines to add. No signup.

What comes after access?

Being allowed means ChatGPT can read your pages. It does not mean ChatGPT names you when a buyer asks for a tool. That depends on the pages it reads for your category and what they say about you, as explained in why ChatGPT doesn't mention your brand.

Once access is fixed, the next step is to look at the answers themselves. A free NamedInChat audit asks 10 of your buyers' questions to ChatGPT, Claude, Gemini, Perplexity and Google AI Mode, without signup, and shows who is named, who comes first and which pages they read.

FAQ

Does blocking GPTBot remove my site from ChatGPT?

No. GPTBot collects pages for training. ChatGPT search uses OAI-SearchBot, and OpenAI says each setting is independent. You can block GPTBot and allow OAI-SearchBot.

What if my site has no robots.txt?

If the file returns a 404, crawlers treat everything as allowed, which is fine for AI search. If it returns a server error, crawlers that follow the standard treat the whole site as off limits, so fix that first.

How long does a robots.txt change take to reach ChatGPT?

OpenAI says about 24 hours for ChatGPT search to adjust after a robots.txt update.

Can I check my robots.txt for AI crawlers for free?

Yes. The NamedInChat AI crawler checker reads your robots.txt for 14 AI crawlers, tests your home, pricing and blog pages, and checks whether your firewall turns crawlers away. No signup.

See who AI recommends to your buyers

Free audit: your buyers' questions asked to ChatGPT, Claude, Gemini, Perplexity and Google AI Mode. No signup.

Run a free audit