Rendering: how JavaScript rendering affects SEO
JavaScript rendering is the crawl stage where Google's Web Rendering Service (WRS) runs a page's JavaScript in a headless Chromium, and Google indexes what the rendered page shows. Google may miss content that appears only after a click or needs a file it can't fetch.
“If the content isn't visible in the rendered HTML, Google won't be able to index it.”
Googlebot downloads the HTML.
Server logs: the request for the page.
Googlebot passes the HTML to the Web Rendering Service (WRS), and the page waits in the render queue.
No trace. Google says the wait can be “a few seconds, but it can take longer than that”.
The WRS fetches the page's CSS, JavaScript and XHR files, using Googlebot.
Server logs: Googlebot requests for those files. Crawl Stats: Googlebot type “Page resource load”.
The WRS builds the page as a browser would.
URL Inspection, live test: the rendered HTML and a screenshot.
The rendered HTML goes on to indexing, and links found in it go back to the crawl queue. Next: how Google indexes pages.
What Google says happens
Google renders a page by running its JavaScript in a headless Chromium when the page's turn in the render queue comes, then it indexes what the rendered page shows. The page arrives from fetching, the stage before this one: see how Googlebot works when it fetches a page.
“Googlebot queues all pages with a 200 HTTP status code for rendering, unless a robots meta tag or header tells Google not to index the page.”
Yes, Google renders JavaScript. Google's documentation log says “Google Search has been rendering JavaScript for multiple years now, so using JavaScript to load content is not ‘making it harder for Google Search’” (documentation updates). Three conditions have to hold before JavaScript content can reach Google's index: the page returns 200, the files it needs are fetchable, and the content appears without a click.
Google's own documents file rendering in two places. The main guide puts it inside crawling (“During the crawl, Google renders the page”), while the JavaScript guide gives it a phase and a queue of its own. They describe the same work. We follow the JavaScript guide, because the queue is where your page waits.
The Web Rendering Service (WRS) is Google's renderer: it fetches the CSS, JavaScript and XHR files a page needs, as Googlebot, and “constructs the page using all the downloaded resources as a user's browser would” (Crawling December).
- Runs the JavaScript
- In a headless Chromium, “once Google's resources allow”.Understand JavaScript SEO basics
- Fetches what the page needs
- CSS, JavaScript and XHR files, requested as Googlebot.Crawling December; Inside Googlebot
- Keeps those files
- For up to
30 days, and it “may ignore caching headers”.Crawling December; Understand JavaScript SEO basics - Size limit
2MBfor each file it fetches, counted separately per file.Inside Googlebot; Googlebot- Keeps no state
- It clears local storage and session data between requests.Inside Googlebot
- Skips pages
- Rendering “might be skipped” for a non-
200status, and a noindex means Google “may skip rendering”.Understand JavaScript SEO basics - Images and video
- Google disagrees with itself. Inside Googlebot says rendering “doesn't request images or videos”; the Crawl Stats help says resource loads include “important linked resources such as images or CSS files”. Your logs settle it for your site.Inside Googlebot; Crawl Stats report
Rendering also spends crawl budget. In Google's Crawling December post, “Crawling the resources needed to render a page will chip away from the crawl budget of the hostname that's hosting the resource”, and the 30-day cache “helps preserve the site's crawl budget for other crawl tasks”.
How long rendering takes, by Google's estimates
Google's estimate for rendering is “seconds to render, hours in the queue”, and days to weeks at the slowest. The wait comes on top of the crawl, because, in ROAST's note of Gary Illyes's caveat, “delays stack up”.
How long it takes to index: the rendering row
Rendering
- Typical
- Seconds to render, hours in the queue
- Slowest
- Days to weeks
| Process | Typical | Slowest |
|---|---|---|
| Rendering | Seconds to render, hours in the queue | Days to weeks |
What you can see in your logs and Search Console
Rendering leaves three traces you can check: Googlebot requests for your CSS, JavaScript and XHR files in your server logs, “Page resource load” in the Crawl Stats report, and the rendered HTML in URL Inspection.
In your server logs
Render fetches arrive in your server logs as ordinary Googlebot requests, because “Using Googlebot, WRS downloads the resources referenced in the original data” (Crawling December). Look for them after the request for the HTML. They can come seconds or hours later, and some never come, because the WRS reuses files it fetched in the last 30 days. Google calls raw access logs “the best source to analyze what resources Google is crawling”.
66.249.66.1 - - [28/Nov/2026:06:14:02 +0000] "GET /products/ HTTP/1.1" 200 - "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"66.249.66.1 - - [28/Nov/2026:06:52:40 +0000] "GET /assets/app.3f9c1e.js HTTP/1.1" 200 - "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"66.249.66.1 - - [28/Nov/2026:06:52:41 +0000] "GET /api/products?page=1 HTTP/1.1" 200 - "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
Check the IP before you count render fetches, because Google warns: “The HTTP user agent string can be spoofed” (Google's common crawlers). Fetching sets out how to verify that it really is Googlebot.
If you'd rather someone else read the logs, Andy's Log File Audit shows what Googlebot actually requests, where it wastes time and what it never reaches.
In Search Console
In the Crawl Stats report, group requests by Googlebot type and open “Page resource load”, which Google describes as “a secondary fetch for resources used by your page”. The same report also breaks requests down by file type, including JavaScript, CSS and JSON.
In the URL Inspection tool, run a live test to see a screenshot and the rendered HTML; Google says the screenshot “is available only in a live test”. “View crawled page”, then “More info”, lists the resources that loaded and the JavaScript console output. The live test fetches the page as Google-InspectionTool at the moment you run it.
What goes wrong
Six rendering failures appear in Google's documentation, and each one leaves the rendered page different from the page you meant Google to index.
Rendering files blocked in robots.txt
A disallowed CSS or JavaScript file never reaches the renderer. “If WRS cannot fetch a rendering-critical resource, Google Search may have trouble extracting content of the page and allowing the page to rank in Search.” (Crawling December)A canonical that JavaScript changes
Google asks you not to “use JavaScript to change the canonical URL to something else than the URL you specified as the canonical URL in the original HTML” (JavaScript SEO basics). Canonicalisation runs before and after rendering, so a change sends two answers (Documentation updates).A noindex that JavaScript removes
The script may never run: “When Google encounters the noindex tag, it may skip rendering and JavaScript execution”. Remove a noindex on the server (JavaScript SEO basics).Old scripts after a deploy
The WRS keeps files for up to 30 days and “may ignore caching headers”, so Google can render new HTML with last month's JavaScript. Google's fix is a fingerprint in the file name, such asapp.3f9c1e.js(JavaScript SEO basics).Content behind a click or a stored setting
The WRS clears local storage and session data between requests (Inside Googlebot). Content that needs a login, a saved choice or a click may never render for Google.Soft 404s in single-page apps
A single-page app that shows “not found” while the server returns200creates a soft 404: an error page with a success status, listed in the Page indexing report as “Soft 404”. Google's fix sits in its JavaScript guide under “Avoid soft 404 errors in single-page apps” (JavaScript SEO basics).
How SEO Deep Audit checks it
SEO Deep Audit renders about 25 template pages per site in headless Chrome and compares each one with the raw HTML its crawler fetched, so you can see what JavaScript added, changed or removed.
- Head tags
- Title, meta description, canonical, robots meta, hreflang and og:url added, changed or removed by JavaScript. A noindex found only in the original HTML is named as such.Raw versus rendered, about 25 template pages
- H1 and markup
- The H1 and the structured data types, before and after rendering.Raw versus rendered, about 25 template pages
- Links
- Internal links that exist only after rendering, raised in priority when they are more than 20% of a page's internal links.Raw versus rendered, about 25 template pages
- Content
- Main content that depends on JavaScript: a change of more than 50 words or 10%, whichever is larger, or raw HTML holding less than half the main content.Raw versus rendered, about 25 template pages
- Files
- robots.txt rules that block rendering files for Googlebot, and broken JavaScript or CSS files.Every crawled URL
The limits, plainly: it is untested on JavaScript-heavy sites. It renders a sample of pages, it doesn't click or scroll, and it doesn't record console errors. It renders as its own crawler, so URL Inspection remains the record of what Google itself saw.
What to do
Send the main content, internal links, title, canonical and robots meta tag in the HTML your server returns, keep the CSS and JavaScript files the renderer needs crawlable, and check one URL per template in URL Inspection's live test.
Server-side or client-side rendering?
Server-side rendering (SSR) or pre-rendering is the safer choice for SEO. Client-side rendering (CSR) reaches Google's index only after the render queue, and Google indexes only what appears in the rendered HTML. Google puts it this way:
“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.”
A checklist for each template
Run these six JavaScript rendering checks for each template:
- Allow the CSS, JavaScript and API URLs the page needs in robots.txt.
- Put the title, canonical and robots meta in the raw HTML, and don't let JavaScript change them.
- Fingerprint file names, so a deploy can't leave Google rendering a script up to 30 days old.
- Keep important content and links in the HTML, or make sure they render without a click or a stored setting.
- Return a real
404status for pages that don't exist, single-page apps included. - Run URL Inspection's live test on one URL per template and compare the rendered HTML with what you meant to send.
If your site leans on JavaScript, Andy can check it for you.
The listed price covers sites up to about 600 indexable pages, and JavaScript-heavy sites are quoted.