Skip to content
2.5Advanced9 min

JavaScript Rendering and AI Crawlers: The Visibility Divide

Lucas BlochbergerUpdated 17 October 2026
Definition

JavaScript rendering SEO is the practice of making sure that search engine and AI crawlers can capture a page's content, regardless of whether it is generated on the server or in the client. The core issue: AI crawlers like GPTBot, ClaudeBot and PerplexityBot do not execute JavaScript and read only the raw HTML delivered by the server. Client-side rendered content stays invisible to them, which is why server-side rendering becomes a visibility prerequisite, not just a performance optimization.

Key Takeaways

  • According to a Vercel analysis from December 2024, no major AI crawler renders JavaScript: GPTBot, ClaudeBot, PerplexityBot, Bytespider and Meta read only the raw HTML delivered by the server.
  • AI crawlers do download some JavaScript (ChatGPT 11.50 percent, Claude 23.84 percent of requests), but they do not execute it, so client-rendered content stays invisible.
  • In the age of AI search, server-side rendering is a visibility requirement, not merely a performance optimization.
  • Main content, title, meta tags, structured data, internal links, hreflang and canonical must be in the initial HTML response, not only in the rendered DOM.
  • AI crawlers work inefficiently: ChatGPT and Claude hit 404 pages in around 34 percent of their fetches, Googlebot in only 8.22 percent.
  • Even at Google, JavaScript costs time: crawling takes around nine times longer than with plain HTML, which extends time-to-index.
  • Consent banners and CSR frameworks must not hide the main content from crawlers; non-personal content can be delivered server-side in compliance with the GDPR.
  • For the Austrian market, SSR covers both worlds: classic Google Search (around 82 percent market share) and generative answer systems such as ChatGPT and Perplexity.

Why JavaScript rendering has become a visibility issue

For years, JavaScript rendering was treated as a pure performance topic. If you rendered on the client side, you risked slower load times but hardly any lost visibility, because Googlebot executes JavaScript. In the age of AI search, that assumption falls short. A new class of crawlers reads web pages without executing a single line of JavaScript: the crawlers behind ChatGPT, Claude, Perplexity and other AI systems.

The joint analysis by Vercel and MERJ of crawler behavior on Vercel's network was the first to document this divide at scale. According to the analysis from December 2024, no major AI crawler renders JavaScript, including OpenAI (GPTBot, OAI-SearchBot, ChatGPT-User), Anthropic (ClaudeBot), ByteDance (Bytespider), Meta and Perplexity (PerplexityBot). This shifts the logic: server-side rendering is no longer an optimization for faster delivery but a basic prerequisite for content to exist at all for a growing share of crawler traffic.

The scale of this traffic matters. GPTBot alone generated 569 million requests and ClaudeBot 370 million requests on the Vercel network within one month, together around 20 percent of Googlebot's volume of 4.5 billion requests. For citations in ChatGPT or Perplexity, their search crawlers OAI-SearchBot and PerplexityBot are what counts. According to the same analysis, these do not render JavaScript either. Client-side rendered content stays invisible to them.

The technical cause of the visibility divide

In principle, a crawler goes through two steps: it retrieves the HTML document (crawling) and then processes its content. The decisive difference is whether a rendering step sits between these two, in which a browser engine executes the JavaScript, builds the DOM and inserts content that loads afterward.

Googlebot renders, AI crawlers don't: Googlebot, Google Gemini and AppleBot use a browser-based rendering stage and therefore also see content that only JavaScript creates. The AI crawlers skip this stage. They process only the raw HTML that the server delivers. Interestingly, they do download JavaScript: ChatGPT crawlers load JS files in 11.50 percent of their fetches, ClaudeBot in 23.84 percent, but they do not execute these files. Loading without executing means that everything assembled only in the browser stays invisible.

What rendering costs technically: Rendering is resource-intensive. It requires a browser environment per page, compute time and memory. For a crawler that processes billions of pages, that is a significant cost factor. AI crawlers are primarily designed to build training and retrieval datasets. At the time of the Vercel analysis, they skipped this stage, presumably for cost reasons. Whether that will change remains open.

The practical consequence: In a documented hands-on test, ChatGPT, Perplexity and Claude could not read the content of a client-side rendered page because it depended on JavaScript rendering. The affected pages also appeared only in secondary areas such as ChatGPT's "More" section instead of as a primary cited source. Visibility in AI search is therefore already decided by whether the main content is in the server-delivered HTML.

Rendering strategies compared

