GeoPageScore

Do AI crawlers render JavaScript? What each engine reads, and how to check

Googlebot renders JavaScript before indexing, so Google Search, AI Overviews and AI Mode can use text built by scripts once it leaves the rendering queue. Bingbot generally renders it too, and Apple says Applebot may. OpenAI, Anthropic and Perplexity document nothing on the question; the one large public measurement, by Vercel and MERJ in December 2024, found their crawlers fetched JavaScript files without running them, and Common Crawl states that CCBot does not execute JavaScript. Main text, links, canonical and structured data therefore belong in the HTML the server sends. The comparator below shows what your page holds only after JavaScript.

The page source of an example article whose sections load by script, next to the comparator result: Googlebot, Bingbot and Applebot read the rendered page, while GPTBot, ClaudeBot, PerplexityBot and CCBot get only part of the main text from the raw HTML
One article, two readings: crawlers that render get the full page, the others only what the server wrote.
On this page

Which crawlers render JavaScript, engine by engine

Three crawlers are documented as rendering JavaScript: Googlebot, Bingbot and, with a “may”, Applebot. OpenAI, Anthropic and Perplexity say nothing about it on their crawler pages, read on 28 October 2026. The one large public measurement, published by Vercel and MERJ in December 2024, found that their crawlers fetched JavaScript files without running them. Common Crawl states that CCBot does not execute JavaScript.

JavaScript rendering by crawler: what publishers document and what was measured, read on 28 October 2026
CrawlerRuns JavaScriptEvidence
Googlebot (Google Search, AI Overviews, AI Mode)YesGoogle: a headless Chromium renders every page that answers 200, after a queue (JavaScript SEO basics)
Bingbot (Bing, Copilot)Yes, with limitsBing: “generally able to render JavaScript” (2018); its guidelines ask to avoid hiding critical content behind client-side rendering
ApplebotMayApple: “Applebot may render the content of your website within a browser” (support article, 4 September 2026)
OAI-SearchBot, ChatGPT-User, GPTBotNot documented; measured: noNothing on OpenAI’s crawler page; Vercel and MERJ, December 2024
ClaudeBotNot documented; measured: noNothing on Anthropic’s crawler page; Vercel and MERJ, December 2024
Claude-SearchBot, Claude-UserNeither documented nor measuredNot named in the 2024 measurement
PerplexityBotNot documented; measured: noNothing on Perplexity’s crawler page; Vercel and MERJ, December 2024
Perplexity-UserNeither documented nor measuredNot named in the 2024 measurement
Meta-ExternalAgent, BytespiderMeasured: noVercel and MERJ, December 2024
CCBot (Common Crawl)No“Currently, JavaScript is not executed and Cookies are not used” (Common Crawl FAQ)
Gemini answers in Google’s apps are a separate case: Vercel and MERJ write that Gemini “leverages Googlebot’s infrastructure”. Every token above, with what blocking it changes, is in our guide to AI crawlers and robots.txt.

Browser names in crawler user agents

OpenAI’s documented user agent for OAI-SearchBot contains Chrome/131.0.0.0, and those of GPTBot and PerplexityBot contain AppleWebKit. These strings are copied from browsers for compatibility. Whether a crawler runs scripts is a separate fact that only its publisher, or a measurement, can establish.

Google renders JavaScript after a queue, and AI Overviews draw on the rendered index

Google processes JavaScript pages in three phases: crawling, rendering, indexing. Googlebot fetches the HTML, reads its links, then sends every page that answers with status 200 to a rendering queue, “no matter whether JavaScript is present on the page”. A page with another status code may not be rendered at all.

The page may stay on this queue for a few seconds, but it can take longer than that. Once Google's resources allow, a headless Chromium renders the page and executes the JavaScript.

Google Search Central, Understand JavaScript SEO basics, updated 4 March 2026

AI Overviews and AI Mode add no rendering of their own. Google’s page on AI features and your website sets one technical condition for a supporting link: the page “must be indexed and eligible to be shown in Google Search with a snippet”, with “no additional technical requirements”. Content Googlebot indexes after rendering is therefore available to them; content it never renders is not. How the snippet controls act on these features is covered in our guide to Google AI Overviews.

Rendering is still conditional. Google’s JavaScript documentation lists the cases where scripts change the outcome:

What Google documents about JavaScript, point by point
TopicGoogle’s ruleConsequence
noindex in the original HTML“When Google encounters the noindex tag, it may skip rendering and JavaScript execution”A script that removes noindex may never run: the page stays out
Canonical“The best way to set the canonical URL is to use HTML”; if JavaScript sets it, use the same value as the original HTMLTwo different canonicals send conflicting signals
Links“Google can only discover your links if they are <a> HTML elements with an href attribute”A click handler on a div or a button is not a link
Client-side routing“Don’t use fragments to load different page content”; use the History APIViews under #/pricing share one URL
Title and meta descriptionJavaScript may set or change themGoogle uses the rendered values; crawlers without rendering get the original ones
Structured dataJavaScript may generate and inject JSON-LD; test the resultGoogle reads it after rendering only
Status codesUse a meaningful status code, such as 404 for a page not found; an SPA should avoid soft 404sA 200 answer with “not found” text gets rendered and indexed as a page
User actionsOn lazy loading: “Google Search does not interact with your page” (lazy-loaded content)Content that waits for a scroll or a click is not loaded
State and permissionsGooglebot declines permission requests; cookies, local and session storage are cleared across page loads (JavaScript problems)A page that needs a stored consent or login shows its wall

Keep in mind that server-side or pre-rendering is still a great idea because it makes your website faster for users and crawlers, and not all bots can run JavaScript.

Google Search Central, Understand JavaScript SEO basics

Bing renders JavaScript too, and asks you not to rely on it for critical content

Copilot answers draw on the Bing index. In October 2018, Bing’s program managers Fabrice Canel and Frédéric Dubut wrote that “bingbot is generally able to render JavaScript”, and that “it is difficult for bingbot to process JavaScript at scale on every page of every website”. They recommended dynamic rendering then. The Bing Webmaster Guidelines read on 28 October 2026 no longer mention dynamic rendering; their section “Allow Efficient Crawling and Rendering” lists what to avoid, “Hiding critical content behind client-side rendering” among them.

Content that cannot be reliably rendered may not be indexed or selected for grounding results.

Bing Webmaster Guidelines, 8. Allow Efficient Crawling and Rendering

Grounding is the step where Copilot and Bing’s grounding API pull web content to support an answer. In Bing’s own words, then, a page that needs JavaScript for its main text takes a risk with Copilot even though Bingbot can render it.

What OpenAI, Anthropic, Perplexity, Apple and Common Crawl document about JavaScript

We read each publisher’s crawler documentation on 28 October 2026 and searched it for JavaScript and rendering. The pages of OpenAI, Anthropic and Perplexity describe their user agents, robots.txt tokens and IP ranges, and say nothing about running scripts. Apple and Common Crawl answer the question, in opposite directions.

JavaScript in AI crawler documentation, read on 28 October 2026
PublisherWhat its documentation saysPractical reading
OpenAINothing about JavaScript or renderingTreat ChatGPT search as reading the HTML the server sends
AnthropicNothing about JavaScript or renderingSame reading for ClaudeBot, Claude-SearchBot and Claude-User
PerplexityNothing about JavaScript or renderingSame reading for PerplexityBot and Perplexity-User
Apple“Applebot may render the content of your website within a browser”; blocked JavaScript, CSS or XHR may prevent proper renderingLet Applebot fetch scripts and styles, and keep the page readable without them
Common Crawl“Currently, JavaScript is not executed and Cookies are not used.”Datasets built on Common Crawl hold the raw HTML only

Alternatively, make sure that the website renders cleanly, even if all of the resources are not available. This is often referred to as graceful degradation.

Apple, About Applebot, 4 September 2026

For OpenAI’s agents in particular, from the index behind ChatGPT search to a viewer of the text a page holds without JavaScript, see our guide to ChatGPT SEO.

What the Vercel and MERJ study measured in December 2024, and its limits

“The rise of the AI crawler”, published by Vercel on 17 December 2024 and written with the consultancy MERJ, is the source behind most claims that AI crawlers do not run JavaScript. It analysed crawler requests across Vercel’s network and on nextjs.org, checked against two job boards, one built with Next.js and one on a custom framework.

The results consistently show that none of the major AI crawlers currently render JavaScript.

Vercel and MERJ, The rise of the AI crawler, 17 December 2024
Figures published by Vercel and MERJ, December 2024
MeasureValueScope
Googlebot requests4.5 billionVercel’s network, the month before publication
GPTBot requests569 millionSame
Claude requests370 millionSame
AppleBot requests314 millionSame
PerplexityBot requests24.4 millionSame
Share of ChatGPT’s fetches that were JavaScript files11.50%nextjs.org; the files were fetched, not executed
Share of Claude’s fetches that were JavaScript files23.84%nextjs.org; the files were fetched, not executed
Crawlers found rendering JavaScriptGooglebot (and Gemini through it), AppleBotAll measured traffic
Crawlers found not renderingOAI-SearchBot, ChatGPT-User, GPTBot, ClaudeBot, Meta-ExternalAgent, Bytespider, PerplexityBot; CCBotAll measured traffic

