Answer engine optimization: the technical side, from AI crawlers to robots.txt
Answer engine optimization starts with a question that most content checklists skip: can the AI systems that write answers actually reach and read your pages? ChatGPT, Perplexity, Claude and Google's AI features fetch the web with their own crawlers, follow their own robots.txt tokens and treat JavaScript differently, so a page can rank in classic search and still be missing from AI answers. The writing side, structuring pages so that AI tools quote them, is what most guides to answer engine optimization focus on. This article covers the plumbing underneath: crawler access, robots.txt, hosting and firewall settings, rendering and structured data.
Which AI crawlers visit a site, and what each one does
The large AI companies split their crawlers by purpose. One collects material for model training, another indexes pages for the search feature, and a third fetches a page when a user asks about it. The table summarises what OpenAI, Anthropic, Perplexity and Google publish about their own agents, as of November 2026.
| Token | Operator | Purpose | robots.txt |
|---|---|---|---|
GPTBot | OpenAI | content that may be used to train foundation models | respected |
OAI-SearchBot | OpenAI | surfacing sites in ChatGPT search | respected |
ChatGPT-User | OpenAI | visits a page when a user asks ChatGPT | "may not apply", says OpenAI |
ClaudeBot | Anthropic | content that may contribute to training | respected |
Claude-SearchBot | Anthropic | improving search result quality | respected |
Claude-User | Anthropic | retrieving pages in response to a user query | respected |
PerplexityBot | Perplexity | surfacing and linking sites in results, not training | respected |
Perplexity-User | Perplexity | fetching a page a user asked about | generally ignored |
Google-Extended | a token, not a crawler: controls use of crawled content for Gemini training | token only |
The practical point is that blocking a training crawler and blocking a search crawler are different decisions with different consequences. OpenAI states that sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers. Anthropic warns that blocking Claude-SearchBot may reduce a site's visibility and accuracy in user search results.
Robots.txt: decide training and answers separately
A site that wants to appear in AI answers but keep its text out of training sets can say so in robots.txt, because every operator in the table uses separate tokens. A workable order of steps:
- Read the current file. Open
/robots.txtand look for a blanketUser-agent: *withDisallow: /, or for old rules copied from a template years ago. - Allow the search agents. Give
OAI-SearchBot,Claude-SearchBotandPerplexityBotaccess to the public pages you want cited. - Decide on training separately. Disallowing
GPTBot,ClaudeBotorGoogle-Extendedsignals that content should not be used for model training. Google states thatGoogle-Extendeddoes not affect inclusion or ranking in Google Search. - Wait before testing. OpenAI and Perplexity both say their systems can take about 24 hours to reflect a robots.txt change.
User-triggered fetchers sit partly outside this system: OpenAI says robots.txt rules may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores them, because a person requested the page. Anthropic, for its part, supports the non-standard Crawl-delay directive for sites that want fewer requests rather than none.
Hosting and firewall settings can block AI crawlers silently
A permissive robots.txt does not help if the request never reaches the server. On 1 July 2025 Cloudflare, which says it manages and protects traffic for 20% of the web, announced that every new domain signing up would be asked whether to allow AI crawlers, with blocking as the default. A site set up since then may be turning AI agents away at the network edge without its owner having decided anything.
The same applies to bot-protection rules, rate limits and country blocks on any host or CDN. Anthropic notes that blocking by IP address may not work reliably as an opt-out, because it can also stop its bots from reading robots.txt. The safer route is to make the decision in robots.txt and keep the firewall consistent with it. To tell a real crawler from an impostor using its name, OpenAI publishes IP ranges for each of its agents as JSON files, for example openai.com/searchbot.json, and Perplexity advises checking server logs after any firewall change to confirm the rules work.
Put the content in the HTML, not only in JavaScript
Rendering is where many modern sites lose AI visibility. In a December 2024 analysis of traffic on its network, the hosting company Vercel found that none of the major AI crawlers it observed rendered JavaScript. That covered OpenAI's, Anthropic's and Perplexity's crawlers. The exceptions were Gemini, which uses Googlebot's infrastructure, and Applebot, which renders pages through a browser-based crawler.
If the text of an article, a price list or a FAQ is injected by client-side JavaScript, those crawlers receive an empty shell. Vercel's recommendation was to server-render critical content. A quick test is to view the page source rather than the rendered page and check that the main text is already there.
The same study measured wasted fetches. ChatGPT spent 34.82% of its fetches on 404 pages and Claude 34.16%, against 8.22% for Googlebot. Stable URLs, working redirects after a redesign and a current sitemap all reduce that waste.
Structured data, snippet controls and llms.txt
For Google, the rules are simpler than much of the advice in circulation. Google's documentation on AI features says there are no additional requirements to appear in AI Overviews or AI Mode, and no special schema.org markup is needed. A page has to be indexed and eligible to be shown in Google Search with a snippet. Google lists structured data that matches the visible text on the page as a useful practice, and notes that the features may issue several related searches across subtopics to build one answer.
The snippet controls work in both directions. nosnippet, data-nosnippet and max-snippet limit what Google may show from a page, including in AI features, so a template that sets them too aggressively can keep a page out of those answers.
The llms.txt file comes up in almost every discussion of AI visibility. It is a proposal, first published by Jeremy Howard on 3 September 2024, for a Markdown file at /llms.txt that helps agents use a website. Its own site calls it an informal overview open for community input, not a standard. None of the crawler documentation from OpenAI, Anthropic, Perplexity or Google cited here mentions it.
Common questions
Does blocking GPTBot remove a site from ChatGPT search?
No. GPTBot is OpenAI's training crawler. ChatGPT search uses OAI-SearchBot, and OpenAI says sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers. The two are controlled separately in robots.txt.
Do AI crawlers render JavaScript?
Mostly not. A December 2024 Vercel analysis found that none of the major AI crawlers it observed rendered JavaScript, with Gemini (via Googlebot) and Applebot as exceptions. Important content should be in the initial HTML.
Is special schema markup needed for Google AI Overviews?
No. Google says there are no additional requirements and no special schema.org structured data needed. A page must be indexed and eligible for a snippet, and structured data should match the visible text.
How long does a robots.txt change take to apply?
OpenAI and Perplexity both say their systems can take about 24 hours to reflect a robots.txt change. Check server logs afterwards to confirm the crawlers behave as expected.
Is llms.txt a standard?
No. It is a proposal first published by Jeremy Howard on 3 September 2024 for a Markdown file that helps agents use a site. Its own site describes it as an informal overview open for community input.
- OpenAI, Overview of OpenAI crawlers
- Anthropic, Does Anthropic crawl data from the web, and how can site owners block the crawler?
- Perplexity, Perplexity crawlers
- Google Search Central, AI features and your website
- Google Search Central, Google's common crawlers
- Vercel, The rise of the AI crawler (17 December 2024)