OpenAI · Search crawler guide

OAI-SearchBot: who runs it and how to allow or block it

OAI-SearchBot surfaces websites in ChatGPT's search features. Allowing it makes your pages eligible to appear in ChatGPT search answers.

OAI-SearchBot at a glance

Operator
OpenAI
Purpose
Search It builds the search index behind AI answers.
Kind
Crawler. Visits your pages under its own user agent and reads the robots.txt group that names OAI-SearchBot.
What it feeds
ChatGPT search results
What OpenAI says about robots.txt
OpenAI states that sites opted out of OAI-SearchBot are left out of ChatGPT search answers, and that search picks up a robots.txt change in about 24 hours.
User agent string
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36; compatible; OAI-SearchBot/1.4; +https://openai.com/searchbot
Verified
against OpenAI's official docs (opens in a new tab).

robots.txt lines

Allow or block OAI-SearchBot.

Paste one group into the robots.txt at the root of your domain. A group that names OAI-SearchBot replaces your * group for OAI-SearchBot, so copy any * Disallow lines you still want applied into it.

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

Block OAI-SearchBot
User-agent: OAI-SearchBot
Disallow: /

Allow every AI answer bot
# AI crawler access, generated by Suede AI Agent Studio

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: Claude-User
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Perplexity-User
Allow: /

User-agent: Amzn-SearchBot
Allow: /

User-agent: Amzn-User
Allow: /

Opens OAI-SearchBot together with the other search and assistant crawlers in one paste.

Precedence

How OAI-SearchBot reads your robots.txt

Major crawlers apply the robots.txt standard (RFC 9309) the same way. Three rules decide every path.

  1. A named group beats *. When a group says User-agent: OAI-SearchBot, OAI-SearchBot follows that group and ignores the * group entirely. With no named group, the * group applies; with neither, every path is allowed.
  2. The longest matching rule wins. Inside the group, the Allow or Disallow line with the longest matching path decides, so Allow: /checkout/help overrides Disallow: /checkout for the help pages. * matches any run of characters and $ marks the end of the path.
  3. Allow wins a tie. When an Allow and a Disallow match with the same length, the path is allowed.
Example robots.txt
User-agent: *
Disallow: /

User-agent: OAI-SearchBot
Disallow: /checkout
Allow: /checkout/help
Disallow: /*.pdf$

What OAI-SearchBot does with this file
PathResultDeciding rule
/AllowedNo rule in the OAI-SearchBot group matches, so it is allowed
/checkout/cartBlockedline 5: Disallow: /checkout
/checkout/helpAllowedline 6: Allow: /checkout/help
/menu.pdfBlockedline 7: Disallow: /*.pdf$

Line 2 still blocks every crawler without a group of its own. OAI-SearchBot reads only lines 4 to 7, which is why the homepage stays open to it.

Your site

See which line decides OAI-SearchBot on your site.

Opens the free AI visibility check with your URL filled in. It reads your robots.txt and shows the exact line that decides OAI-SearchBot and every other AI crawler, with ranked fixes and a site-specific fix kit to unlock for $9.99.

FAQ

OAI-SearchBot, answered.

What is OAI-SearchBot?

OAI-SearchBot surfaces websites in ChatGPT's search features. Allowing it makes your pages eligible to appear in ChatGPT search answers. OAI-SearchBot is run by OpenAI and builds the search index behind AI answers.

How do I allow OAI-SearchBot in robots.txt?

Add a group that names it: a line reading "User-agent: OAI-SearchBot" followed by "Allow: /". A group that names OAI-SearchBot replaces your * group for OAI-SearchBot, so repeat any Disallow lines from your * group that should still apply to it. To block it instead, use "Disallow: /" in that group.

Does blocking OAI-SearchBot remove me from ChatGPT search results?

It can. OAI-SearchBot builds the index behind ChatGPT search results, so blocking it keeps your pages out of that index and out of the answers drawn from it. OpenAI states that sites opted out of OAI-SearchBot are left out of ChatGPT search answers, and that search picks up a robots.txt change in about 24 hours.

Related crawlers

Every crawler, its operator and its docs are in the full AI crawler list.

Last updated .

Keep OAI-SearchBot where you want it. Every Monday.

Run the free check for the full crawler table and ranked fixes, unlock the $9.99 fix kit for paste-ready files, then let the AI Visibility Watch template read your robots.txt weekly and flag any answer bot that becomes blocked.

Inside Agent Studio

Good work starts with a clear flow.

Give an agent a job. Connect the steps. See how the work becomes a service someone else can call.

Input
Reason
Output

A workflow you can inspect

Make the steps visible.

Start with a template or describe the job. Connect inputs, reasoning, and output on the canvas.

Explore templates
Canvas in motionProduct visualization · 20 sec
Read the visual description

A stylized organization chart opens into a workflow canvas. Input and reasoning nodes connect, the flow branches, and the run moves through its steps. The film ends with Suede AI Agent Studio. Music only; no spoken narration. Illustrative interface, not a live run.