Your product listing renders perfectly in Chrome, the price and reviews load from an API and the page looks finished. Then you open Search Console, and the snippet Google shows has none of that content. So does Google crawl JavaScript at all? It does. Google crawls, renders and indexes JavaScript pages, and in a study by Vercel and MERJ it rendered every HTML page with a 200 status that it fetched on nextjs.org, more than 100,000 Googlebot fetches in total.

The useful question for 2026 sits one level deeper: under which conditions does content that JavaScript builds actually reach the index? A noindex in the raw HTML, a blocked API endpoint, a 3MB bundle or a component that throws an error can each leave Google with a page that differs from what your users see. This guide walks through how Googlebot processes JavaScript, where it breaks and how to check your own site with a crawl, a URL test and server logs, including in a JavaScript SEO crawler built for large sites.

TL;DR

  • Google renders JavaScript with an evergreen version of Chromium, and every crawled HTML page with a 200 status goes to rendering. Whether Google reads JavaScript is settled; whether it gets the same content as your users is the real check.
  • Most renders happen fast. On nextjs.org the median delay between crawl and render was 10 seconds, while the slowest 10% of pages waited about 3 hours or longer.
  • A noindex in the initial HTML can stop rendering, so a script that removes the tag later may never get a chance to run.
  • Googlebot fetches only the first 2MB of an HTML file and of every JavaScript or CSS file it loads, measured on uncompressed data, and whatever comes after that limit is ignored.
  • Most AI crawlers, including GPTBot, ClaudeBot and PerplexityBot, do not execute JavaScript, so content that exists only after rendering is invisible to them.

Does Google Crawl JavaScript?

Yes. Google crawls JavaScript pages, runs the scripts in a headless browser and indexes the rendered result. The ability grew in stages. Until 2009 content created by JavaScript was mostly invisible to Google, and from 2009 to 2015 sites used the AJAX crawling scheme, which asked them to serve pre-rendered HTML snapshots. From 2015 Google rendered pages with headless Chrome, though with an outdated browser version, and since 2018 it has used an up-to-date Chrome. The Vercel and MERJ study lays out this timeline, and Google’s JavaScript SEO documentation today states that Search “runs JavaScript with an evergreen version of Chromium”.

So when someone asks “does Google read JavaScript?”, the short answer is yes. The long answer depends on what your JavaScript needs in order to run and how big the files are.

How Googlebot Processes JavaScript: Crawl, Render, Index

Google describes three phases for JavaScript web apps: crawling, rendering and indexing. Each one has its own failure points, and a page can pass the first two and still lose content in the third.

Each stage has its own failure points: a block at crawl, a failed render or a signal in the raw HTML can stop the page before indexing.

Crawling: Fetching HTML and Discovering Links

Googlebot takes a URL from its crawl queue and first checks robots.txt. If the URL is disallowed, Google skips the request entirely. If it is allowed, Googlebot fetches the HTML, parses it for links in <a href> elements and adds new URLs to the crawl queue. Google’s documentation is clear that it can only discover links that are <a> elements with an href attribute, so a div with an onclick handler leads nowhere.

Google can also pick up URLs that never appear as links. The Vercel and MERJ study found that Googlebot discovered URL-like strings inside non-rendered JavaScript payloads, such as React Server Components data, and resolved relative paths against the current host. It did not decode a URL-encoded link, which suggests the parsing is strict. Crawl priority stayed the same whether a link came from HTML or from a payload.

Rendering: The Web Rendering Service and the Render Queue

After crawling, the page goes to the render queue. When resources allow, the Web Rendering Service (WRS) loads the page in headless Chromium, executes the JavaScript and builds the rendered DOM. Google says a page “may stay on this queue for a few seconds, but it can take longer than that”.

The Vercel and MERJ data puts numbers on that sentence for one site. Across more than 37,000 rendered pages on nextjs.org, the 25th percentile rendered within 4 seconds and the median within 10 seconds. The tail is long: the 90th percentile waited about 3 hours, the 95th about 6 hours and the 99th about 18 hours. URLs with query strings waited longer, with a 75th percentile of 31 minutes against 22 seconds for clean URLs.

Render delay on nextjs.org in April 2024: most pages render in seconds, while the slowest 1% wait about 18 hours.

Treat these numbers as one well-built site’s data rather than a rule for every domain. Nextjs.org is fast, popular and frequently updated, and frequently updated sections such as its /docs pages rendered sooner than static ones. A large catalog with millions of filter URLs can see a very different distribution.

