Googlebot renders JavaScript, but most AI crawlers read only your raw HTML. Here is how each crawler processes your site and how to close the gap.

noindex in the original HTML can stop rendering entirely, and Google Search only processes the first 2MB of each HTML file.For most of the last decade, JavaScript SEO meant one question: can Google see this? The answer slowly became "yes, mostly, eventually." Google moved its renderer to an evergreen version of Chromium in 2019, stopped recommending the old AJAX crawling scheme, and taught a generation of developers that a React single-page application could rank if it was built carefully.
That answer is now incomplete, because Google is no longer the only machine that decides whether your content gets found.
When a customer asks ChatGPT for a shortlist of vendors, asks Claude to compare two products, or asks Perplexity how a service is priced, those systems fetch and read web pages. Some fetch pages in advance to build an index or a training corpus. Others fetch a page live, at the moment a user asks about it. Either way, the content those systems can read is the content they can cite, summarize, and recommend.
Here is the problem. The evidence available in 2026 says that most of those AI systems read only the HTML your server sends. They do not run your JavaScript. If your product descriptions, pricing tables, reviews, FAQ answers, or even your page titles are assembled in the browser, a large share of the AI answer ecosystem sees an empty shell.
So every page on a modern website effectively exists in two versions:
When those two versions match, you have no JavaScript SEO problem. When they diverge, you have a visibility gap, and it grows every time an AI assistant answers a question your website should have answered.
This guide covers how Google actually processes JavaScript in 2026, what is known (and not known) about how AI crawlers handle it, how each rendering strategy holds up, the platform-specific traps in Next.js, React, Vue, Angular, Webflow, and WordPress, and a step-by-step method for measuring the gap on your own site. It ends with a prioritized remediation plan.
Google describes its handling of JavaScript as three phases: crawling, rendering, and indexing. The details of each phase matter, because most JavaScript SEO failures happen at the handoff between them.