What the study does not establish:

  • It dates from late 2024. A crawler can start rendering without announcing it, and none of the publishers has confirmed or contradicted the result in its documentation since.
  • It covers sites hosted by Vercel. Behavior may differ elsewhere, for example where a CDN serves crawlers a different page.
  • Bing is absent: Bingbot has no figures, and the authors excluded Microsoft Copilot because it “lacks a unique user agent for tracking”.
  • Claude-SearchBot, Claude-User and Perplexity-User are not named, so their behavior is neither documented nor measured.
  • Fetching a JavaScript file is not running it. The percentages above show that crawlers download scripts, not that they execute them.

The authors drew the same practical conclusion as Google: “ChatGPT and Claude don't execute JavaScript, so any important content should be server-rendered.”

Compare the raw HTML and the rendered page of your URL

Paste the two versions of one page. The first is the raw HTML, what a crawler that runs no script receives: the page source (Ctrl+U) or the output of curl. The second is the page after JavaScript, as Googlebot renders it: in Chrome DevTools, Elements panel, right-click the <html> line, Copy, Copy outerHTML. The comparator lists what exists only in the second one, then reads that difference for each family of crawlers.

Open the page, press Ctrl+U (Option+Cmd+U on a Mac), select all and copy. Or run curl on the URL.

Open DevTools (F12), go to Elements, right-click the <html> line, then Copy, Copy outerHTML.

The comparison runs in your browser; nothing is sent or kept.

This compares two pastes. It does not know what a crawler was served on a given day, whether your server answers crawlers differently, or which text is hidden by CSS. The bands are this tool’s own reading, unrelated to the GEO score.

The first example is a common half-way case: the server sends the H1 and the introduction, while the sections, two related links, the canonical and the Article JSON-LD arrive by script. Googlebot gets everything, after its rendering queue. A crawler that reads the raw HTML gets the opening lines and a “Loading…” placeholder. To read only the raw side of a page, with its word count and the usual signs of a JavaScript shell, our ChatGPT SEO guide has a viewer for it.

Rendering strategies that put the content in the initial HTML

Every strategy below except client-side rendering sends the text in the HTTP response. They differ in when the HTML is built and how fresh it stays. Why that response is what every engine reads first is covered in our guide to AI search optimization.

Rendering strategies and what a crawler without JavaScript receives
StrategyWhen the HTML is builtWhat a crawler without JavaScript getsFits
Static generation (SSG)At build timeThe full pageArticles, documentation, landing pages
Server-side rendering (SSR)On each requestThe full pagePages that change per request: stock, prices, search
Incremental regeneration (ISR, stale-while-revalidate)At build or first request, then again in the backgroundThe full page, possibly an older version for a whileLarge catalogs that change often
Streaming SSROn each request, sent in chunksThe text, in the same response; parts behind a loading boundary arrive later in that responsePages with slow data; check the result with the comparator
HydrationAfter SSR or SSG, scripts attach to the HTMLUnchanged: the text was already thereAny interactive page
Prerendering a client-side appAt build time, by loading each route in a headless browserA snapshot of each prerendered routeExisting single-page apps with known routes
Client-side rendering only (CSR)In the browserAn empty element such as <div id="root"> and scriptsPages that should not be indexed: dashboards, accounts
Dynamic renderingOn request, for user agents the server recognizes as botsPrerendered HTML, for listed bots onlyA stopgap, by Google’s own account

Dynamic rendering is a workaround, by Google’s own account

Dynamic rendering serves prerendered HTML to crawlers and the JavaScript app to people. Google’s page on the subject, updated on 10 December 2025, keeps it only as a stopgap and says it is not cloaking as long as both versions carry similar content. For crawlers that never run JavaScript it does help, but only for the user agents on the server’s list: a new AI crawler gets the empty app until someone adds it.

Dynamic rendering is a workaround and not a recommended solution, because it creates additional complexities and resource requirements.

Google Search Central, Dynamic rendering as a workaround, updated 10 December 2025

Google recommends server-side rendering, static rendering or hydration instead.

Ten patterns that hide content from crawlers that do not run JavaScript

A site can be server-rendered and still hold back part of a page. These patterns are the ones the comparator above makes visible; each leaves something out of the raw HTML.

Patterns that keep content out of the raw HTML, and their fix
PatternWhat the raw HTML holdsFix
Empty mount element (#root, #app, <app-root>)No text at allServer rendering, static generation or prerendering for indexable routes
Content fetched after load (useEffect, onMounted, a fetch on DOMContentLoaded)A placeholder such as “Loading…”Fetch the data on the server and write it into the response
Routes on hash URLs (/#/pricing)One URL for every viewReal paths with the History API, each served with its own HTML
Links built as buttons or click handlersNothing to follow: Google only discovers <a href>Real <a href> links, even inside interactive components
Sections loaded on scrollOnly what sits above the foldText in the HTML; keep lazy loading for images and video
Tabs and accordions built on clickThe first panel onlyWrite every panel into the HTML and hide them with CSS or <details>
Infinite scroll and “Load more”The first batchPaginated URLs such as ?page=2, linked to each other, as Google’s lazy-loading guide asks
Consent or login wall drawn by a scriptThe wall, or nothingContent in the HTML with the banner as an overlay; a real paywall needs its own markup
Title, meta description, canonical, robots or JSON-LD set by scriptsMissing or different valuesWrite them in the server response; never remove a noindex with JavaScript
Soft 404 in a single-page appA 200 status with “not found” textA real 404 status, or a noindex added in the original HTML

The most frequent case in React code is the first fetch made in the browser. Moving it to the server changes what the response holds, with the same markup:

Before: article.jsx
// Client component: the article arrives after load,
// so the HTML the server sends holds only "Loading…"
'use client';
export default function Article({ slug }) {
  const [post, setPost] = useState(null);
  useEffect(() => {
    fetch(`/api/posts/${slug}`).then((r) => r.json()).then(setPost);
  }, [slug]);
  if (!post) return <p>Loading…</p>;
  return <article><h1>{post.title}</h1>{post.body}</article>;
}
After: app/blog/[slug]/page.jsx
// Server component (Next.js App Router): the article is
// fetched on the server and written into the HTML response
export default async function Article({ params }) {
  const { slug } = await params;
  const post = await getPost(slug);
  return <article><h1>{post.title}</h1>{post.body}</article>;
}

Text hidden by CSS is still in the HTML

Text inside a closed accordion or an inactive tab is in the HTML if the server wrote it there; a crawler that reads the HTML gets it, whatever CSS does to it. Text that a script creates when someone clicks does not exist in the HTML until that click, and Google says its crawler does not interact with pages. Microsoft’s Bing team adds a caveat about hidden text in AI answers, quoted in our guide to AI search optimization.

What Next.js, Nuxt, React with Vite, Angular, Vue, Wix and Shopify render by default

Whether a site sends its text in the HTML depends first on the framework’s default, then on how each component loads its data.

Default rendering by framework or site builder, from their documentation, read on 28 October 2026
FrameworkDefaultWhat to check
Next.js (App Router)“By default, layouts and pages are Server Components”; Client Components are prerendered to HTML on first load, then hydratedData fetched inside a client component after mount, and components set to render on the client only
Nuxt“By default, Nuxt uses universal rendering”: the server returns a fully rendered pagessr: false in nuxt.config or in routeRules, which renders those routes in the browser only
React with ViteThe React template’s index.html holds an empty <div id="root">; Vite’s SSR API is “a low-level API meant for library and framework authors”Add a framework with server rendering, or prerender the indexable routes at build time
Angular“Renders the application in the browser. This is the default Angular behavior.”ng new --ssr or ng add @angular/ssr, then RenderMode.Server or RenderMode.Prerender per route
VueClient-side unless a framework or SSR setup is used; Vue’s guide warns that a crawler “will not wait” for content fetched after a loading spinnerNuxt or another Vue framework with SSR, or static generation for content pages
Wix“Wix uses server-side rendering (SSR)”Velo code: what runs in onReady() is rendered on the server; return the promise of an asynchronous query so its content is included
Shopify themesThemes “use Liquid to generate the HTML markup that makes up the pages”Content added afterwards by app scripts, such as review widgets, which the comparator shows

Wix states the reason in its developer documentation: “Since not all search bots run JavaScript code, you should make sure the code returning the content you want to be indexed runs before your page is initially rendered.”

How to check what crawlers get with view-source, DevTools, curl and Search Console

Each method shows one side of the page. Use at least one of each kind.

Ways to see a page as crawlers do
MethodWhat it showsUse it for
View source (Ctrl+U)The raw HTML the browser receivedWhat crawlers without JavaScript get
DevTools, Elements panelThe DOM after scripts ranWhat a rendering crawler such as Googlebot works from
curl with a crawler’s user agentThe raw HTML your server sends to that user agentSpotting servers or CDNs that answer bots differently; curl never runs JavaScript
Browser with JavaScript turned offWhat the page shows without scriptsA quick visual check of the raw version
Search Console URL Inspection or the Rich Results TestGooglebot’s rendered DOM, loaded resources, console errorsConfirming what Google indexed, and finding scripts that fail in its renderer
terminal
# The raw HTML your server sends to GPTBot’s documented user agent
curl -s -A "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot" \
  https://www.example.com/blog/attic-insulation-guide -o raw.html

# Is a sentence from the middle of the article there? 0 means no
grep -c "check the insulation you have" raw.html

# A missing page should answer 404, not 200
curl -s -o /dev/null -w "%{http_code}\n" https://www.example.com/blog/no-such-page

A request from your machine with a crawler’s user agent is not a request from that crawler: a firewall or CDN that checks IP addresses may treat the two differently. Server logs filtered on the publisher’s published IP ranges show what the real crawler received.

What a GEO audit reads about JavaScript

Our audit fetches a page the way a crawler without JavaScript does and, when browser rendering is available, loads it in Chromium as well. The report says whether the main text, title and headings are in the initial HTML, and warns when the initial HTML and the rendered page differ markedly. The main text is read from the initial HTML, since that is what most AI answer crawlers receive. The sample GEO audit shows how the report presents it.

Rendering is one part of generative engine optimization; robots meta tags and the snippet controls that decide what engines may show are covered in our guide to noindex and nosnippet in AI search, and markup in our guide to schema markup for AI search.

Check a page’s HTML without JavaScript

Questions about JavaScript and AI crawlers

Do AI crawlers render JavaScript?

Google and Microsoft say Googlebot and Bingbot render JavaScript, and Apple says Applebot may render pages in a browser. OpenAI, Anthropic and Perplexity do not document it for their crawlers, and the one large public measurement, published by Vercel and MERJ in December 2024, found that GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot and PerplexityBot did not render it. Common Crawl states that CCBot does not execute JavaScript.

Can ChatGPT read content loaded with JavaScript?

Not reliably. OpenAI does not say whether its crawlers run scripts, and Vercel and MERJ measured in December 2024 that they fetched JavaScript files without executing them. Text that exists only after scripts run may never reach ChatGPT search, so the main content belongs in the HTML the server sends.

Does Google AI Overviews see content rendered by JavaScript?

Yes, through Google Search. A page must be indexed and eligible for a snippet to appear as a supporting link, and Googlebot indexes the page after a headless Chromium has rendered it. Google adds that rendering can wait in a queue for a few seconds or longer, and that a noindex in the original HTML may stop rendering altogether.

Is dynamic rendering still a good solution?

Google calls it a workaround and not a recommended solution, because it adds complexity and resources, and recommends server-side rendering, static rendering or hydration instead. It is not treated as cloaking as long as crawlers and users get similar content. For crawlers that never run JavaScript it does help, but only for the user agents the server recognizes.

Is a React or Vue single-page app bad for AI search?

A single-page app rendered only in the browser sends an empty element and scripts, so crawlers that run no JavaScript get no text. The fix is to render the pages that matter on the server or at build time: Next.js and Nuxt do it by default, Angular with its SSR or prerender modes, a Vite app with a framework or a prerendering step.

Do AI crawlers see content in tabs and accordions?

If the text is in the HTML and only hidden with CSS, a crawler that reads the HTML gets it. If a script builds the panel when someone clicks, that text is absent from the HTML, and Google says its crawler does not interact with pages, so it does not click either.

Can JSON-LD added by JavaScript be read?

Google says it can read structured data generated with JavaScript once it renders the page, and asks you to test it. Crawlers that read only the raw HTML do not get it, so JSON-LD written into the server response reaches every crawler.

How can I see what an AI crawler gets from my page?

Look at the raw HTML: view the page source, or run curl on the URL, and search for a sentence from the middle of your main text. The DevTools Elements panel shows the page after scripts ran, which is closer to what Googlebot indexes. Comparing the two shows what depends on JavaScript.