Indexing: What Google Takes From the Rendered Page

Google indexes the rendered DOM, so content that JavaScript adds is eligible for the index as long as the render succeeds. Links found after rendering go back to the crawl queue. The Vercel and MERJ study also notes that the value of a link is assessed after full rendering, separately from the moment the URL was first discovered.

This explains a common pattern on client-side rendered sites. Google discovers a product URL quickly from the sitemap, but the internal links that tell Google how important that product is only show up after the category page renders.

What Googlebot Does and Doesn’t Do When Rendering

Googlebot renders like a browser, but like a browser with no user in front of it. The table below sums up the behaviors that most often surprise JavaScript teams.

BehaviorWhat it means for JavaScript sites
Stateless renderingWRS “does not retain state across page loads”: cookies, Local Storage and Session Storage are cleared, so content gated by a stored state is missing.
No clicks or user interactionGoogle Search does not interact with the page, so tabs, “load more” buttons and accordions that fetch content on click stay empty.
Lazy-loaded contentContent must load when it is visible in the viewport, for example with IntersectionObserver, and infinite scroll needs a separate URL for every chunk.
Own caching rulesGooglebot caches aggressively and WRS may ignore Cache-Control headers, so use fingerprinted file names (main.2bb85551.js) when you ship updates.
2MB limit per resourceGooglebot fetches the first 2MB of the HTML and of every CSS and JavaScript file separately; anything past the limit is ignored.
Resources blocked by robots.txtDisallowed scripts, styles or API endpoints are never fetched, and the page renders without them.
Noindex or error status codesPages with noindex in the raw HTML or a non-200 status may skip rendering, so JavaScript never runs on them.

The lazy-loading row comes from Google’s lazy-loading guidance, the state and caching rows from its JavaScript troubleshooting page, and the size limit from the Googlebot documentation, updated in February 2026.

Why Google Might Not Index Your JavaScript Content

When the process of Google crawling JavaScript goes wrong, the cause is rarely that Google “can’t read JavaScript”. The page usually gets rendered, but with missing pieces, or it never reaches the renderer at all. Below are five common causes, and several of them are described in Google’s own troubleshooting guidance.

Blocked or Failing Resources

A robots.txt rule written years ago to save crawl budget can block the very files a page needs today. If /static/js/ or /api/ is disallowed, Googlebot never requests those files, and the rendered page comes out empty or half built. The same happens when an API request fails, returns a 500 or takes too long: the component that depends on it renders nothing, and Google indexes the gap.

Failing requests are hard to spot from a single page, because one product page may load fine while a whole template quietly fails. A site-wide view of JavaScript requests shows load time and size for every script and API call across crawled pages, plus the requests blocked by robots.txt, so a blocked bundle on 40,000 product pages shows up as one row rather than 40,000 mysteries.

Want to see which scripts and API calls slow down or block rendering on your own templates?

Book a Demo

Signals in the Initial HTML That Override Rendering

Some decisions happen before rendering starts. If Google finds a noindex in the robots meta tag of the raw HTML, Google’s documentation says it “may skip rendering and JavaScript execution”. On nextjs.org, pages with noindex in the initial HTML were never rendered. A common pattern breaks here: the server ships noindex by default and a script removes it once the content loads. Google may never run that script, so the page can stay out of the index.

A noindex in the raw HTML can stop rendering, so a script that removes it may never run for Google.

Canonicals cause a quieter version of the same problem. If the raw HTML points to one canonical URL and JavaScript changes it to another, Google receives two conflicting signals. Google’s advice is to set the canonical to the same value in both versions, because “conflicting or multiple rel=”canonical” link tags may lead to unexpected results”. The same logic applies to titles, meta robots and hreflang: keep them in the initial HTML and keep them identical after rendering.

Content That Needs Interaction or State

Anything that appears only after a click, a scroll, a cookie or a login is missing from the rendered page. Every render starts in a fresh browser session, Google generally does not click tabs or cookie banners, and permission requests such as geolocation are declined. A product description hidden behind a “Read more” button that fetches text on click, reviews loaded after the user accepts cookies or prices shown only to logged-in users all stay invisible to Google.

The fix is to put the content in the DOM on load and use CSS or JavaScript only to show or hide it. Content that is present but collapsed gets rendered, while content that is fetched on click does not.

