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.
| Crawler | Runs JavaScript | Evidence |
|---|---|---|
Googlebot (Google Search, AI Overviews, AI Mode) | Yes | Google: a headless Chromium renders every page that answers 200, after a queue (JavaScript SEO basics) |
Bingbot (Bing, Copilot) | Yes, with limits | Bing: “generally able to render JavaScript” (2018); its guidelines ask to avoid hiding critical content behind client-side rendering |
Applebot | May | Apple: “Applebot may render the content of your website within a browser” (support article, 4 September 2026) |
OAI-SearchBot, ChatGPT-User, GPTBot | Not documented; measured: no | Nothing on OpenAI’s crawler page; Vercel and MERJ, December 2024 |
ClaudeBot | Not documented; measured: no | Nothing on Anthropic’s crawler page; Vercel and MERJ, December 2024 |
Claude-SearchBot, Claude-User | Neither documented nor measured | Not named in the 2024 measurement |
PerplexityBot | Not documented; measured: no | Nothing on Perplexity’s crawler page; Vercel and MERJ, December 2024 |
Perplexity-User | Neither documented nor measured | Not named in the 2024 measurement |
Meta-ExternalAgent, Bytespider | Measured: no | Vercel and MERJ, December 2024 |
CCBot (Common Crawl) | No | “Currently, JavaScript is not executed and Cookies are not used” (Common Crawl FAQ) |
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.
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:
| Topic | Google’s rule | Consequence |
|---|---|---|
| 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 HTML | Two 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 API | Views under #/pricing share one URL |
| Title and meta description | JavaScript may set or change them | Google uses the rendered values; crawlers without rendering get the original ones |
| Structured data | JavaScript may generate and inject JSON-LD; test the result | Google reads it after rendering only |
| Status codes | Use a meaningful status code, such as 404 for a page not found; an SPA should avoid soft 404s | A 200 answer with “not found” text gets rendered and indexed as a page |
| User actions | On 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 permissions | Googlebot 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.
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.
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.
| Publisher | What its documentation says | Practical reading |
|---|---|---|
| OpenAI | Nothing about JavaScript or rendering | Treat ChatGPT search as reading the HTML the server sends |
| Anthropic | Nothing about JavaScript or rendering | Same reading for ClaudeBot, Claude-SearchBot and Claude-User |
| Perplexity | Nothing about JavaScript or rendering | Same 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 rendering | Let 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.
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.
| Measure | Value | Scope |
|---|---|---|
| Googlebot requests | 4.5 billion | Vercel’s network, the month before publication |
| GPTBot requests | 569 million | Same |
| Claude requests | 370 million | Same |
| AppleBot requests | 314 million | Same |
| PerplexityBot requests | 24.4 million | Same |
| Share of ChatGPT’s fetches that were JavaScript files | 11.50% | nextjs.org; the files were fetched, not executed |
| Share of Claude’s fetches that were JavaScript files | 23.84% | nextjs.org; the files were fetched, not executed |
| Crawlers found rendering JavaScript | Googlebot (and Gemini through it), AppleBot | All measured traffic |
| Crawlers found not rendering | OAI-SearchBot, ChatGPT-User, GPTBot, ClaudeBot, Meta-ExternalAgent, Bytespider, PerplexityBot; CCBot | All 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.
| Strategy | When the HTML is built | What a crawler without JavaScript gets | Fits |
|---|---|---|---|
| Static generation (SSG) | At build time | The full page | Articles, documentation, landing pages |
| Server-side rendering (SSR) | On each request | The full page | Pages that change per request: stock, prices, search |
| Incremental regeneration (ISR, stale-while-revalidate) | At build or first request, then again in the background | The full page, possibly an older version for a while | Large catalogs that change often |
| Streaming SSR | On each request, sent in chunks | The text, in the same response; parts behind a loading boundary arrive later in that response | Pages with slow data; check the result with the comparator |
| Hydration | After SSR or SSG, scripts attach to the HTML | Unchanged: the text was already there | Any interactive page |
| Prerendering a client-side app | At build time, by loading each route in a headless browser | A snapshot of each prerendered route | Existing single-page apps with known routes |
| Client-side rendering only (CSR) | In the browser | An empty element such as <div id="root"> and scripts | Pages that should not be indexed: dashboards, accounts |
| Dynamic rendering | On request, for user agents the server recognizes as bots | Prerendered HTML, for listed bots only | A 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 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.
| Pattern | What the raw HTML holds | Fix |
|---|---|---|
Empty mount element (#root, #app, <app-root>) | No text at all | Server 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 view | Real paths with the History API, each served with its own HTML |
| Links built as buttons or click handlers | Nothing to follow: Google only discovers <a href> | Real <a href> links, even inside interactive components |
| Sections loaded on scroll | Only what sits above the fold | Text in the HTML; keep lazy loading for images and video |
| Tabs and accordions built on click | The first panel only | Write every panel into the HTML and hide them with CSS or <details> |
| Infinite scroll and “Load more” | The first batch | Paginated URLs such as ?page=2, linked to each other, as Google’s lazy-loading guide asks |
| Consent or login wall drawn by a script | The wall, or nothing | Content 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 scripts | Missing or different values | Write them in the server response; never remove a noindex with JavaScript |
| Soft 404 in a single-page app | A 200 status with “not found” text | A 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:
// 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>;
}// 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.
| Framework | Default | What to check |
|---|---|---|
| Next.js (App Router) | “By default, layouts and pages are Server Components”; Client Components are prerendered to HTML on first load, then hydrated | Data 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 page | ssr: false in nuxt.config or in routeRules, which renders those routes in the browser only |
| React with Vite | The 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 |
| Vue | Client-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 spinner | Nuxt 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 themes | Themes “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.
| Method | What it shows | Use it for |
|---|---|---|
| View source (Ctrl+U) | The raw HTML the browser received | What crawlers without JavaScript get |
| DevTools, Elements panel | The DOM after scripts ran | What a rendering crawler such as Googlebot works from |
| curl with a crawler’s user agent | The raw HTML your server sends to that user agent | Spotting servers or CDNs that answer bots differently; curl never runs JavaScript |
| Browser with JavaScript turned off | What the page shows without scripts | A quick visual check of the raw version |
| Search Console URL Inspection or the Rich Results Test | Googlebot’s rendered DOM, loaded resources, console errors | Confirming what Google indexed, and finding scripts that fail in its renderer |
# 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-pageA 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.