The choice of rendering strategy is the central lever. Four approaches dominate, with clearly different consequences for AI and crawler visibility.

Client-side rendering (CSR): The server delivers a minimal HTML skeleton, and the entire content is only created in the browser by JavaScript. For AI crawlers, this content does not exist. Pure CSR architectures are the most problematic option for AI visibility.

Server-side rendering (SSR): The server generates the complete HTML for each request and delivers it ready-made. Main content, metadata and structured data are in the source code immediately and readable by every crawler. SSR is the safest approach for maximum crawler and AI visibility.

Static site generation (SSG) and prerendering: Pages are prerendered at build time and delivered as static HTML. This combines full visibility with very fast delivery. For content that rarely changes, such as knowledge articles or service pages, this is often the ideal solution.

Incremental static regeneration (ISR): A hybrid that regenerates static pages in the background at defined intervals. It combines the advantages of SSG with the freshness of dynamic content and also delivers finished HTML.

In the Next.js context, the App Router maps these strategies. React Server Components render on the server by default, so their output lands directly in the HTML. Streaming delivers content progressively without compromising the crawler readability of the main content, as long as the central content is not hidden behind a purely client-side component. The rule of thumb still applies: what is in the initial HTML response is visible. What only the browser assembles is not.

The trend toward server-side rendering also shows in the data. Comparing rendered and raw word counts on homepages reveals a median difference of 13.6 percent (mobile) and 17.5 percent (desktop), with the gap shrinking for longer texts, which points to a relatively wider use of server-side technologies for longer content. At the 10th percentile, however, the difference on desktop reaches up to 32 percent, a clear sign that a substantial share of pages still loads content afterward that AI crawlers miss.

Best practices for a crawler-proof architecture

Deliver the main content server-side: The core text content, title and meta description, structured data based on Schema.org, internal linking, hreflang annotations and the canonical tag must be in the initial HTML response. These elements control indexing, language and regional targeting, and evaluation by AI systems. If they exist only in the rendered DOM, they are lost to crawlers that read raw HTML.

Embed structured data server-side: JSON-LD should sit directly in the server-delivered HTML, not be injected via JavaScript. Otherwise AI crawlers lack the machine-readable context that is valuable for entity recognition and citability.

Internal linking as real HTML links: Navigation and internal links must exist as regular anchor elements in the source code. AI crawlers do not follow links generated by JavaScript, and even Googlebot takes significantly longer to follow them. A crawlable link structure is the foundation for subpages being found at all.

Fast delivery via edge and CDN: HTTP/3, edge caching and a CDN shorten response times and reduce the load from frequent crawling. This matters especially because AI crawlers work inefficiently. For ChatGPT, 34.82 percent of fetches land on 404 pages, for Claude 34.16 percent, for Googlebot only 8.22 percent. Clean XML sitemaps and IndexNow help signal new and changed URLs in a targeted way and reduce crawl resources wasted on dead paths.

Decouple consent management from crawlers: Cookie banners and consent-gated areas must not hide the actual content from crawlers. If the main content only loads via JavaScript after consent, AI crawlers see only the banner. The GDPR-compliant approach is to deliver non-personal content server-side and to limit consent management to what it actually concerns: tracking and non-essential cookies. Locking content behind consent hurts visibility without being required by data protection law.

Common mistakes

Mistaking dynamic rendering for a solution: Google has classified serving different content to bots and users as an outdated workaround. It increases complexity, is error-prone and does not replace a clean server-side architecture. If you are building something new today, go straight for SSR, SSG or ISR.

Using CSR frameworks without server rendering: A single-page application without server-side rendering produces an almost empty HTML document. That works for users, but for AI crawlers the page has no content. The mistake often goes unnoticed in day-to-day work because the page looks flawless in the browser.

Assuming Googlebot visibility is enough: Even if Googlebot renders a JavaScript page, that does not apply to AI crawlers. If you optimize exclusively for Googlebot's behavior, you ignore the growing share of traffic from ChatGPT, Perplexity and similar systems.

Blocking crawlers across the board without weighing the consequences: In robots.txt, you can allow or block GPTBot, ClaudeBot, PerplexityBot, Google-Extended and other AI crawlers individually. The key is the difference between training crawlers and search crawlers. Blocking GPTBot or ClaudeBot mainly signals that the content should not be used for model training. Google-Extended controls training and grounding for Gemini, not Google Search. For visibility in ChatGPT search, OAI-SearchBot is what counts, for Claude Claude-SearchBot, for Perplexity PerplexityBot. ChatGPT-User and Claude-User fetch pages only at a user's request; for ChatGPT-User, robots.txt may not apply, according to OpenAI. Google AI Overviews require a page to be in the Google index and eligible to be shown with a snippet; you control this through Googlebot access in robots.txt and through noindex, nosnippet, data-nosnippet and max-snippet. If you want to be cited in AI answers, allow at least the search crawlers. Make this trade-off between control and visibility deliberately, not by accident through an overly restrictive configuration.