Googlebot takes a URL from its crawl queue and first checks robots.txt. If the URL is disallowed, Googlebot does not request it at all. Google's documentation is explicit that it "won't render JavaScript from blocked files or on blocked pages." This is the first and oldest trap: if your robots.txt blocks /static/, /_next/, /assets/, or a third-party script host your page depends on, Google renders a broken page.
If the URL is allowed, Googlebot fetches it over HTTP and receives the initial HTML. At this point Google can already parse the HTML for links, metadata, and content. For a server-rendered page, nearly everything Google needs is already here. For a client-rendered application shell, Google has a <div id="root"></div>, a few script tags, and not much else.
The 2MB limit. In early 2026, Google clarified its file size documentation. Google's crawlers and fetchers have a general default limit of 15MB, but for Google Search, Googlebot "crawls the first 2MB of a supported file type," with a separate limit of 64MB for PDFs. Three details matter here:
Most HTML documents are nowhere near 2MB. But JavaScript frameworks that serialize application state into the HTML (a large __NEXT_DATA__ blob, a Nuxt payload, or an inlined Redux store) can push long product listing pages or documentation pages surprisingly close. Anything past the cutoff is invisible.
Google's documentation says that Googlebot "queues all pages with a 200 HTTP status code for rendering, no matter whether JavaScript is present on the page." A page "may stay on this queue for a few seconds, but it can take longer than that." When resources allow, Google's Web Rendering Service (WRS) loads the page in headless Chromium, executes the JavaScript, and produces rendered HTML.
Four facts about this phase cause most of the confusion.
First, rendering is a separate queue. The crawl and the render are different jobs. For a well-linked, frequently crawled site, the delay is usually short. For a large site, a new site, or a page with weak internal links, the gap between "crawled" and "rendered" can stretch, and content that only exists after rendering is indexed later than content in the initial HTML.
Second, only 200 responses are guaranteed a trip to the renderer. In December 2025, Google clarified that rendering "might be skipped" for pages that return other status codes, such as 404 or 301. This matters for single-page applications that return a 200 for every route and then display "Product not found" in JavaScript. Google treats those as soft 404s at best, and the content of a real error page may never be rendered at all.
Third, noindex can stop rendering. Also in December 2025, Google added a warning that "when Google encounters the noindex tag, it may skip rendering and JavaScript execution." Developers sometimes ship a noindex in the HTML template and remove it with JavaScript once the page's data loads. That pattern no longer works reliably. Google's advice is direct: if you want the page indexed, don't put noindex in the original page code.
Fourth, canonicalization happens on both sides of rendering. Google's December 2025 update said canonicalization happens before and after rendering, so canonical signals should be as clear as possible. Google prefers that you set the canonical URL in the HTML, and says you "shouldn't use JavaScript to change the canonical URL to something else." Two conflicting canonicals (one in the server HTML, another injected by a client-side SEO library) is a common problem in headless builds.
After rendering, Google parses the rendered HTML again: it extracts links that were not in the initial HTML, reads content added by JavaScript, and indexes the result. Links discovered only after rendering go back into the crawl queue.
This is where the old "Google indexes JavaScript just fine" claim comes from, and it is basically true for Google, with conditions. Content added by JavaScript does get indexed, provided the page returns a 200, carries no noindex, doesn't depend on blocked resources, renders without errors, and puts the content in the DOM without requiring a click or a scroll.
The WRS behaves like a browser in some ways and very unlike a user in others. Plan around these behaviors:
IntersectionObserver or native loading="lazy" generally works. Lazy loading that waits for a scroll event may never fire.localStorage, sessionStorage, and IndexedDB do not persist between page loads. Content that depends on a returning-visitor state, or on a consent choice saved in storage, will render in its first-visit state.#/products/42) to load different page content. Use the History API (pushState) and real paths.<a> elements with an href attribute. A <div onclick="navigate('/pricing')"> or a <button> that routes in JavaScript is not a link to Google. Injecting proper <a href> elements with JavaScript is fine.main.2bb85551.js, is the fix Google recommends.None of this is new to experienced technical SEOs. What's new is that Google is now the most forgiving machine reader you have, not the strictest. The bar has moved.
AI systems do not have one crawler each. They have families of agents with different jobs, and it's worth separating them before looking at the rendering evidence.
Two robots.txt tokens are worth knowing even though they are not separate crawlers. Google-Extended controls whether content crawled by Googlebot can be used for Gemini model training and grounding, and it has no effect on Google Search inclusion. Applebot-Extended plays a similar role for Apple's models.
Vendors also document that some user-triggered fetchers may not follow robots.txt in the same way crawlers do, because they act on behalf of a person who requested a specific page. OpenAI's documentation notes this for ChatGPT-User, and Perplexity says the same about Perplexity-User. For rendering, the important point is that these fetchers are typically fast, single-request readers. They fetch a URL, take the HTML, and pass the text to the model.
No major AI vendor publicly documents whether its crawlers execute JavaScript. What we have is independent testing. Two studies carry most of the weight.
Vercel and MERJ, December 2024. Vercel and the data consultancy MERJ analyzed crawler traffic across nextjs.org and the Vercel network, and cross-checked the patterns against two large job board sites, one built on Next.js and one on a custom framework. Their findings:

RESONEO, January 2026. The French agency RESONEO built a test page with 15 different content-injection methods (static HTML, delayed JavaScript, fetch() calls, shadow DOM, iframes, and others), each carrying a unique "sentinel" string. They asked AI assistants to visit the page and report which strings they could see. This study tested user-triggered fetchers only, not training or indexing crawlers. The results:
<script> tags was not extracted by the HTML-only user fetchers in the test. The test did not cover training or indexing bots, which may treat structured data differently.
Be precise about the limits here, because a lot of 2026 content about AI crawlers overstates them.
The Vercel data is now almost two years old and comes mostly from one network. The RESONEO test covers user-triggered fetchers on a single test page. Neither proves how every AI crawler behaves today, and vendors can change their infrastructure without announcing it. OpenAI's agent products and the ChatGPT Atlas browser, for example, run a full browser when a user asks them to complete a task, which is a different pathway from the crawlers above.
But the direction of the evidence is consistent, and the engineering reasons behind it are sound. Rendering JavaScript is expensive. Running headless Chromium on billions of URLs costs far more compute and time than fetching HTML, and a user-triggered fetcher has a person waiting on the other end of the conversation. Google built and funded a rendering pipeline over many years because it had to. Most AI companies have so far chosen not to.
The practical rule for 2026: assume every AI crawler and fetcher reads only your initial HTML, unless you have tested otherwise. Treat Googlebot (and, through it, AI Overviews, AI Mode, and Gemini) as the one major exception, and treat Bing Copilot's rendering as too brief to rely on.
It's tempting to think of AI crawlers as a secondary audience. Three trends make that a risky assumption.
AI answers are shaping the shortlist. When a customer asks an assistant to name vendors in a category, the brands named in that answer get considered and the rest often do not. We covered how engines choose what to cite in How AI Engines Decide What to Cite, and crawlability is the first gate in that pipeline. A page an engine cannot read cannot be retrieved, cited, or recommended.
User-triggered fetches happen at the worst moment to fail. When someone pastes your pricing page into ChatGPT and asks "Is this a good deal?", the assistant fetches that URL live. If the pricing table is rendered client-side, the model either says it can't find pricing or, worse, fills the gap from older training data or a third-party site. You lose the one conversation where the user was already looking at you.
Training data has a long memory. Content that training crawlers cannot read today is content the next generation of models will not know. That gap compounds quietly.
"Use server-side rendering" is the standard advice, and it's correct as far as it goes. But modern frameworks offer at least six distinct rendering strategies, and they behave differently for each type of machine reader. Here is how they compare.

A pure CSR application (a classic Create React App or a default Vite React build) returns an HTML file with an empty root element and a bundle of JavaScript. Everything the user sees is built in the browser after the bundle downloads, parses, executes, and usually calls one or more APIs.
For Googlebot, this works when everything goes right: the bundle loads, the API responds quickly during rendering, nothing throws an error, and the routes return meaningful status codes. In practice, CSR sites routinely lose content to failed API calls during rendering, soft 404s, missing per-route metadata, and render delays on large sites.
For HTML-only AI crawlers, a CSR site is close to invisible. The crawler gets a title tag (often the same generic title on every route), maybe a meta description, and no body content. If your marketing site is a pure CSR application in 2026, fixing that is the single highest-impact technical SEO change available to you.
CSR is still a fine choice for logged-in application screens, dashboards, and tools that have no business being indexed. The mistake is using it for public, content-bearing pages.
SSR, SSG, and ISR all put the full content in the initial HTML, so all three are equally visible to every crawler. The choice between them is about freshness and cost, not SEO:
SSR frameworks send HTML and then "hydrate" it, attaching JavaScript event handlers to the existing markup so the page becomes interactive. Two hydration problems affect SEO:
window, the current time, a random value, or the user's locale), React may discard the server markup and re-render on the client. Googlebot indexes whatever ends up in the DOM, which may differ from what AI crawlers saw in the HTML. Two crawlers, two versions of your page.useEffect hook is effectively client-rendered, even though the page as a whole is "SSR." This is the most common way an SSR site ends up with a JavaScript visibility gap, and it hides well, because the page looks server-rendered in every other respect.A common misconception in Next.js: marking a component with "use client" does not make it client-rendered. Client Components in the App Router are still pre-rendered to HTML on the server. What makes content invisible to HTML-only crawlers is not the directive; it's data fetched in the browser (in useEffect, SWR, or React Query without server prefetching) or output that depends on browser-only APIs.
Streaming changes the shape of the HTML response. Instead of waiting for all data before sending anything, the server sends the page shell immediately and streams in sections as their data resolves. In React, each <Suspense> boundary first sends its fallback (a skeleton or spinner), then later sends the real content in the same HTTP response, inside a hidden element, along with a small inline script that swaps it into place.
That last detail has a useful consequence. Because the streamed content arrives in the same response, an HTML-only crawler that reads the full response body does receive the text, even though it never runs the swap script. The content just appears near the end of the document, out of visual order, inside a hidden container.

Three caveats keep this from being a free pass:
Practical rule: put your primary content (the H1, the main copy, key facts) above or outside Suspense boundaries, and use streaming for secondary sections such as related products, reviews, and personalization.
Dynamic rendering means detecting crawlers by user agent and serving them a prerendered HTML snapshot, while users get the normal client-side application. Prerendering services and self-hosted headless Chrome setups do this.
Google's documentation now describes dynamic rendering as a workaround rather than a recommended long-term solution, and recommends server-side rendering, static rendering, or hydration instead. Bing has historically been more supportive, recommending dynamic rendering for JavaScript-heavy sites and stating it is not cloaking as long as you make a good-faith effort to return the same content to all visitors.
For AI crawlers, dynamic rendering has one extra weakness: it only helps the bots you detect. Your bot list must include GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User, and the rest, and it must keep up as vendors add new agents. Fetchers that use browser user agents won't be detected at all.
Use dynamic rendering as a bridge for a legacy CSR application you cannot rebuild this quarter. Don't use it as the architecture for a new build.
Every framework can produce crawlable HTML. Every framework can also produce an empty shell. These are the patterns to check on the most common platforms.
useEffect data fetching in Client Components on public pages, and for important content wrapped in Suspense boundaries that depend on slow data.generateMetadata) so titles, descriptions, canonicals, and robots directives are in the server HTML. Avoid client-side head libraries that change these after load.notFound() and status codes: Call notFound() in server code so missing pages return a real 404. A page that renders "Not found" text with a 200 is a soft 404.__NEXT_DATA__ or the App Router's RSC payload) inflate the HTML. Pass only the fields the page needs.client-only wrappers and onMounted data fetching on public pages, which have the same effect as useEffect fetching in React.useHead or useSeoMeta with server-side data so metadata is present in the HTML.Webflow publishes server-rendered static HTML, including CMS collection pages, so the core of a Webflow site is readable by every crawler. As a Webflow Certified Partner, we see the JavaScript risk come almost entirely from what gets added on top:
For the broader tradeoffs between Webflow, headless, and custom builds, see Webflow vs Headless vs Custom in 2026.
Traditional WordPress renders on the server, so classic themes are crawler-friendly by default. The JavaScript risks are:
Commerce front ends (Shopify Hydrogen, commercetools, BigCommerce with a custom front end) carry high stakes because prices, availability, and reviews are exactly the facts AI shopping answers depend on. Confirm that price, availability, product attributes, and a review summary are present in the initial HTML, in visible text as well as in Product structured data.
You don't need an enterprise crawler to find out how much of your site depends on JavaScript. The method below takes an afternoon, works on any stack, and gives you a number you can track.

Start with curl. Request a page with a crawler user agent and look at what comes back:
Three things to look for:
Note that the user agent string alone doesn't make you an AI crawler. Some sites verify crawlers by IP range, so a curl request with a bot user agent may be treated differently from the real bot. Use this test for rendering, and use server logs (Step 4) for access.
The real measure is the difference between what the server sends and what the browser builds. This Python script uses Playwright to fetch both versions of a list of URLs and reports the gap for each one.
Run it against a sample of each page template, not every URL: the homepage, a service or product page, a category or listing page, a blog article, a location page, the pricing page, and any page built with a special component.
How to read the results:
signals_changed_by_js: a priority fix. A title, canonical, robots directive, or H1 that changes after JavaScript runs means different crawlers see different pages. A change in links means your internal linking partly depends on rendering.Two refinements make the test sharper. Run the rendered fetch a second time with JavaScript disabled (browser.new_context(java_script_enabled=False)) to confirm the raw view. And on pages where the gap is high, save both versions and diff the text to see exactly which sections are missing.
For Google specifically, use the tools that show Google's own output:
"an exact sentence from the client-rendered section" with site:yourdomain.com) is a rough but quick check on whether Google indexed content that only exists after rendering.Rendering tests show what a crawler would see. Server or CDN logs show whether crawlers are coming at all, which pages they request, and what status codes they get. Filter your access logs for the main AI user agents:
(The match() call with an array argument requires GNU awk.) Look for agents that are absent entirely (often a firewall block), high rates of 403 or 404 responses, and whether the pages AI crawlers request are the pages you care about. User agents can be spoofed, so verify important patterns against the vendors' published IP ranges before you act on them.
You can borrow RESONEO's method to test the AI fetchers directly. Publish a test page (it can be noindex for search engines) with several unique, meaningless strings placed in different ways:
fetch() call to a JSON endpointThen ask ChatGPT, Claude, Perplexity, Gemini, and Copilot to open the URL and list every unusual string they find. The strings they report show you exactly which rendering paths each assistant supports today. Re-run the test every quarter, because these systems change without notice.
A caution on interpreting results: assistants sometimes guess at page content instead of fetching it. Ask the assistant to quote the page verbatim and confirm in your logs that its fetcher actually requested the URL.
Most sites don't need a rebuild. They need a short list of specific changes, made in the right order. Work through these from the top.
Define "critical" for each page template before touching code. For most sites, it's this list:
Everything on that list should exist in the server response. Interactive behavior (filtering, sorting, calculators, carousels, live chat, personalization) can stay in JavaScript, as long as the facts it presents also appear somewhere in static HTML.
The easiest framing for a development team: if the page would be wrong or incomplete with JavaScript turned off, the missing part is a candidate for server rendering.
Titles, descriptions, canonicals, hreflang, and robots directives should be generated on the server, once, by one system. Remove client-side libraries that rewrite them after load. If your CMS and your front-end framework both emit a canonical tag, pick one and remove the other. Google's December 2025 guidance is unambiguous: set the canonical in the HTML and don't change it with JavaScript.
<a href="/real/path">./shoes/running/ or /shoes?type=running) rendered as links, not JavaScript state./blog/page/2), linked from the page. An infinite scroll can stay as the user experience, layered on top of real pagination.For single-page applications where server status codes are impractical, Google documents two fallbacks: redirect with JavaScript to a URL that returns a real 404 (such as /not-found), or add a noindex robots meta tag to error states with JavaScript. Remember that rendering is only guaranteed for 200 responses, so a real error page should not depend on rendering to communicate anything important.
If a page should be indexed, its original HTML must not contain noindex. Google may skip rendering entirely when it sees one, so the script that would remove it never runs. The reverse (adding noindex with JavaScript) is also unreliable, because Google may index the page before rendering, and HTML-only crawlers never see the change. Make indexing decisions on the server.
loading="lazy" or IntersectionObserver for images below the fold. Never lazy-load the LCP image or the first screen of content.Generate JSON-LD on the server. Google can process JSON-LD injected with JavaScript, but HTML-only crawlers cannot, and the RESONEO test found that user-triggered AI fetchers did not extract JSON-LD at all. The facts in your structured data (price, rating, address, author, dates) should also appear in visible HTML text. Structured data reinforces content; it shouldn't be the only place a fact exists.
robots.txt.Rendering fixes are wasted if your firewall blocks the crawlers. Review your CDN and WAF settings, bot protection mode, and robots.txt together, and choose per agent:
llms.txt file that points AI systems to your most important pages in plain text. Its adoption by AI vendors is still limited, so treat it as low-cost supplemental guidance, not a replacement for crawlable HTML.If your public pages run on a client-rendered application that won't be rebuilt soon:
These are the patterns that most often cause a JavaScript visibility gap on sites that otherwise look healthy. Check your own templates for each one.
The API-loaded pricing table. The pricing page is server-rendered, but the plan table comes from a pricing API so it can stay current. Googlebot sees the prices after rendering. AI crawlers see a heading that says "Pricing" and nothing under it. When users ask an assistant what you charge, it answers from a review site or an old snapshot. Fix: render the current prices on the server and refresh them through ISR or on-demand revalidation.
The reviews widget. A third-party script injects star ratings and testimonials after load. None of it exists in the HTML, and the AggregateRating markup is injected too. Fix: use the vendor's server-side or static option, or sync reviews into your CMS.
The FAQ fetched on click. An accordion component loads each answer from an API when a user opens it. The questions are crawlable; the answers are not. This is exactly the content answer engines want to quote. Fix: put every answer in the HTML and hide them with CSS.
The personalized hero. A script swaps the H1 and opening copy based on location, industry, or campaign. Crawlers see the default version, or worse, a blank placeholder that flickers until the script runs. Fix: server-render a strong default H1 and personalize secondary elements.
The A/B testing tool that rewrites headings. Client-side testing tools change titles, H1s, and copy after load. Googlebot may render a test variant, and HTML-only crawlers always see the original. Fix: run SEO-relevant tests on the server or at the edge, and keep tests short.
The client-side "load more" on category pages. Only the first 12 products, articles, or locations are in the HTML. The rest load on scroll or on click. Crawlers find a fraction of the catalog through that page. Fix: add paginated URLs with real links.
The soft 404 factory. A single-page application returns 200 for every path, including typos and deleted products. Search engines index "not found" pages, crawl budget is wasted, and Google flags soft 404s. Fix: return real 404s from the server.
The challenge page. Bot protection serves a JavaScript challenge to anything that looks automated. Browsers pass it. AI crawlers that don't execute JavaScript cannot, so they index the challenge page, or nothing. Fix: allowlist the verified crawlers you want, and test with Step 1.
The duplicate canonical. The CMS outputs one canonical in the HTML, and a client-side SEO component adds a second, different one after hydration. Google sees conflicting signals before and after rendering. Fix: one canonical, generated on the server.
Here is a realistic sequence for a team that wants to close the gap without stopping other work.

Week 1: Measure.
js_gap.py tests (Steps 1 and 2). Record the JavaScript dependency percentage and the signals that change.robots.txt settings for unintended AI crawler blocks.Week 2: Fix the signals.
noindex that JavaScript is expected to remove.<a href> links.Week 3: Fix the content.
Week 4: Verify and monitor.
After the fixes, track AI visibility directly. Our guide on measuring AI search visibility covers how to build a repeatable prompt set and measure presence, accuracy, and share of voice across ChatGPT, Claude, and Perplexity.
For years, the standard for JavaScript SEO was "can Google render it?" That standard was always a little risky, because it depended on a queue, a renderer, and a long list of conditions working perfectly. In 2026 it's no longer enough, because the fastest-growing readers of your website don't render at all.
The good news is that the fix is the same for every machine reader, and it makes your site better for people too. Server-rendered HTML loads faster, holds up on slow devices and networks, and gives every crawler, Google's or anyone else's, the same complete page. JavaScript remains the right tool for interaction. It just shouldn't be the only place your content exists.
Run the raw HTML test on your most important page this week. If what comes back is an empty shell, you've found your highest-value technical SEO project for the quarter.
Need help finding your gap? Brightter, Inc. runs technical SEO and GEO audits that compare raw and rendered output across every template, review crawler access at the CDN and firewall, and deliver a prioritized fix list your developers can act on. As a Webflow Certified Partner that also builds on WordPress and modern JavaScript frameworks, we fix rendering issues at the platform level, not just in a report. Talk to our team about an audit.
Independent tests say no. The Vercel and MERJ study found that OpenAI's crawlers, ClaudeBot, and PerplexityBot download JavaScript files but do not execute them, and a January 2026 test found that ChatGPT, Claude, Gemini, and Perplexity fetchers ran no JavaScript. Assume AI crawlers read only your initial HTML.
Yes. Googlebot renders pages in an evergreen headless Chromium, but rendering is queued, it is only guaranteed for pages that return a 200 status, it may be skipped when the original HTML contains noindex, and Google Search processes only the first 2MB of each HTML file.
For the content that matters, effectively yes. SSR, static generation, or incremental static regeneration put your copy, metadata, links, and key facts in the initial HTML, which is the only version most AI crawlers read. Interactive features can still run in JavaScript.
Fetch the page with curl using a crawler user agent, then compare that raw HTML with the rendered DOM from a headless browser such as Playwright. If more than about 20 percent of the visible words appear only after rendering, AI crawlers are missing part of the page.
Google can process JSON-LD injected with JavaScript, but HTML-only AI crawlers cannot see it, and a 2026 test found user-triggered AI fetchers did not extract JSON-LD at all. Serve structured data in the server HTML and repeat its key facts in visible text.
New articles, one framework, and what we are seeing in AI and search. Once a month, five minutes to read.
Reading is a good start. A 30 minute call with a senior lead is faster.