How to optimize for ChatGPT search

To appear in ChatGPT search, your page has to be reachable by OpenAI's search crawler, OAI-SearchBot: allowed in robots.txt and not blocked by your CDN. That is the only requirement OpenAI documents. How ChatGPT then picks sources is not published, so the rest is good SEO and pages that answer clearly.

How do I get my site into ChatGPT search?

Let OpenAI's search crawler in. OpenAI says that to make a site eligible, you allow OAI-SearchBot in robots.txt and make sure your host or CDN accepts requests from its published IP addresses. Sites that block it are not shown in ChatGPT search answers. Beyond that, OpenAI says ChatGPT ranks results using multiple factors and that placement is not guaranteed.

A robots.txt that lets ChatGPT search in and keeps your content out of training:

User-agent: OAI-SearchBot
Allow: /

User-agent: GPTBot
Disallow: /

OpenAI publishes the addresses OAI-SearchBot crawls from at openai.com/searchbot.json (opens in a new tab). If your CDN or firewall has bot protection, allow those ranges, or check that its AI crawler settings don't block OpenAI.

According to OpenAI's crawler documentation (opens in a new tab) and its ChatGPT search help article (opens in a new tab).

Does blocking GPTBot remove my site from ChatGPT search?

No. GPTBot collects content for training OpenAI's models; OAI-SearchBot decides whether you appear in search answers. OpenAI says each setting is independent, so you can block training and still appear in search.

Our guide robots.txt for AI crawlers has recipes for other combinations, including Anthropic's and Perplexity's crawlers.

What is ChatGPT-User?

ChatGPT-User fetches a page when someone in ChatGPT asks it to open or read that page. OpenAI says it is not used to decide whether content appears in search, and that robots.txt rules may not apply to it because a person started the request.

How does ChatGPT choose which pages to cite?

OpenAI does not publish its ranking factors. Its help pages say only that ChatGPT ranks results with multiple factors meant to find relevant, reliable information, and that it sometimes sends rewritten queries to partner search providers, naming Microsoft among them. Anyone who lists "ChatGPT ranking factors" as fact is guessing. What you control is whether OpenAI can fetch your page and whether the page gives a clear answer it can quote.

From OpenAI's ChatGPT search help article (opens in a new tab).

Does ChatGPT read content that needs JavaScript?

Not reliably. Vercel tested OpenAI's crawlers and found that none of them ran JavaScript: they read the HTML your server sends. Text, prices or answers that appear only after scripts run may be invisible to ChatGPT search. Server-side rendering or static HTML avoids the problem.

Our guide to content that needs JavaScript shows how to check what a crawler receives.

According to Vercel's analysis of AI crawlers (opens in a new tab).

How long does a robots.txt change take to work in ChatGPT?

OpenAI says it can take about 24 hours from a robots.txt update for its search systems to adjust. Pages that are already in its index may take longer to appear or drop out.

What should I do to optimize for ChatGPT search?

Start with what OpenAI documents, then the basics every search engine rewards. Allow OAI-SearchBot in robots.txt and in your CDN or firewall; keep Bingbot allowed too, since OpenAI names Microsoft among its search partners. Serve the main content in the HTML. Answer the question the page is about near the top, in plain words. Keep facts, prices and dates current and visible. None of this guarantees a citation, but each one removes a reason not to cite you.

The same steps help with Claude, Perplexity and Google's AI Overviews, which have their own crawlers and rules: see AEO vs GEO vs SEO.

Check if ChatGPT can reach your page

Scan a page: the report opens at the AI bot access table, which shows whether your robots.txt lets OAI-SearchBot fetch it, and tests whether a request identifying as OpenAI's crawler gets the page or a block.