Underestimating the JavaScript load: Large client bundles hurt both AI visibility and performance. The median JavaScript payload is 558 kilobytes on mobile and 613 kilobytes on desktop, with around 44 percent (206 kilobytes) of the delivered bytes left unused during loading. This unused ballast weighs mainly on Largest Contentful Paint and Interaction to Next Paint.

Metrics and measurement

Check HTML-only against the rendered DOM: The fastest test is to compare the raw HTML with the rendered DOM. Using the page source or a simple fetch of the HTML, you can check whether the main content is already present without JavaScript. If the text is missing from the source code but shows up in the rendered view, you have a CSR problem. The Google Rich Results Test and the URL Inspection report in Search Console show what Google sees after rendering. A crawler like Screaming Frog with JavaScript rendering enabled can systematically reveal the difference between the raw and the rendered version.

Analyze AI bots in the server logs: Server log analysis shows which AI crawlers actually fetch the site, which URLs they target and how high their 404 rate is. High error rates point to outdated links in sitemaps or to an inefficient structure. This data is the most direct evidence of how AI systems perceive your domain.

Account for the indexing delay: Even at Google, JavaScript causes a measurable loss of time. In one experiment, Googlebot needed around nine times longer to crawl JavaScript pages than plain HTML pages, specifically 313 hours versus 36 hours for the same set of pages. Googlebot also followed an internal link inserted via JavaScript much more slowly, taking 52 hours versus 25 hours for an HTML link. This delay in the two-wave model extends time-to-index and costs reach for timely content.

Keep an eye on Core Web Vitals: Performance remains a quality signal in its own right. Currently, 48 percent of mobile and 56 percent of desktop pages pass all three Core Web Vitals, while only 62 percent of mobile pages achieve a good Largest Contentful Paint, compared with 74 percent on desktop. Code splitting, deferring non-critical JavaScript and a lean hydration strategy reduce the client load and improve LCP and INP at the same time.

GEO implications for the Austrian market

For the Austrian B2B market, the visibility divide has concrete consequences. The reach of digital channels is high: Austria had around 8.69 million internet users in January 2025, a penetration rate of 95.3 percent. At the same time, classic search remains dominant. In May 2026, Google held a market share of around 82 percent in Austria, followed by Bing with around 9 percent. Since Bing feeds the AI answers in Microsoft Copilot and Google serves AI Overviews, server-delivered, cleanly structured content flows into both worlds: classic search and generative answer systems.

If you optimize for visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews, you are also doing solid technical SEO. The requirements overlap: readable HTML, embedded structured data, fast delivery and a crawlable link structure. Server-side rendering is the common denominator. It ensures that the content exists for the rendering Googlebot just as it does for the non-rendering AI crawlers, which increasingly help decide which brands appear in AI answers.

Further reading

JavaScript rendering is therefore not an isolated front-end topic but a central lever for findability. For more depth, look at the Next.js SEO architecture with App Router and Server Components, at targeted AI crawler management via robots.txt, and at IndexNow and XML sitemaps as accelerators for efficient crawling. If you build these components on a server-side rendering foundation, you close the visibility divide instead of widening it.

Data & Statistics

No major AI crawler renders JavaScript (GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Bytespider, Meta-ExternalAgent, PerplexityBot); ChatGPT crawlers load JS in 11.50 percent, Claude in 23.84 percent of fetches, but do not execute it

Vercel (with MERJ), The rise of the AI crawler (2024)

GPTBot generated 569 million requests and Claude 370 million requests per month on the Vercel network, together around 20 percent of Googlebot's volume of 4.5 billion requests

Vercel Blog, The rise of the AI crawler (2024)

404 rate of crawlers: ChatGPT 34.82 percent, Claude 34.16 percent, Googlebot only 8.22 percent of fetches

Vercel Blog, The rise of the AI crawler (2024)

Googlebot required around nine times more time to crawl JavaScript pages than pure HTML pages (313 hours versus 36 hours); it followed a JS-injected link in 52 instead of 25 hours

