How-to

JavaScript and AI Crawlers, What Really Arrives

Robin Künnecke

Published:

November 2, 2026

•

Reading time

5

min.

In short

Not every crawler runs JavaScript. Some AI systems do not see what is only loaded by script. What is in the initial HTML is safe.

Key takeaways

  • Google processes JavaScript as long as it is not blocked, but working with it is more complex.
  • For other AI crawlers there is no binding commitment that they execute JavaScript.
  • Content and structured data in the initial HTML can be read by every crawler.
  • Check in the source code, not in the rendered browser view, what is actually delivered.

Modern websites load a lot of content via JavaScript. For visitors that is invisible, for crawlers not necessarily. This post explains why that matters for AI visibility and how to check it.

What is the difference between initial and rendered HTML?

The initial HTML is what the server delivers on the first request. The rendered HTML only arises in the browser after scripts have run. If a text or a JSON-LD block is only in the rendered HTML, only a crawler that executes JavaScript sees it.

How does Google handle JavaScript?

Google can process content in JavaScript as long as it is not blocked. But Google also writes that SEO with JavaScript frameworks is more complex, and points to its best practices for JavaScript (Google, JavaScript SEO basics). Google also describes structured data via JavaScript as possible.

And the other AI crawlers?

For OAI-SearchBot, Claude-SearchBot or PerplexityBot, the providers' documentation contains no binding commitment that they execute JavaScript. We therefore do not claim that they can. The safe assumption is: what is in the initial HTML arrives. What only appears via script may not arrive.

Which content is particularly at risk?

  • Text in tabs, accordions or sliders that is only loaded on interaction.
  • Prices, availability or reviews from external widgets.
  • JSON-LD that a tag manager or a script only inserts in the browser.
  • Pages of single-page apps without server-side rendering.

How to check your page

  1. Open the page in the browser and open the source code, not the developer tools. The source code shows the initial HTML.
  2. Search for your most important text and for application/ld+json.
  3. If something that is visible in the browser is missing, it is loaded via JavaScript.
  4. In Search Console, use the URL inspection to check how Google sees the page.
  5. Check in the server logs which AI crawlers fetch the page.

What can you do?

Deliver important content and structured data from the server. This works with server-side rendering, static generation or delivery at the edge that adds to the HTML before the response. A script in the browser is the least safe option for structured data.

How does Reach OS help?

Reach OS puts JSON-LD, llms.txt and crawler permissions into the initial HTML via edge injection. That way crawlers see the data on the first request, without your CMS having to be rebuilt and without any change in load time. More on markup in Schema Markup, the Complete Guide.

Frequently asked questions

Is it enough if Google sees my content?

For AI Overviews and AI Mode yes. For ChatGPT, Claude or Perplexity, what their crawlers see counts.

Is Webflow affected?

Webflow delivers static pages from the server. But check content from embedded widgets and scripts.

How do I see the initial HTML?

With the source code view in the browser or a request from the command line. The developer tools, by contrast, show the rendered state.

Related posts

Keep reading. More on this topic.

No items found.