How ChatGPT chooses its sources: search, crawlers and citations

What OpenAI has published about how ChatGPT searches the web, rewrites queries, ranks and cites pages, and which crawler decides whether your site can appear.

8 min read

Cover card: How ChatGPT chooses its sources: search, crawlers and citations

When ChatGPT answers with links, it’s usually searching the web as it goes. When it answers without them, it’s drawing on what its models already know. OpenAI documents more about the first than the second, and it says placement isn’t guaranteed. This guide sets out what OpenAI has published about how ChatGPT finds, ranks and cites websites, and what that means for yours.

Where we give our own view, we say so.

In brief

  • ChatGPT searches the web when a question would benefit from current information.
  • It rewrites the question into targeted queries, and may add your approximate location and saved memories.
  • OAI-SearchBot is the one entry requirement OpenAI states. Block it and you’re out of search answers.
  • OpenAI doesn’t publish its ranking factors, and placement isn’t guaranteed.

Two ways into an answer

An answer can reach a source in two ways, and they work differently.

RouteHow it works
Web searchChatGPT searches when a question would benefit from current information, and the answer can cite the pages it used.
Model knowledgeThe model answers from what it learned in training. For shopping, OpenAI says ChatGPT considers its own responses before any new search results.

Search answers are the part you can influence directly, and the part OpenAI documents.

How a search happens

OpenAI’s help pages describe five stages. The numbers below follow them in order.

  1. ChatGPT decides to search. It does so automatically when current information would help, or because the person chose the Search tool.
  2. It rewrites the question into one or more targeted queries. OpenAI’s example turns a long question about cancer drugs into “CCR8 immunotherapy drug development 2025”.
  3. It may use search partners. It sends them the rewritten queries, then sends more specific follow-ups after reading the first results. OpenAI’s help page points to Microsoft’s and Shopify’s privacy policies for how providers handle queries.
  4. Context shapes the query. An approximate location from the person’s IP address can be added, such as turning “restaurants near me” into “top restaurants San Francisco”. Saved memories can be used too.
  5. It ranks and cites. OpenAI says it ranks results using multiple factors meant to surface relevant, reliable information. Answers can include citations, and a Sources panel lists cited pages and other relevant links.

OpenAI doesn’t publish its ranking factors. Anyone promising a formula for ChatGPT rankings is guessing. What OpenAI does publish is the entry requirement.

What shapes the query

Three inputs change the search ChatGPT runs. They explain why two people asking the same question can see different sources.

InputWhat OpenAI says
The questionIt is rewritten into one or more targeted queries
LocationAn approximate location from the IP address can be used, and a device location is optional and off by default
MemoryIf memory is on, saved memories can be used when rewriting a query

OpenAI’s memory example is a person who has said they’re vegan and live in San Francisco. Asked for nearby restaurants, ChatGPT may search for good vegan restaurants in San Francisco.

A worked example

Take a small agency CRM. A buyer asks, “What’s a good CRM for a ten-person agency that bills on retainers?” ChatGPT may rewrite that into something shorter, such as “best CRM small agency retainer billing”. It may then run a follow-up that is more specific.

Our view: a page titled “CRM for agencies that bill on retainers” fits that rewritten query better than one titled “Features”. The question tells you what a good page title and first paragraph should say. This is an illustration of the principle, not a documented ranking rule.

The entry requirement: OAI-SearchBot

OpenAI says any public website can appear in ChatGPT search. To be eligible, your site must let OAI-SearchBot crawl it. Your host or CDN must also allow traffic from OpenAI’s published search-bot IP addresses. Sites that block it won’t be shown in search answers, though they can still appear as plain navigational links. Changes to robots.txt take about 24 hours to reach search.

CrawlerWhat it doesAffects search?
OAI-SearchBotSurfaces websites in ChatGPT’s search features.Yes. Block it and you’re out of search answers.
GPTBotCrawls content that may be used to train OpenAI’s models.No. It’s independent of search.
ChatGPT-UserVisits a page when a person’s request needs it. Not an automatic crawler, and robots.txt may not apply.No. OpenAI says it isn’t used to decide what appears in search.
OAI-AdsBotChecks pages submitted as ads.No. It only visits ad landing pages.

Because the settings are independent, you can allow OAI-SearchBot and block GPTBot. You stay eligible for search without offering your content for training. If both are allowed, OpenAI may use one crawl for both purposes.

The robots.txt lines

OpenAI’s own example allows both its search and ads crawlers. It reads User-agent: OAI-SearchBot followed by Allow: /, and the same pair for OAI-AdsBot. If your robots.txt disallows either, crawling stops immediately.

The layers that block crawlers

Most sites have several layers of protection before a crawler can fetch a page. OpenAI lists them in its guidance for advertisers, and the same layers affect search.

LayerWhat to check
robots.txtWhether OAI-SearchBot is explicitly allowed
Firewall and CDNWhether bot protection returns 403 errors to legitimate crawlers
Human checksWhether CAPTCHAs, JavaScript challenges or login walls stop it
Rate limitsWhether bursts of requests trigger 429 errors