Oversized HTML and JavaScript Files

Since February 2026 the Googlebot documentation states the limit plainly: Googlebot “crawls the first 2MB of a supported file type”, and each resource referenced in the HTML is fetched separately under the same limit. The limit is applied to uncompressed data, so a bundle that looks small after gzip or Brotli compression can still go past 2MB for Googlebot. After 2MB, the download stops and only the part already fetched goes to indexing. The documentation doesn’t describe any warning when a file is cut off, so check uncompressed file sizes on your side.

For most HTML pages 2MB is plenty. The risk sits in two places: pages with large inline JSON state, such as a category page that embeds data for 500 products, and single JavaScript bundles that grow past 2MB. If the part of the bundle that renders the main content sits after the cut, the render fails or comes out partial. Code splitting keeps every file well under the limit, and it makes the site faster for users too.

JavaScript Errors During Rendering

An uncaught error can stop the rest of a script from running. In a single-page application one failing component, such as a reviews widget that expects a browser API Googlebot does not support, can leave the whole route blank. Google’s troubleshooting guide recommends feature detection with fallbacks for APIs that not every user agent supports, and logging errors with a global onerror handler, although parse errors cannot be caught that way.

Errors that only Googlebot hits are the hardest to reproduce, because your browser has cookies, permissions and a warm cache that the WRS does not. That is why a crawl with JavaScript rendering, which also starts from a clean session, catches them more reliably than manual testing.

JavaScript SEO Myths vs. Evidence

Many beliefs about Google and JavaScript formed when Google rendered with an outdated Chrome and a long second wave of indexing. Here is how three of them hold up against the Vercel and MERJ data from April 2024.

“Google renders JavaScript days later.” On nextjs.org the median render delay was 10 seconds and even the 99th percentile stayed around 18 hours. A render queue exists, and long delays happen, but they are the exception. Sites with millions of low-value URLs, slow servers or heavy query strings will sit further out in the tail.

“JavaScript pages are discovered more slowly.” This one is largely false. Client-side rendered pages need rendering before their links appear, so server-rendered pages have a small head start, but an updated XML sitemap with accurate lastmod dates closes most of that gap.

“Google treats JavaScript pages differently.” The study found no separate process and no meaningful difference in rendering success or delay between pages with more or less JavaScript on nextjs.org. Complexity can still hurt crawl efficiency on very large sites, where every extra request competes for the same crawl budget.

Why do other studies show different numbers? They measure different sites, different periods and different methods. In a Search Engine Land experiment published in August 2026, run on a new site of about 2,400 pages with no external links, Googlebot reached only 2% of the pages linked through JavaScript and 5% of those linked in plain HTML within 27 days, and Google’s crawlers discovered JavaScript-linked pages 18% to 27% later than HTML-linked ones. A young domain with almost no crawl budget and a fast, popular documentation site like nextjs.org both report real data, and neither describes your domain. The only numbers that apply to you come from your own logs.

Google vs. Other Crawlers: Who Renders JavaScript

Google is the most capable renderer, though it shares that ability with only a few other crawlers. Bingbot renders pages with Microsoft Edge, and according to the official Bing post it is evergreen, because Bing committed to regularly update its rendering engine to the most recent stable version of Microsoft Edge. Applebot also renders pages in a browser.

Most AI crawlers do not. Vercel’s analysis of AI crawler traffic from December 2024 found that none of the major AI crawlers render JavaScript, including OpenAI’s GPTBot, Anthropic’s ClaudeBot and PerplexityBot. GPTBot and ClaudeBot download JavaScript files but never execute them. A 2026 review of 39 AI crawlers by searchVIU reaches the same conclusion for GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot and ChatGPT-User, while Gemini benefits from Google’s rendering infrastructure.

Search engines render JavaScript, while most AI crawlers read only the initial HTML.

Google-Extended often gets confused with a crawler. According to Google’s list of common crawlers, it “doesn’t have a separate HTTP request user agent string”: it is a robots.txt token that controls whether content crawled by existing Google user agents can be used for Gemini models. Blocking it changes nothing about how Googlebot renders your pages.

For AI search visibility the takeaway is direct: whatever matters for citations, such as product names, prices, specs and answers, has to be in the initial HTML. Our guide to AI crawlability covers this in more depth.

How to Check How Google Crawls Your JavaScript Pages

No single tool shows the whole picture. A URL test shows one page at one moment, a crawl with and without JavaScript shows every template and server logs show what Googlebot actually requested over time. You need all three.

