← All posts
Technical October 21, 2026 · 8 min read · by Ali Danish

robots.txt for AI Crawlers: OAI-SearchBot, GPTBot & More

A single line in your robots.txt file can decide whether ChatGPT or Perplexity is able to cite your website at all. Many business owners block “AI bots” to stop their content being used for training and accidentally block the crawlers that put them in AI search answers. Here’s what each crawler does, taken straight from the companies’ own documentation, and a safe default setup.

Search crawlers vs training crawlers

The key idea: AI companies now run separate crawlers for separate jobs. One kind fetches pages so they can be shown and cited in search-style answers. Another collects content that may be used to train future models. A third visits a page only when a user asks a question that needs it. You can allow one and block another.

OpenAI (ChatGPT)

OpenAI’s crawler documentation lists three agents that matter for most sites:

OpenAI says each setting is independent, so you can allow OAI-SearchBot while disallowing GPTBot. It also notes that search can take about 24 hours to reflect a robots.txt change.

Perplexity

Perplexity’s crawler documentation describes two agents:

Perplexity also notes that changes can take up to 24 hours to show up.

Google (AI Overviews, AI Mode and Gemini)

Google works differently. Google’s “AI features and your website” guide says AI features in Search are built into Search, so Googlebot is the control: if you block Googlebot, you’re blocking Search itself, AI Overviews included. To limit what is shown from a page, Google points to nosnippet, data-nosnippet, max-snippet and noindex instead.

Separately, Google’s list of common crawlers describes Google-Extended, a robots.txt token (not a separate crawler) that controls whether content Google crawls may be used to train future Gemini models and for grounding in Gemini Apps and Vertex AI. Google states that Google-Extended “does not impact a site’s inclusion in Google Search nor is it used as a ranking signal in Google Search.”

A sensible default for a local business

If you want to be found and cited in AI answers but would rather not contribute to model training, this is a reasonable starting point. Adjust it to your own preference; there is no right answer on training.

User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Googlebot
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: Google-Extended
Disallow: /

If you’re happy for your public pages to be used for training, simply leave GPTBot and Google-Extended allowed. Most local businesses gain little from blocking them, and blocking them doesn’t make you more visible.

Three mistakes we see often

How to check yours in two minutes

  1. Open yoursite.com/robots.txt in a browser.
  2. Look for any group naming OAI-SearchBot, PerplexityBot or Googlebot with Disallow: /, and for a User-agent: * group that disallows everything.
  3. If you use Cloudflare or a security plugin, check whether it has a setting that blocks AI or “bot” traffic.
  4. Wait a day after changes, then test again.

Crawl access is only the first step: it makes you eligible to be cited, not guaranteed. Request a free SeenByAI check of how ChatGPT, Gemini and Perplexity answer questions about your business. Live checks are launching soon, and early sign-ups are first in line. Home service companies can start from our home services page.

See if AI recommends your business
Request a free check of how ChatGPT, Gemini and Perplexity answer questions about your business. Live checks launching soon; early sign-ups first in line.
Request early access →

Keep reading

Home services

Electricians and AI Search: How to Show Up When People Ask for an “Electrician Near Me”

Guide

How to Correct Wrong AI Answers About Your Business (ChatGPT, Gemini, Perplexity, Google)

Guide

How to Claim Your Business in ChatGPT: Business Hub Setup, Verification and What It Changes