Free auditStart free
GlossaryGlossary · Crawling and indexing

Client-side rendering

Client-side rendering uses JavaScript in the browser to build a page. Learn what Google can render, common SEO failures, and how to test it.

3 min
read
3
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

Client-side rendering (CSR) generates page content in the browser with JavaScript, often from an initially sparse HTML shell. Google can render JavaScript, but it queues pages for rendering separately from crawling, and not all bots can run JavaScript. For public pages that need to be discovered, use crawlable URLs and links, return correct HTTP statuses, and verify the rendered HTML.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

What the browser renders

In CSR, the browser runs JavaScript to request or assemble the main content and then updates the page. This is common for app-like interfaces where users interact with live data. It is not an all-or-nothing choice: a site can render public content on the server and use client-side JavaScript for filters, menus, and other interactions.

Google Search processes JavaScript pages through crawling, rendering, and indexing. Google says it queues all pages with a 200 status code for rendering, unless a robots meta tag or header tells it not to index the page. A page may stay in that queue for a few seconds, but Google says it can take longer. Google also notes that server-side or pre-rendering is still a great idea because not all bots can run JavaScript.

02Worth knowing

SEO risks to test

The app shell is all the crawler gets

Some JavaScript sites use an app shell where the initial HTML does not contain the actual content, so Google must run JavaScript to see it. Other search engines may choose to ignore JavaScript. Check that your content appears in the HTML you expect each crawler to read.

Routes exist only as fragments

Google says it can only discover links that are <a> elements with an href attribute. Use the History API for client-side navigation instead of #/page fragments, which Googlebot can't reliably resolve.

A missing route returns `200`

A client-rendered error screen can become a soft 404. Google's two documented fixes for single-page apps are a JavaScript redirect to a URL where the server responds with a 404, or adding <meta name="robots" content="noindex"> to error pages with JavaScript.

Resources are blocked

Google Search won't render JavaScript from files or pages blocked by robots.txt.

Metadata changes only after rendering

You can use JavaScript to set the title and meta description. For canonicals, Google says to use HTML if you can; if you use JavaScript, set the same value as the original HTML. Don't ship noindex in the initial HTML if you want the page indexed, because Google may skip rendering for it.

03How it works

Verify what gets indexed

  1. 01

    Check the initial response

    Run curl -sS -D - https://example.com/product -o /tmp/product.html. Inspect the response code, page title, canonical, robots rules, and whether the HTML includes useful content.

  2. 02

    Inspect a live render

    Google's JavaScript guide names the URL Inspection Tool and the Rich Results Test for viewing the rendered HTML. Confirm that main text and navigation links are in it.

  3. 03

    Test internal links

    Make sure each important destination uses an <a> element with an href, and that the destination works when opened directly in a new tab.

  4. 04

    Test a nonexistent route

    Request a made-up route and check that it does not return a 200 page that only displays “not found” after JavaScript runs, unless you apply one of the fixes above.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  • mozilla.org
  1. 01Understand the JavaScript SEO basicsdevelopers.google.com · checked 2026-10-24
  2. 02Dynamic rendering as a workarounddevelopers.google.com · checked 2026-10-24
  3. 03Client-side rendering (CSR)developer.mozilla.org · checked 2026-10-24
Questions

Asked a lot.

2 questions people ask next, answered from the sources on this page.

01Can Google index client-rendered content?

Google can render JavaScript and use the rendered HTML for indexing, but rendering is a separate queued stage and Google notes some pages may have content that doesn't show up in the rendered HTML. Check the rendered HTML in the URL Inspection Tool instead of assuming the browser output matches Google's view.

02Is client-side rendering bad for SEO?

Not automatically. The risk is whether important pages, content, links, metadata, and error statuses remain discoverable and render correctly for the crawlers you care about.

Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly