AI search · 6 min read
Can AI crawlers execute JavaScript? What the data shows
Google renders JavaScript. According to published traffic data, the crawlers behind ChatGPT and Claude do not. Our own scans show how often a page’s text depends on it.
What is publicly known
Google renders pages with a recent version of Chromium before indexing them, although rendering can be delayed and can fail when scripts error or resources are blocked. Google still recommends server-side rendering or pre-rendering for content that matters.
Most AI crawlers do not publish how they render. The clearest public data comes from Vercel’s analysis of crawler traffic on its network. The ChatGPT and Claude crawlers fetched JavaScript files (11.50% and 23.84% of their requests) but did not execute them, so they could not read content rendered on the client. Gemini, which uses Google’s infrastructure, could.
Our measurements: 34 public pages
To calibrate our scoring, we scanned 34 public pages from a mix of sites in November 2026 and compared the text in each page’s initial HTML with the text after rendering on desktop and mobile. This is a small sample chosen for calibration, not a survey of the web, and we do not name the sites.
- 29 pages rendered completely. Five did not: two timed out, and three returned HTTP 403 to our browser.
- For 27 of the 29, rendering added at most about a third more visible text. Their content was already in the HTML that a non-rendering crawler receives.
- Two pages depended on JavaScript for their text. One sent no visible text at all in its initial HTML: 0 characters before rendering, about 5,400 after. The other sent 156 characters and showed about 900 after rendering.
- One page had the opposite problem: after rendering it kept only 26% of the main text the server had sent, because scripts replaced it. A non-rendering crawler would read text that visitors never see.
Most of these sites already send their main content in the initial HTML. The exceptions are pages built in the browser. If your page is one of them, AI crawlers that do not render may see an almost empty page.
Check your own page
curl -s https://example.com/page | sed -e "s/<[^>]*>/ /g" | tr -s " " | head -c 1500- If your headline and main paragraphs appear in that output, non-rendering crawlers can read them.
- If you see only a loading message or an empty app container, the content depends on JavaScript.
- Fix it with server-side rendering, static generation or pre-rendering for the pages that matter. Scripts can still add interactivity afterwards.