How AI sees your page

Images, PDFs and videos: what AI really sees

What a crawler reading the HTML keeps from an image (alt text, caption, nearby text, file name), a PDF (readable if it contains real text, just images if scanned) and an embedded video (almost nothing, apart from the surrounding text and a published transcript) HOW AI SEES YOUR PAGE What an HTML crawler keeps Imagewithout opening the filethe alt textthe captionthe nearby textthe file namePDFdepending on its contentreal text: readablescanned: just imagestest: copy and pastebetter: an HTML pageVideoembedded playeralmost nothing itselfthe title, the captionthe surrounding texta published transcriptNothing is published on whether AI crawlers analyse your images

Updated December 1, 2026.

For a crawler that reads your page’s HTML code, an image, a PDF or a video is not text: it’s a separate file. Without opening it, the crawler only knows what is written on the page: the image’s alt text, its caption, the nearby text, the file name. The menu in a photo or an explanation given only on video can slip past it. PDFs are a special case: if a PDF contains real text, Google indexes it, and several AI developer tools can read it.

Recent AI models can read an image they are given, but OpenAI, Anthropic and Perplexity publish nothing, as of December 1, 2026, on whether their crawlers download or analyze the images on the pages they visit.

What a crawler reading the HTML knows about an image

In the HTML, the text your server sends, a photo is only an <img> tag pointing to the file. Google, for its part, also opens images: it has a crawler for them, Googlebot-Image, which feeds Google Images. For its search, it says it understands an image through its alt text (the alt attribute, the most important one), the page content, including captions, and computer vision algorithms.

OpenAI, Anthropic and Perplexity don’t say whether their search or on-request crawlers do the same. ChatGPT can show images in its answers, with their source, but OpenAI doesn’t explain how they are chosen. So nothing supports writing that AI doesn’t see your images, or that it reads them: the companies simply don’t document it.

When an extractor converts a page into text, the image becomes its alt text, a bare address, or disappears (see From HTML to text: how AI extracts a page’s content).

Text inside an image, the most common case

Promotional poster, banner, hours as an image, photographed menu: for an HTML extractor, that text doesn’t exist. The W3C, the body that writes the web’s accessibility rules, asks to avoid text in images, except logos. Bing wants images to support the text without being the only source of information. And a Bing (Microsoft) product manager writes that AI systems can sometimes read the text in an image, but that this often reduces accuracy.

Two cases often mislead. A background image, placed by the style sheet (the CSS, which handles how the page looks), doesn’t exist for Google Images, which doesn’t index CSS images; in my view, text written in HTML on top of it is still real text, but text “baked” into the image is not. A logo or chart in SVG (an image drawn by code) can contain real text (Google lists SVG files among the types it can index), but the simulator removes embedded SVGs from its text view, and no one knows what AI extractors do with them.

Alt text, caption, file name: what to write

Alt text comes from accessibility: it serves first the people who can’t see the image, and the W3C’s WCAG rules make it a Level A criterion, the first level. Its images tutorial distinguishes several cases (the examples are mine):

Type of imageAlt textExample for a small business
Informative imageA short description of the essential information“Restaurant storefront, 123 Main Street, Sherbrooke”
Decorative imagealt="" (empty): the image is ignoredBackground pattern, divider line
Image link or buttonThe function, not the appearance“Book a table” rather than “green arrow”
Image of textThe same words as the image“Open Tuesday to Saturday, 11 a.m. to 9 p.m.”
Chart, floor plan, mapA short sentence, plus a description on the page“Parking access map”, detailed next to it

For a chart, the W3C prefers a long description visible to everyone, which is then readable by search engines and other programs too. A caption (the <figcaption> tag) has the same advantage: Google says it draws information about the image from captions, and the simulator keeps the caption in its text view.

