How ChatGPT search works

How does ChatGPT search the web?

The short answer

ChatGPT turns the question into one or more search queries, gets results from search providers, reads a handful of the pages and writes an answer that cites a few of them. Pages that rank higher for those queries are more likely to be read, so ordinary search visibility feeds directly into ChatGPT answers.

It turns the question into its own search queries

ChatGPT rarely searches for the user's exact words. It rewrites the question into shorter queries, often several of them, that it thinks will find useful pages. A question like "who should I use to redesign our warehouse layout" might become searches for warehouse layout consultants, reviews of them and comparisons. The queries it chooses shape everything that follows, which is why what ChatGPT searches for is worth understanding.

Context changes the queries too. Earlier messages in the chat, a place the user has named and, where it is switched on, ChatGPT's memory of the user can all be folded in.

It reads a small number of pages, not the whole results list

For each query, ChatGPT gets a list of results and reads only some of them, usually from near the top. It then writes an answer from what those pages say and attaches citations to a few of them. There is more on this in how many websites ChatGPT reads.

That is the core reason search rankings matter for AI visibility. A page on the second page of results is unlikely to be read at all, however good it is. A page that ranks well for the queries ChatGPT runs gets a real chance to shape the answer.

Where the results and pages come from

OpenAI says ChatGPT search uses third-party search providers and content from its partners, alongside its own crawler, OAI-SearchBot. It does not publish the full list of providers. At the time of writing Bing is widely reported to be one of them. When ChatGPT fetches a page on behalf of a user it may identify as ChatGPT-User, and OpenAI says robots.txt rules may not apply to those visits because a user started them.

For local questions, ChatGPT also draws on business listing data, such as Google Business Profiles and Maps listings, so map prominence matters as well as website rankings.

What this means for getting your pages read

  • Rank well for the plain, descriptive searches a buyer's question would turn into, in Bing as well as Google.
  • Allow OAI-SearchBot in robots.txt and make sure your server or firewall doesn't block it.
  • Put the important content in the page's HTML. Content that only appears after heavy JavaScript runs may not be read; see whether AI crawlers can read JavaScript.
  • State your services, the problems you solve and who does the work in plain sentences, so the page answers the query when it is read.

Related questions

More questions about how ChatGPT search works

Next questionWhen does ChatGPT decide to search the web instead of answering from memory?

Find out whether ChatGPT and other AI tools recommend your business

Get an AI visibility audit showing whether ChatGPT and other AI tools recommend your business when people ask for what you offer, which competitors they name instead, and how you compare.

Request my AI visibility audit