URL Inspection and Its Limits

The live test in Search Console’s URL Inspection tool fetches the page with Google-InspectionTool, renders it and shows the screenshot, the HTML, the JavaScript console messages and the page resources that failed to load. It is the fastest way to confirm whether a specific URL renders.

It has limits worth knowing. The live test is a separate fetch from the version Google indexed, so a page can pass today and still sit in the index with yesterday’s broken render. Google states that no test “can guarantee whether your page will be included in the Google index”. The tool also checks one URL at a time, which says little about a template used by 200,000 pages.

Crawling the Site With and Without JavaScript Rendering

A site-wide crawl with JavaScript rendering compares the raw HTML with the rendered DOM for every page and groups the differences by template. The checks that matter most are main content and word count, titles and meta descriptions, canonicals, meta robots and internal links. If the rendered version of a category page has 60 product links and the raw version has none, Google has to render before it can discover those products. For a single URL, Compare JS vs non-JS shows both versions side by side. The step-by-step process is in our guide to check JS website with JetOctopus.

The Content change by JavaScript report goes one step further. It lists pages where content, titles, meta descriptions, canonicals or meta robots change after rendering and flags pages where server-side rendering is probably broken, for example when the raw HTML of a Next.js page suddenly arrives as an empty shell.

Find out which templates change after rendering and where SSR quietly broke.

Reading Googlebot’s JavaScript Requests in Server Logs

A crawl shows what Google could get. Server logs show what it did get. With a log analyzer, filter verified Googlebot requests and check two things. First, does Googlebot request the AJAX and API URLs your pages depend on? If the product API gets thousands of Googlebot hits a day and the reviews endpoint gets none, the reviews are probably missing from the rendered pages. Second, does the HTML Googlebot receives stay complete over time? A deployment that breaks SSR for a few days often shows up as a drop in response size before it shows up in rankings.

That second check is exactly what the Rendering Issues report in Logs automates. It flags URLs where the HTML Googlebot received was much lighter than usual and shows the number of broken days and the last broken date for each, so you can match a rendering failure to the release that caused it.

Making JavaScript Pages Easy for Google to Render

So, can Google crawl JavaScript on your site? Probably yes. The work is making sure it gets the same page as your users, every time, on every template. Six habits cover most of it:

  • Put critical content and SEO tags (title, meta robots, canonical, hreflang, structured data for products) in the initial HTML.
  • Keep scripts, styles and API endpoints open in robots.txt.
  • Split bundles so no single JavaScript file comes close to 2MB uncompressed.
  • Use real <a href> links for navigation, pagination and filters you want crawled.
  • Keep the XML sitemap updated with accurate lastmod dates.
  • Monitor rendering continuously, because SSR rarely breaks on the day you test it.

Recurring crawls with JavaScript rendering, together with server log monitoring, show the moment Google stops getting what users see. JetOctopus is a cloud-based technical SEO platform built for large websites, e-commerce catalogs and the agencies that manage them, and it joins crawl, logs and Search Console data on one URL to make that check routine.

FAQ

How often does Google re-render a JavaScript page?

Google does not publish a re-render schedule. Pages are rendered again when they are recrawled, so frequently updated and well-linked sections are re-rendered more often. On nextjs.org, the regularly updated /docs section had shorter render delays than more static sections.

Does Google follow JavaScript redirects?

Google processes JavaScript redirects during rendering, so it can only see them if the render succeeds. Google’s redirects guide recommends using them only if server-side or meta refresh redirects are not possible, because “Google might never see it if rendering of the content failed”.

Does Google use structured data added with JavaScript?

Yes. Google can process structured data in the rendered DOM and recommends testing it with the URL input of the Rich Results Test. For Product markup, dynamically generated markup can make Shopping crawls less frequent and less reliable, so keep price and availability in the initial HTML.

Does Google index JavaScript files as pages?

JavaScript files are not on Google’s list of indexable file types. Googlebot fetches them as resources to render your pages, and those fetches show up in your server logs, but the files themselves are not meant to appear as search results.

Can Google see content inside Shadow DOM and web components?

Yes. When Google renders a page, it flattens the shadow DOM and light DOM content, so text inside web components is indexed as long as it is visible in the rendered HTML. Check the rendered HTML in URL Inspection to confirm that the content appears.

See the days when Googlebot got a broken page, before rankings show it.