# 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.

Canonical: https://scaplet.com/glossary/client-side-rendering

Glossary Glossary · Crawling and indexing

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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fclient-side-rendering%20(%22Client-side%20rendering%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fclient-side-rendering%20(%22Client-side%20rendering%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fclient-side-rendering%20(%22Client-side%20rendering%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fclient-side-rendering%20(%22Client-side%20rendering%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 3 minutes.

1. [What the browser renders 01](#what-the-browser-renders)
2. [SEO risks to test 02](#seo-risks-to-test)
3. [Verify what gets indexed 03](#verify-what-gets-indexed)
4. [When to keep CSR and when to render earlier 04](#when-to-keep-csr-and-when-to-render-earlier)

_01_Explained

## 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](/glossary/rendering), and indexing. Google says it queues all pages with a `200` [status code](/glossary/http-status-codes) for rendering, unless a [robots meta tag](/glossary/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](/glossary/static-site-generation) is still a great idea because not all bots can run JavaScript.

_02_Worth 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](/ai-crawlers/googlebot) can't reliably resolve.

### A missing route returns `200`

A client-rendered error screen can become a [soft 404](/glossary/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.

_03_How 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.

_04_At a glance

## When to keep CSR and when to render earlier

Page

### Authenticated product dashboard

Practical choice

Client rendering is often appropriate

Why

The experience depends on user-specific state and is not a public search landing page

Page

### Public product or documentation page

Practical choice

SSR or pre-rendering is usually easier to verify

Why

Important text and links can be sent in the initial HTML. Google recommends server-side rendering, static rendering or hydration over dynamic rendering

Page

### Searchable catalog with changing inventory

Practical choice

Render core product details early; hydrate interactive controls

Why

Crawlers and users need a useful page while client behavior can handle filtering

Pick based on the page's job and the bots that need to read it. See [server-side rendering](/glossary/server-side-rendering) and the broader [JavaScript SEO](/glossary/javascript-seo) checklist.

Sources · 3

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com
- mozilla.org

1. 01 [Understand the JavaScript SEO basics](https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics) developers.google.com · checked 2026-10-24
2. 02 [Dynamic rendering as a workaround](https://developers.google.com/search/docs/crawling-indexing/javascript/dynamic-rendering) developers.google.com · checked 2026-10-24
3. 03 [Client-side rendering (CSR)](https://developer.mozilla.org/en-US/docs/Glossary/CSR) developer.mozilla.org · checked 2026-10-24

Questions

## Asked a lot.

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

_01_ Can 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.

_02_ Is 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.

## Keep learning

[All glossary](/glossary)

[Learn JavaScript SEO Crawling and indexing](/glossary/javascript-seo) [Related Soft 404 Crawling](/glossary/soft-404) [Read next Rendering Crawling and indexing](/glossary/rendering) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Churn rate](/glossary/churn-rate) [Click-through rate](/glossary/click-through-rate) [Cloaking](/glossary/cloaking) [Comment spam](/glossary/comment-spam)

More in Crawling and indexing
[X-Robots-Tag](/glossary/x-robots-tag) [XML sitemap](/glossary/xml-sitemap) [301 redirect](/glossary/301-redirect) [302 redirect](/glossary/302-redirect) [410 Gone](/glossary/410-gone) [A record (DNS address record)](/glossary/a-record) [Bing Webmaster Tools](/glossary/bing-webmaster-tools) [Bot management](/glossary/bot-management) [Broken links](/glossary/broken-links) [cache: search operator](/glossary/cache-search-operator) [Canonical HTTP header](/glossary/canonical-http-header) [Canonical URL](/glossary/canonical-url) [Client-side rendering](/glossary/client-side-rendering) [Crawl budget](/glossary/crawl-budget) [Crawl errors](/glossary/crawl-errors) [Crawl stats report](/glossary/crawl-stats-report) [Duplicate content](/glossary/duplicate-content) [Dynamic serving](/glossary/dynamic-serving) [ETag](/glossary/etag) [Google Indexing API](/glossary/google-indexing-api) [Google Search Console](/glossary/google-search-console) [HTML sitemap](/glossary/html-sitemap) [HTTP status codes](/glossary/http-status-codes) [HTTPS](/glossary/https)

Terms on this page
[Rendering](/glossary/rendering) [HTTP status codes](/glossary/http-status-codes) [Robots meta tag](/glossary/robots-meta-tag) [Static site generation](/glossary/static-site-generation) [Soft 404](/glossary/soft-404) [Server-side rendering](/glossary/server-side-rendering) [JavaScript SEO](/glossary/javascript-seo)

Free · 2 minutes

## Know the term. _Now check your site._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