The file name only gives Google “very light clues”: it prefers a short, descriptive name to “IMG00023.JPG”, and Bing also asks for descriptive file names. And the vision model in OpenAI’s API doesn’t process the original file name: it’s a small plus, not a substitute for text.

A PDF is readable if it contains real text

Google indexes PDFs: for Google Search, Googlebot reads the first 64 MB of a PDF, compared with 2 MB for an HTML page. A scanned PDF (a sheet run through a scanner) without a text layer is just a series of images: the W3C explains that assistive technologies can’t extract its words, and recommends starting from the original file (a Word document, for example) or, failing that, using character recognition software (OCR), which turns the image of the letters into text.

In 2011, Google explained that it indexed the text of PDFs that weren’t password-protected or encrypted, that it could run OCR on text embedded as images, and that it took the title shown from the file’s “title” metadata and the text of the links pointing to it. Its test: if you can copy and paste the text from the PDF, Google should be able to index it. None of the current Google pages I consulted repeats these details, but the test is still, in my view, a good check.

On the AI side, Anthropic’s web fetch tool and OpenAI’s API pass the model both the text and the image of each page of a PDF (at OpenAI, the page images go only to models that accept image inputs), Gemini’s URL context tool accepts PDFs, and Perplexity’s URL fetch tool warns that a PDF may return limited or unrelated content. No one knows what ChatGPT, Claude or Gemini do with a PDF found on the web. The same Microsoft post advises against relying on PDFs for core information: they often have fewer signals (headings, metadata) than HTML.

The safe choice: an HTML page for the content, the PDF for printing. To deal with duplicate content, Google lets you indicate a PDF’s preferred version with a rel="canonical" HTTP header, an optional setting to ask your host about. A PDF reserved for logged-in customers raises a different problem: see what hides your content from AI.

An embedded video gives almost nothing to a crawler reading the HTML

An embedded YouTube video is, in the HTML, a frame (an <iframe> tag) that loads the YouTube player. A crawler that reads the HTML without watching the video gets almost nothing from it: at best the page title, the caption and the surrounding text.

For its video results, Google says it tries to understand videos automatically, but an indexed page doesn’t mean an indexed video, and it gives priority to “key moments” set by the site, in structured data or in the YouTube description (VideoObject data is the subject of Structured data: does AI read it?). On the AI side, a feature of the Gemini API analyzes the picture and sound of public YouTube videos when a developer asks it to; nothing says that an AI crawler analyzes the videos on the sites it visits.

Text, on the other hand, can be read everywhere. Bing asks for captions, transcripts or structured data to support images and videos, for Copilot too. The W3C defines a transcript as a text version of the speech and non-speech audio needed to understand the content, and notes that adding headings and links to a transcript also helps SEO; the WCAG rules require captions for prerecorded videos (Level A). YouTube’s automatic captions are a starting point, but YouTube asks you to review them. My advice: publish the reviewed transcript on the page, or at least a summary of the key points.

Models that “see” images: what changes, what remains unknown

So-called multimodal models, which handle text and images, can read an image they are given: OpenAI, Anthropic and Google document this for their APIs. They list its limits: small text, rotated text and non-Latin alphabets at OpenAI; low-quality images, rotated images or images under 200 pixels at Anthropic. A peer-reviewed study published in 2024 (OCRBench), on 2023 models such as GPT-4V, found weaknesses with handwritten or multilingual text; models have changed a lot since. These documents describe a developer’s tool, not what ChatGPT, Claude or their crawlers do when they come across an image on a page.

The simulator’s two image alerts

The free simulator reads your page like a crawler that doesn’t run JavaScript. It analyzes no images: it makes deductions from the HTML, and it’s not an AI company’s real crawler. Two “To improve” alerts link to this article:

  • “Some important text seems to be in images”, with the reason or reasons in parentheses: “a heading is an image”, “… images for little text” (several images, few words in the main content) or “banner- or poster-style file names”, the last of which isn’t enough on its own.
  • “… have no alt text”, with the number of images concerned and a few file names. An empty alt="" is not counted: it’s the right setting for a decorative image.

