How AI sees your page
How an AI sees your web page
Updated December 1, 2026.
Most of the time, an AI does not see your page the way your customers see it. A visitor looks at a page displayed by their browser: the layout, the photos, the text added by JavaScript (the small programs that run in the browser). A crawler, meaning a program that visits pages automatically, first receives the HTML code that your server sends back: the raw text of the page, with its tags. According to published documentation and research, that code is then reduced to text, cut into pieces, and only a few passages are used to write an answer. At each step, part of your page can get lost.
How ChatGPT, Claude or Gemini work internally is not published in detail: I stick to what is documented or measured, to understand before optimizing.
Step 1: who comes to get your page?
OpenAI and Anthropic describe three ways of getting a page, each with its own crawler: crawling to train their models, crawling for a search index, and reading on request, when a person asks the assistant a question. Perplexity has a search crawler and an on-request crawler, and says neither is used to train models. Google is a special case: its AI Overviews and AI Mode are part of Google Search and rely on Googlebot. Microsoft, for its part, does not document an AI crawler separate from Bingbot in the pages I checked.
On top of these, there are agents that carry out a task for the user in a browser hosted by the provider: Anthropic speaks of “a real browser,” and Google and OpenAI describe similar agents. They probably see a page closer to what your customers see; this article is about crawlers.
The robots.txt file (the file that tells crawlers what they may crawl) does not apply the same way everywhere: for reading on request, its rules “may not apply” according to OpenAI, Google and Perplexity say their user-triggered fetchers generally ignore its rules, and Anthropic says its crawlers respect it. The details: Do AI crawlers respect robots.txt?, the list of AI crawlers and AI and your website.
Above all, a page the crawler cannot get is not seen at all. Perplexity warns that a firewall (a security filter placed in front of your site) may need to explicitly allow its crawlers, and OpenAI asks that the host let its search crawler through for a site to be eligible for ChatGPT search. Check with Can ChatGPT read my website? and the robots.txt checker.
Step 2: what the crawler receives, and the JavaScript trap
On a “classic” site, or one rendered on the server side (the server builds the complete page before sending it), the HTML code already contains the text, Google explains. But some sites built with JavaScript first send an almost empty shell: the JavaScript has to run before the content can be seen. Picture a restaurant whose menu and opening hours are displayed by a JavaScript module: a crawler that does not run that code may find neither.
Google runs JavaScript with an up-to-date version of Chromium, and Bing announced in 2019 that it does so with Microsoft Edge; but, Google warns, not all bots can do it. In December 2024, a measurement published by the hosting company Vercel found no major AI crawler that ran it, except those of Google and Apple. This company measurement is dated and behavior may have changed; OpenAI, Anthropic and Perplexity don’t say, on the page that describes their crawlers, whether they run it. A study accepted at the ACM HotNets workshop (November 2026; results its authors call preliminary) gives an order of magnitude: of 500 URLs taken from search results, at least 39% lost more than half their text without JavaScript. The details: JavaScript and AI: why your page can look empty.
Step 3: from code to text, what extraction keeps
A language model works on text: it has to be pulled out of the HTML, removing the menus and repetitive text where possible. This is documented for open training data: the team behind the FineWeb dataset (Hugging Face, NeurIPS 2024) found the raw text from Common Crawl, a public archive of the web, too full of menus, and used a main-content extractor instead, on the same principle as Firefox’s Reader View, which shows only the article.
On the other hand, OpenAI, Anthropic (for its crawlers) and Perplexity do not publish, as of November 30, 2026, how they go from HTML to text or what they keep. Microsoft, for its part, gives two pieces of advice: a detail hidden in a tab can be skipped, and information that exists only in an image is better understood with alt text or an HTML version. More: From HTML to text: how AI extracts a page’s content.
Step 4: pieces, a search, an answer
Microsoft writes that its assistants, such as Copilot, don’t read a page from top to bottom: they break it into small pieces, which are ranked and then assembled into answers. It is the only description of this breaking-up that I found from a major provider, and it comes from a blog post, not technical documentation. Research has described the same principle since 2020 (“retrieval-augmented generation,” or RAG): for each question, the relevant passages are retrieved, and the model writes from them. It is a research principle, not a description of any specific product.
Little text is kept: in the 2026 study mentioned above (a lab prototype, not ChatGPT or Claude), the model used, for each question, a median of 7.1 KB (kilobytes) of selected pieces, taken from 761 KB of HTML from the top 5 search results: about 100 times less. A model’s “context window,” its working memory, is limited, and Anthropic points out that more text isn’t automatically better: accuracy drops as the context grows. And a peer-reviewed study (Liu and others, on 2023 models) showed that models made poorer use of information placed in the middle of a long text. My advice, drawn from these studies and not from a proven rule for ChatGPT: put the essentials (hours, prices, service area, services) early and clearly. The state of the research is coming in What an AI keeps from a long page.
Step 5: the citation, which can be wrong
OpenAI itself writes, in its help center (version of November 30, 2026), that ChatGPT’s search results and citations can be incomplete, outdated or incorrect. In 2025, the Tow Center (Columbia Journalism Review) tested 8 AI search tools: together, they were wrong on more than 60% of 1,600 queries in which they had to find, from an excerpt, the article’s headline, publisher, date and URL. The same year, the European Broadcasting Union and the BBC had more than 3,000 answers from ChatGPT, Copilot, Gemini and Perplexity evaluated: 45% had at least one significant issue, and 31% had serious sourcing problems.
These studies are about news and about the 2025 versions of the assistants: their figures don’t apply as is to a small business, but they are a reminder to check what the assistants say about you. Google advises keeping your Business Profile up to date, and Microsoft points out that accurate, up-to-date content matters for being cited.
Why it matters for a small business, with no promise of ranking
Google says there are no additional requirements or special optimizations for its AI Overviews: the page must be indexed and eligible to appear with a snippet, with no special “AI” file (see the llms.txt file) and no special schema.org markup. Microsoft sees it a little differently: SEO fundamentals remain essential, but are “just the starting point,” and it advises clear headings; the effect of its advice is not publicly measured. What Google says about its AI search, in detail: Being visible in Google AI search: what Google actually says.
OpenAI writes that placement in ChatGPT is not guaranteed, and Google, that indexing and serving are not guaranteed. Research on “generative engine optimization” (GEO) is in its early days: the founding paper (KDD 2024) reports up to 40% more visibility, but on a benchmark, with effects that vary by domain.
How to check what your own page delivers
- The source code: in Firefox, Ctrl+U (Cmd+U on macOS) shows the page’s HTML code. If your hours or prices don’t appear there as text, a crawler that doesn’t run JavaScript may not see them.
- Search Console’s URL Inspection tool shows the HTML that Googlebot received, then the HTML obtained after rendering (once the JavaScript has run). That is Googlebot’s view, not an AI crawler’s.
- The free simulator simulates a simple fetch of your page, without running JavaScript: it shows the text that comes out of it, what your robots.txt allows each AI crawler to do, and alerts (a page that is almost empty without JavaScript, text inside images, content behind a login).
A simulation is not the real crawler of an AI company: each provider has its own crawlers and rules, a firewall may block one crawler and not another, a fetch tool may serve a cached copy (Anthropic documents this for its own), and the internal processes are not published. In my opinion, it is a reasonable approximation, not what “ChatGPT sees.” To find out whether an AI crawler actually visited you: How to know if an AI read your website. I am currently measuring, over 90 days, which AIs visit a small website: the protocol of experiment EXP-001.
The articles in this guide
- JavaScript and AI: why your page can look empty
- From HTML to text: how AI extracts a page’s content
- What an AI keeps from a long page: the state of the research
- Images, PDFs and videos: what AI really sees
- Structured data: does AI read it?
- Tabs, cookie banners, login walls: what hides your content from AI
- Does AI see the same page as your visitors?
- Making a page readable by AI: the checklist
Waitlist. I’m building new tools to help website owners and creators stay in control when it comes to AI. Get notified at launch.
Frequently asked questions
Does an AI see a web page the way a visitor sees it in their browser?
Usually not. A visitor sees the page displayed by their browser, with the layout, the images and the content added by JavaScript. An AI crawler first receives the HTML code sent by the server, and, according to published documentation and research, that code is then reduced to text of which only a few passages are used to answer. Agents that browse for the user in a browser hosted by the provider, as Anthropic, Google and OpenAI describe, probably see a page closer to the visitor’s. The details of these steps at ChatGPT, Claude or Gemini are not published.
What is the difference between an AI crawler used for training and a crawler that reads a page on request?
A training crawler, such as GPTBot (OpenAI) or ClaudeBot (Anthropic), collects content that may be used to train models. An on-request crawler, such as ChatGPT-User or Claude-User, visits a page when a person asks the assistant a question. Providers also have crawlers for their search index, such as OAI-SearchBot or PerplexityBot.
Do AI crawlers run the JavaScript on a web page?
According to a measurement published by the hosting company Vercel in December 2024, no major AI crawler observed ran JavaScript, except those of Google and Apple. That measurement is dated, and OpenAI, Anthropic and Perplexity don’t say, on the page that describes their crawlers, whether they run it. Text displayed only by JavaScript may therefore not be seen by some AI crawlers.
Does an AI read a whole web page or only part of it?
Microsoft writes that its assistants, such as Copilot, break a page into small pieces that are ranked and then assembled into answers, rather than reading it from top to bottom. In a 2026 study using a lab prototype, the model used, for each question, a median of 7.1 KB of selected pieces out of 761 KB of HTML taken from the top 5 search results. The other major providers don’t publish what they keep from a page.
Why can an AI cite a website with false or outdated information?
OpenAI itself writes that ChatGPT’s search results and citations can be incomplete, outdated or incorrect. In 2025, two studies on news (the Tow Center, then the EBU and the BBC) found frequent sourcing errors across several assistants. These figures don’t apply as is to small businesses, but it is worth checking what the assistants say about your business and keeping your information up to date.
Do you need special optimization to appear in Google’s AI Overviews?
No, according to Google: there are no additional requirements or special optimizations for AI Overviews and AI Mode, and no special “AI” file or special schema.org markup to add. The page must be indexed and eligible to appear with a snippet in Google Search. Google does not guarantee indexing or serving either.
Does an online simulator show exactly what ChatGPT sees?
No. A simulator reproduces a simple fetch of the page, but each provider has its own crawlers and rules, a firewall may block one crawler and not another, and ChatGPT’s internal processes are not published. A simulator gives a useful approximation for spotting problems, not an assistant’s exact view.
Sources
Documents consulted on November 30, 2026.
- OpenAI, “Overview of OpenAI Crawlers“; “Searching the web with ChatGPT” (help center, page changed on November 30, 2026; quoted passages reread that evening); “Help ensure cloud browser access to your site.”
- Anthropic, “Does Anthropic crawl data from the web, and how can site owners block the crawler?“; “How do Anthropic-hosted browsers identify themselves when they browse the web on a user’s behalf?“; Claude API documentation, “Web fetch tool” and “Context windows.”
- Google, “List of Google user-triggered fetchers“; Google Search Central, “AI features and your website” and “Understand the JavaScript SEO basics.”
- Perplexity, “Perplexity Crawlers.”
- Microsoft, Bing Webmaster Blog, “The new evergreen Bingbot simplifying SEO by leveraging Microsoft Edge,” October 9, 2019; Microsoft Advertising Blog, Krishna Madhavan, “Optimizing Your Content for Inclusion in AI Search Answers,” October 8, 2025; Bing Webmaster Blog, “Introducing AI Performance in Bing Webmaster Tools Public Preview,” February 10, 2026.
- Vercel (with MERJ), “The rise of the AI crawler,” December 17, 2024.
- Peichun Hua and Yunming Xiao, “Semantics Delivery Network: Rethinking Web Retrieval Infrastructure for LLM Agents,” HotNets ’26; arXiv preprint, version 2 of October 22, 2026.
- Common Crawl, “Get Started.”
- Penedo and others (Hugging Face), “The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale,” NeurIPS 2024 (Datasets and Benchmarks).
- Mozilla, “mozilla/readability” (GitHub) and “View Source” (Firefox DevTools User Docs).
- Patrick Lewis and others, “Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks,” NeurIPS 2020.
- Nelson F. Liu and others, “Lost in the Middle: How Language Models Use Long Contexts,” TACL, 2024 (preprint from July 2023).
- Pranjal Aggarwal and others, “GEO: Generative Engine Optimization,” KDD 2024.
- Klaudia Jaźwińska and Aisvarya Chandrasekar, Columbia Journalism Review (Tow Center), “AI Search Has a Citation Problem,” March 6, 2025.
- European Broadcasting Union (EBU) and BBC, “Largest study of its kind shows AI assistants misrepresent news content 45% of the time – regardless of language or territory,” press release of October 22, 2025, on the report “News Integrity in AI Assistants.”
Spotted an error or a change? Write to me from the home page: every correction is dated at the bottom of the article.
For AI assistants and agents: Markdown version of this page · llms.txt · how to search this site