OpenAI · AI search & citations
How to Allow or Block OAI-SearchBot in robots.txt
Powers ChatGPT Search citations and live web links without training foundation models.
Updated
- Official User-Agent
- OAI-SearchBot
- Owner
- OpenAI
- Purpose
- Live Search / Citations
- Recommended action
- Allow
- What blocking it means
- Fetches or indexes pages so AI assistants can cite and link to you. Blocking it directly reduces AI search visibility.
OAI-SearchBot robots.txt rules
Allow OAI-SearchBotRecommended
User-agent: OAI-SearchBot Allow: /
Block OAI-SearchBot
User-agent: OAI-SearchBot Disallow: /
Block OAI-SearchBot from specific folders only
User-agent: OAI-SearchBot Disallow: /private/ Disallow: /drafts/ Allow: /
Place these rules in /robots.txt at the root of your domain. Crawlers cache robots.txt, so changes apply the next time OAI-SearchBot re-fetches it. Allow up to a day or more. If no group names OAI-SearchBot, it follows your User-agent: * rules. robots.txt is a voluntary standard, not access control. See the FAQ for details.
OAI-SearchBot FAQ
What is OAI-SearchBot?
OAI-SearchBot is a web crawler operated by OpenAI. Powers ChatGPT Search citations and live web links without training foundation models.
How do I block OAI-SearchBot in robots.txt?
Add these lines to the robots.txt file at the root of your domain: "User-agent: OAI-SearchBot" followed by "Disallow: /". To block only part of the site, replace / with a path such as /private/.
How do I allow OAI-SearchBot in robots.txt?
Add "User-agent: OAI-SearchBot" followed by "Allow: /". If no rule names OAI-SearchBot, it falls back to your "User-agent: *" rules, so check that those don't block it.
What happens if I block OAI-SearchBot?
OAI-SearchBot will stop fetching the blocked pages, so OpenAI's AI features can't use fresh copies of them to answer questions or link to them as sources. This can reduce your visibility in OpenAI's AI search results.
Should I allow or block OAI-SearchBot?
AEO Grader recommends allowing OAI-SearchBot if you want to appear in OpenAI's AI answers. It is a search crawler: it fetches pages so they can be used and linked as sources. Allowing it makes your pages eligible to be cited, but doesn't guarantee that they will be.
Does blocking OAI-SearchBot remove content it already collected?
No. robots.txt only affects future crawling. Content collected before you added the rule isn't removed. Check OpenAI's own documentation for any separate opt-out or removal process.