Onely, Ziemek Bucko, Rendering Queue: Google Needs 9X More Time To Crawl JS Than HTML (2022)

Median difference between rendered and raw word count on homepages: 13.6 percent (mobile), 17.5 percent (desktop), up to 32 percent at the 10th percentile on desktop

HTTP Archive Web Almanac 2024, SEO chapter (2024)

Median JavaScript payload: 558 kilobytes (mobile), 613 kilobytes (desktop); around 44 percent (206 kilobytes) of delivered bytes remain unused during loading

HTTP Archive Web Almanac 2024, JavaScript chapter (2024)

48 percent of mobile and 56 percent of desktop pages pass all three Core Web Vitals; good LCP is achieved by only 62 percent (mobile) versus 74 percent (desktop)

HTTP Archive Web Almanac 2025, Performance chapter (2025)

In May 2026, Google holds a search engine market share of around 82 percent in Austria, Bing around 9 percent, DuckDuckGo around 2.8 percent

StatCounter Global Stats, Search Engine Market Share Austria (2026)

In Austria, there were around 8.69 million internet users in January 2025 with a penetration of 95.3 percent

DataReportal, Digital 2025: Austria (2025)

ChatGPT, Perplexity and Claude could not read the content of a client-side rendered page because it relied on JavaScript rendering

GSQI, Glenn Gabe, AI Search and JavaScript Rendering (2025)
Summarize with AIChatGPTClaudePerplexity

Opens the chat with a prepared prompt.

Frequently asked questions

Can AI crawlers like GPTBot and ClaudeBot execute JavaScript?
No. The joint analysis by Vercel and MERJ from December 2024 found that no major AI crawler renders JavaScript, including GPTBot, ClaudeBot, PerplexityBot, Bytespider and Meta. They sometimes download JavaScript files (ChatGPT in 11.50 percent, Claude in 23.84 percent of requests), but they do not execute them and read only the raw HTML.
Why is server-side rendering important for AI visibility?
Because AI crawlers process only the server-delivered HTML. If the main content appears only in the client-side rendered DOM, it is invisible to ChatGPT, Perplexity and Claude. SSR, SSG or ISR deliver the content ready-made in the HTML, which makes it readable for all crawlers. In a documented test, ChatGPT, Perplexity and Claude could not read a pure CSR page.
Which content must be in the server-delivered HTML?
The core text content, title and meta description, structured data based on Schema.org as JSON-LD, internal linking as real HTML links, hreflang annotations and the canonical tag. These elements control indexing, language targeting and evaluation by AI systems, and they are lost if they are only generated via JavaScript.
Does Googlebot render JavaScript, and is that enough for visibility?
Googlebot renders JavaScript, as do Google Gemini and AppleBot. That is not enough, however, because AI crawlers do not. JavaScript also costs time even at Google: crawling takes around nine times longer than with plain HTML (313 versus 36 hours in the experiment), which extends time-to-index.
How do I check whether my page is visible to AI crawlers?
Compare the raw HTML with the rendered DOM, for example via the page source or a direct HTML fetch. If the main content is missing from the source code, you have a CSR problem. The Google Rich Results Test, URL Inspection in Search Console, a JavaScript crawl with Screaming Frog and server log analysis of the AI bots also show what is actually readable.
Should I block or allow AI crawlers in robots.txt?
Distinguish between training crawlers and search crawlers. Blocking GPTBot or ClaudeBot mainly signals that your content should not be used for model training. Google-Extended controls training and grounding for Gemini, not Google Search. For visibility in ChatGPT search, OAI-SearchBot is what counts, for Claude Claude-SearchBot, for Perplexity PerplexityBot. ChatGPT-User and Claude-User fetch pages only at a user's request; for ChatGPT-User, robots.txt may not apply, according to OpenAI. Google AI Overviews require the page to be in the Google index and eligible to be shown with a snippet. You control this through Googlebot access in robots.txt and through noindex, nosnippet, data-nosnippet and max-snippet. If you want to be cited, allow at least the search crawlers.
Should cookie banners hide content from crawlers?
Content should not be hidden behind consent. If the main content only loads via JavaScript after consent, AI crawlers see only the banner. The GDPR-compliant approach is to deliver non-personal content server-side and to limit consent management to tracking and non-essential cookies. That keeps the content visible without violating data protection.

How does your website perform?

Get a free, AI-powered SEO report of your website by email: technical SEO, on-page, keywords & competitors. No obligation.

Get a free SEO audit →

Or go straight to SEO Agency in Vienna