ubricHelp

Why AI crawlers don't run JavaScript

Render parity, why JS-injected content is invisible to some engines, and how to test what a crawler really sees.

Several AI crawlers do not run JavaScript. The crawlers ChatGPT, Perplexity and Claude use to fetch pages read the raw HTML your server returns and never execute page scripts, so any content or schema injected by JavaScript is invisible to them. Google renders JavaScript, and Bing says its crawler, which feeds Microsoft Copilot, renders pages with the current version of Microsoft Edge. If a signal only appears after scripts run, assume the no-JS engines cannot see it.

In short
  • →The crawlers ChatGPT, Perplexity and Claude use don't run JavaScript; Google does, and Bing's crawler renders with Microsoft Edge.
  • →Content or schema injected by JavaScript is invisible to the no-JS engines, even when it looks fine in your browser.
  • →Test with View Source (the raw HTML), not the browser inspector, and serve the content server-side so it is in the initial HTML.

Why don't AI crawlers run JavaScript?

The engines don't say why. What has been measured is the behaviour: in December 2024 Vercel and MERJ found that none of the major AI crawlers rendered JavaScript, and it hasn't been re-measured since. So the crawlers ChatGPT, Perplexity and Claude use read your page as it arrives from the server and never see anything a script would have added. This is about their crawlers, not every product: some agent and browser features run a real browser.

Which engines render JavaScript and which don't?

Engines split into two groups on JavaScript, and the split decides what each can see on your page.

EngineJavaScript renderingWhat it can see
ChatGPTNoOnly content and schema in the raw HTML
PerplexityNoOnly content and schema in the raw HTML
ClaudeNoOnly content and schema in the raw HTML
Google AI OverviewsYesContent and schema added by JavaScript, once rendered
GeminiYes (via Google)Content and schema added by JavaScript, once rendered
Microsoft CopilotYes: Bing renders with the current version of Microsoft EdgeContent and schema added by JavaScript, once rendered

Because three of the six scored engines' crawlers ignore scripts, the safe assumption is that JavaScript-only content won't be read by them.

What is render parity?

Render parity is the match between what your server sends as raw HTML and what a browser shows after JavaScript has run. A page has render parity when its important content and schema are present in the initial HTML, so a no-JS crawler and a human see the same thing. A page lacks render parity when the answer or the JSON-LD only appears after scripts execute. Render parity matters because the engines that skip JavaScript can only cite what is in the raw HTML.

How to test what a crawler sees

Test render parity by looking at the raw HTML, not the rendered page. The browser inspector shows the DOM after scripts have run, which hides the problem.

  1. Open View Source. In your browser, view the page source (or fetch the URL with curl from a terminal). This is the raw HTML before any JavaScript runs.
  2. Search for your answer. Look for the exact text of your opening answer. If it is not there, no-JS crawlers cannot read it.
  3. Search for your [schema](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data). Look for your JSON-LD, for example the string application/ld+json. If the schema is missing, engines cannot use it.
  4. Compare with the live page. If the content shows in the browser but not in View Source, JavaScript is injecting it and the no-JS engines are missing it.
Tip
A tag manager that inserts JSON-LD after the page loads is a common trap. The schema looks correct in the inspector and is invisible to ChatGPT, Perplexity and Claude. Put schema in the server-rendered head instead.

How to fix JavaScript-only content

The fix is to put important content in the initial HTML so it is present before any script runs. Use server-side rendering, static site generation or prerendering so the answer text and the JSON-LD are in the response the server sends. Keep schema in the server-rendered head rather than injecting it client-side. Then re-check with View Source. For a walk-through aimed at schema specifically, see rendering schema without JavaScript.

How Rubric checks this

Rubric checks render parity directly. It compares each page's raw HTML with a rendered copy. If the main text only appears after JavaScript runs, ChatGPT, Perplexity and Claude are capped at 25 for that page, and the rest of the page is scored on the rendered copy, which is what Google and Bing see. Schema that only appears after JavaScript is shown as a note, not scored. See agent-ready and crawler access for the reachability side of the same picture.

Common questions

Did this answer your question?