AI Mention Score

Is your website blocking AI? How to check robots.txt for GPTBot, ClaudeBot and PerplexityBot

Updated October 15, 2026

Open yourdomain.com/robots.txt in a browser. If you see User-agent: GPTBot, ClaudeBot or PerplexityBot followed by Disallow: /, that crawler is told not to read your site. A User-agent: * group with Disallow: / blocks every crawler without a group of its own. Our free AI crawler checker reads the file for you and shows each result.

What is robots.txt?

A plain text file at the root of your website that tells crawlers which pages they may read. It's a request, not a lock, but the big AI companies say their crawlers follow it.

The file is split into groups. Each group starts with one or more User-agent lines naming a crawler, then the Allow and Disallow rules for it. A crawler follows the group that names it and ignores the rest. Only a crawler with no group of its own falls back to the User-agent: * group.

Which AI crawlers should I look for?

OpenAI runs GPTBot (training), OAI-SearchBot (ChatGPT search) and ChatGPT-User (fetching a page a user asked about). Anthropic runs ClaudeBot and Claude-SearchBot, and some files still use the older anthropic-ai token. Perplexity runs PerplexityBot.

Google-Extended and Applebot-Extended are tokens rather than separate crawlers: they control whether Google and Apple may use your pages for their AI models. Google says Google-Extended doesn't affect Google Search. CCBot belongs to Common Crawl, whose archive many AI models are trained on.

How do I read the file?

Look for each crawler's name. If it has its own group, it reads that group and nothing else. Disallow: / on its own means the whole site is off limits. An empty Disallow: means nothing is.

If a crawler has no group, read the User-agent: * group. Disallow: / there blocks every crawler that isn't named elsewhere, AI or not. Deeper rules like Disallow: /wp-admin/ only close part of the site, which is normal for admin and checkout pages.

How do sites end up blocking AI by accident?

We see the same few causes. A security or SEO plugin with an "block AI bots" option switched on. A staging setting left in place after a site went live. A snippet copied from a news article about publishers blocking AI. A host or CDN preset that blocks AI crawlers at the firewall, which doesn't appear in robots.txt at all.

None of these is unusual, and the owner rarely knows. That's why crawler access is the first check in every fix plan we write.

How do I fix it?

If a crawler is named with Disallow: /, delete that group or change the line to Allow: /. If the block comes from the * group, add a group for each AI crawler you want to let in, each with Allow: / under it. Named groups win over the * group, so this works without changing the rules for everyone else.

On WordPress, change it in the plugin that writes the file, or your edit may be overwritten. On Wix, Squarespace and Shopify, look in the SEO settings. Then check the live file again, and give the crawlers a few weeks to come back.

Should I block AI training but allow AI search?

Some publishers do that: block GPTBot and ClaudeBot, which collect training data, and allow OAI-SearchBot and Claude-SearchBot, which fetch pages for search answers. It's a reasonable choice for a site whose writing is the product.

For a local service business that wants to be recommended, we'd allow both. Training data shapes what an assistant knows about you when it doesn't search, and there's little for you to protect by keeping it out.

Check your business for free

Enter your website. We ask ChatGPT, Claude, Gemini and Perplexity the questions your customers ask and email you who they recommend.

Free forever. No card. Works for any kind of business.

Common questions

Does blocking GPTBot stop ChatGPT from recommending me?

It takes away ChatGPT's own reading of your site, so it has to rely on what other sites say about you. It may still name you from directories and reviews. But you've removed the one source you control, which is rarely worth it for a business that wants customers.

Will allowing AI crawlers slow my site down?

For a typical small business site, no. These crawlers visit far less often than a busy day's customers. If one ever misbehaves, you can slow it with a firewall rule without blocking the rest.

I don't have a robots.txt file. Is that a problem?

No. With no file, every crawler is allowed to read everything. You only need one if you want to keep crawlers out of part of the site.

Does robots.txt affect Google rankings?

Only the rules for Googlebot do. Rules for GPTBot, ClaudeBot or PerplexityBot have no effect on Google Search, and Google says the same of Google-Extended.

How do I know the crawlers came back after I fixed it?

Your server logs show visits by user agent. Most small business owners won't read those, so the practical test is whether your pages start showing up as sources in Perplexity and ChatGPT answers over the following weeks.

More guides