OpenAI’s publisher FAQ adds a detail many sites miss. Suppose it learns the URL of a page you’ve disallowed. The source might be a search partner or links on other pages. If the page looks relevant, the ChatGPT Atlas browser may still show its link and title.

To prevent that, use a noindex meta tag, and let the crawler reach the page so it can read the tag.

Questions to ask of your own site

Before you change anything, answer five questions about your own pages.

QuestionWhy it matters
Does robots.txt allow OAI-SearchBot?It is the entry requirement
Do logs show OAI-SearchBot getting 200 responses?Allowed on paper isn’t the same as reachable
Does each key page answer one specific question?Queries are rewritten into specific searches
Are facts in text, with dates where they change?Citations may be checked against freshness
Do listings elsewhere match the site?Third-party sources feed shopping and local answers

What a citation looks like

Answers that use web search can include citations. You select a citation to open its source, and a Sources panel lists the cited pages and other relevant links. On desktop web, pointing at a citation previews it.

OpenAI also tells people that results and citations can be incomplete, outdated or incorrect. It advises opening a cited source to check that it supports the answer, and checking when it was published or updated. We think that makes dated, current, clearly worded pages a safer thing to be cited for.

Shopping and local results

Product results and local answers draw on other sources, so they work a little differently.

Products

Products are chosen from structured product data from merchants and third-party providers, the model’s own answers and OpenAI’s safety policies. Review summaries come from reviews on public websites. See our guide to getting products into ChatGPT shopping.

Local answers

Local answers use approximate location, and ChatGPT may share location with trusted third-party providers of business listings. Restaurant reservations come from OpenTable, Resy or Yelp, depending on the restaurant and country.

Ads are a separate system

OpenAI says ads don’t influence ChatGPT’s answers, and that product results aren’t ads and aren’t influenced by its partnerships. Buying ads won’t get you cited. How the two fit together is set out in paid and organic visibility in ChatGPT.

What OpenAI hasn’t said

Several questions have no published answer, so be cautious about anything that claims one.

QuestionStatus
What are the ranking factors?Not published
Does schema markup help?Not mentioned in the search documentation
How often is a given site cited?No report available
How does the model’s own knowledge of a brand form?Not documented

What this means for your site

What follows is our advice, based on what OpenAI has published.

Check that robots.txt, your firewall and your CDN all let OAI-SearchBot in. It’s the one requirement OpenAI states. Decide on GPTBot separately, as a separate question about training.

Since ChatGPT rewrites questions into specific queries, publish pages that answer specific questions, with the facts stated directly. Keep product data, reviews and business listings accurate wherever they appear, because third-party sources feed shopping and local results.

Then measure what happens. To measure where you stand, see measuring brand visibility in ChatGPT; to act on it, getting your brand mentioned.

Questions

Does ChatGPT use Google results?

OpenAI says ChatGPT search sometimes partners with other search providers, and its help page links Microsoft’s and Shopify’s privacy policies. It doesn’t name Google. So we can’t say which results a given answer used.

If I block GPTBot, will I disappear from ChatGPT?

Not from search. Search eligibility depends on OAI-SearchBot, which is separate from GPTBot. Blocking GPTBot signals that your content shouldn’t be used for training. It doesn’t change whether you can appear in search answers.

How long after allowing OAI-SearchBot will I appear?

OpenAI says robots.txt changes take about 24 hours to reach search. Being eligible doesn’t guarantee a place in any answer. Plan for months of steady work and monthly checks. After you allow the crawler, check your logs for OAI-SearchBot requests that return 200, which confirms the door is open.

Can I pay to be cited?

No. OpenAI says ads don’t influence answers and product results aren’t ads. Ads are labeled placements below the answer, and they don’t change which sources are cited.

Is robots.txt enough to be eligible?

Not on its own. Your host or CDN also has to allow OpenAI’s published search-bot IP addresses. Bot protection or rate limits can still turn the crawler away. Check each layer, and look at your logs for 403 or 429 responses to OAI-SearchBot.

Should I add structured data to my pages?

OpenAI’s search guidance doesn’t mention structured data for web pages. For products, it says structured product data from merchants and third-party providers is one thing ChatGPT considers. Accurate markup does no harm and helps other search engines, but we can’t promise it changes what ChatGPT cites.

Do I need a special file for ChatGPT?

OpenAI’s search guidance asks for crawler access, not a special file. It doesn’t mention one. Some sites publish an llms.txt file, but we haven’t found OpenAI saying it uses one, so don’t rely on it.

About the author

Editorial team

Guides and trackers from the ChatGPT Ads Agency team. Every platform fact links to OpenAI's own documentation.

Want a straight answer on ChatGPT Ads?

Tell us your category, markets and budget, and we’ll tell you:

  • whether the channel fits your business
  • what a fair first test would cost
  • what we’d do first

Free 30-minute call, and we reply within 24 hours. Minimum ad spend US$3,000 a month.