In the “Text view: what an AI can extract”, an image with no alt attribute becomes “[image without alt text]”. Finally, the simulator doesn’t analyze PDFs: a PDF address gives the alert “This address doesn’t return an HTML page”.

Where to start: five steps for a small business

  1. Menu, price list, hours and promotions as HTML text, with a real table for prices.
  2. Alt text that states the facts (the same words for an image of text, alt="" for decoration), and a visible caption for images that carry information: before-and-after, floor plan, chart.
  3. An HTML version next to every important PDF, a PDF that passes the copy-and-paste test, and a link such as “Lunch menu (PDF)” rather than “click here”.
  4. A reviewed transcript under every important video, or a summary of the key points.
  5. A new analysis with the simulator: if a price or an opening hour is missing from the text view, a crawler reading the HTML may not see it.

These steps promise no place in an AI answer. They expand on steps 4, 5, 7 and 10 of Making a page readable by AI: the checklist; the overview is in How an AI sees your web page.

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 ChatGPT see the images on a website?

OpenAI doesn’t document it: its page on its crawlers, consulted on December 1, 2026, doesn’t say whether they download or analyze the images on a page. ChatGPT can show images in its answers, with their source, but OpenAI doesn’t explain how they are chosen. For a crawler that only reads the HTML, an image comes down to its alt text, its caption, the nearby text and the file name.

Is text written inside an image, such as a poster or a photographed menu, read by AI?

Not reliably. For an HTML extractor, that text doesn’t exist, and a Bing (Microsoft) product manager writes that AI systems can sometimes read the text in an image, but often with less accuracy. The W3C asks to avoid text in images, except logos. So write this information as text on the page, and give the image alt text that repeats the same words.

What should you write in an image’s alt text (the alt attribute)?

According to the W3C, an informative image gets a short description of the essential information, an image link describes its function, an image of text repeats the same words, and a decorative image gets an empty alt (alt=""). Google asks for useful text, in context, and warns that keyword stuffing may cause the site to be seen as spam. For example: “Restaurant storefront, 123 Main Street, Sherbrooke” rather than “photo1”.

Is a menu or price list in PDF format read by Google and by AI tools?

Google indexes PDFs that contain text, and several AI developer tools (Anthropic, OpenAI, Gemini) can read them, while Perplexity’s tool warns that a PDF may return limited content. A scanned PDF without a text layer is just a series of images. No one knows what ChatGPT or Claude do with a PDF found on the web: an HTML page that repeats the menu or the prices remains the safe choice.

Does AI understand YouTube videos embedded in a website?

For a crawler that reads the HTML, an embedded video is just a frame that loads the YouTube player: it gets almost nothing from it, apart from the page title, the caption and the surrounding text. A feature of the Gemini API analyzes public YouTube videos when a developer asks it to, but nothing says that an AI crawler analyzes the videos on the sites it visits. A reviewed transcript, published on the page, makes the video’s content readable.

Do AI models that read images make alt text useless?

No. Recent models read the images a developer sends them, but OpenAI and Anthropic document limits (small text, rotated text, low-quality images), and nothing is published on whether the crawlers of OpenAI, Anthropic or Perplexity analyze a page’s images. Alt text serves first the people who can’t see the image, and it remains readable by any crawler that reads the HTML.

What do the devjpt.com simulator’s image alerts mean?

The alert “Some important text seems to be in images” appears when a heading is made of an image or when the page has several images for little text. The “have no alt text” alert counts images that have no alt attribute, without counting empty alts (alt=""), the right setting for a decorative image. The simulator analyzes no images: it makes deductions from the HTML, and it’s not an AI company’s real crawler.

Sources

Documents consulted on December 1, 2026.

Spotted an error or a change? Write to me from the home page: every correction is dated at the bottom of the article.

Share this article