Short answer: before you rewrite your website or pay anyone, open one file. Every website can have a small text file called robots.txt, which tells search engines and AI tools which pages they may read. If that file shuts out ChatGPT's search tool, OpenAI says your site will not be shown in ChatGPT search answers. It does not matter how good your pages are.
Most owners have never looked at this file. It gets written by a web developer, a website builder, a plugin or a hosting company, often years ago. Then a rule gets added for a good reason, like keeping your content out of AI training, and it quietly blocks the AI search tools as well. Nobody notices, because the website still works fine for people.
Step 1: open the file
Type your web address into your browser with "/robots.txt" on the end, like "yourwebsite.com/robots.txt". You will see a short page of plain text. Each group starts with a line saying which tool it talks to, written as User-agent:, followed by what that tool may or may not read.
If you get a "page not found" message, there is no file. That is fine: with no file, every tool is allowed in. You can skip to step 4.
Step 2: look for these names
Each AI company sends more than one tool to read websites, and each tool has a name. These are the ones that decide whether you can be found in an answer:
- OAI-SearchBot is ChatGPT's search tool. OpenAI says sites that block it will not be shown in ChatGPT search answers.
- Claude-SearchBot is Claude's search tool. Anthropic says blocking it can make your site show up less in Claude's answers.
- Claude-User visits a page when someone asks Claude a question about it. Anthropic says blocking it can also cut how often you show up.
- PerplexityBot is Perplexity's search tool.
- Googlebot is Google's. Blocking it hurts more than Google: Brave Search, which Claude uses, follows whatever you set for Google.
If any of these names sits above a line that says Disallow: /, that tool is shut out of your whole site.
Step 3: check the line that blocks everyone
The most common accident is this pair of lines:
User-agent: *
Disallow: /
The star means "every tool". Together, the two lines tell every search engine and every AI tool to stay away from the whole site. Developers often add them while a site is being built, so it does not show up half finished. Then the site goes live and the lines stay.
A line like Disallow: /admin or Disallow: /checkout is normal. That only blocks one part of the site, usually a part you would not want in search anyway.
Step 4: check your hosting settings too
Some hosting and security companies can block AI tools for you, outside the file. Cloudflare is the big one. In July 2025 it started asking every new website whether to allow or block AI tools. From 15 September 2026, new sites block AI training tools and AI agents by default on pages that show ads, while search tools stay allowed.
So a site can have a clean file and still turn AI tools away. If your website runs through Cloudflare, ask whoever set it up to check the AI settings in the dashboard. They can add lines to that file and block some tools before they ever reach your site.
What if you want to stay out of AI training?
You may have good reasons to keep your writing out of AI training. That is a separate choice. OpenAI and Anthropic each use one tool for training and different ones for search:
- GPTBot collects pages that may be used to train OpenAI's AI. OpenAI treats blocking it as separate from search.
- ClaudeBot does the same for Anthropic. Blocking it keeps your future pages out of training.
So if you want out of training but still want to be recommended, block only those two and leave the search tools open. A file that does that looks like this:
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: *
Allow: /
Most small businesses want to be found more than they want to stay out of training. If you are not sure, leave everything open.
How common is this?
Common enough to check. Zyte's 2026 study of about 11,000 popular websites found 13% now restrict AI tools in this file. Many of those blocks come from copied rules, plugins and hosting settings rather than a decision anyone remembers making.
Step 5: fix it, then wait a day
If you found a block you did not want, send your web person the exact line and ask them to remove it. On WordPress, an SEO plugin may control the file, so the change goes in the plugin's settings. On Wix and Squarespace, look for the "SEO" settings for the whole site.
OpenAI says changes to the file take about 24 hours to reach ChatGPT search. After that, ask ChatGPT the question a new customer would ask, and see whether you are named.
Want someone to check for you?
Our free check asks AI tools three questions your customers would ask and tells you if they named you. If they did not, this file is one of the first things we look at. The monthly plan checks ChatGPT, Claude and Gemini every month and shows you next to your competitors.
FAQ
What is a "robots.txt" file?
It is a small text file at "yourwebsite.com/robots.txt". It tells Google and AI tools which pages they may read.
Can the "robots.txt" file stop ChatGPT from recommending my business?
Yes. If it blocks OAI-SearchBot, OpenAI says your site will not be shown in ChatGPT search answers.
If I block GPTBot, will I disappear from ChatGPT?
No. GPTBot collects pages for AI training. OpenAI treats that as separate from search, which uses OAI-SearchBot.
How do I let ChatGPT and Claude read my website?
Make sure your robots.txt file does not say Disallow: / for OAI-SearchBot, Claude-SearchBot, Claude-User or the star that means every tool. No file at all also lets everyone in.
How long does a change to the file take to work?
About 24 hours for ChatGPT search, according to OpenAI. Other tools do not publish a time.
Can Cloudflare block AI tools even if my file allows them?
Yes. Cloudflare has its own settings for AI tools, and it can also add lines to that file for you. Check both.
Sources: OpenAI, the tools it uses to read websites; Anthropic, how Claude reads websites; CNBC, Cloudflare to block AI bots by default (July 2025); Help Net Security, Cloudflare's new AI access rules (2 July 2026); Zyte, State of Web Access 2026.