# Rendered HTML

> Rendered HTML is the page code after JavaScript has run. See how it differs from the raw response, why Google indexes it, and how to compare the two.

Canonical: https://scaplet.com/glossary/rendered-html

Glossary Glossary · Crawling and indexing

Rendered HTML is the page code after JavaScript has run. See how it differs from the raw response, why Google indexes it, and how to compare the two.

3 min

read

3

sources

Oct 29, 2026

updated

Scaplet Editorial Team

author

In one line

Rendered HTML is the page's HTML after a browser engine has executed its JavaScript, as opposed to the raw HTML your server first returns. Google says it uses the rendered HTML to index a page, and that it can only see content that is visible in it. If your key content or links exist only after scripts run, they depend on that rendering step.

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%2Frendered-html%20(%22Rendered%20HTML%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%2Frendered-html%20(%22Rendered%20HTML%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%2Frendered-html%20(%22Rendered%20HTML%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%2Frendered-html%20(%22Rendered%20HTML%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

## At a glance

3 facts from the sources below

The rendered HTML

Which HTML Google indexes

All pages with a 200 HTTP status code

Pages queued for rendering

<a> elements with an href attribute

Links Google can discover

_01_At a glance

## Raw versus rendered, side by side

Take a page built as a client-side app. The server sends a shell, the browser runs the script, and the script fills the shell. Both versions are "the HTML", but only the second contains the article.

Item

### Heading and body text

In the raw HTML

Missing

In the rendered HTML

Present

Item

### Link to /desks/oak

In the raw HTML

Missing

In the rendered HTML

Present as an <a> with an href

Item

### The script tag

In the raw HTML

Present

In the rendered HTML

Present

Raw response (what curl returns)

```
<body> <div id="app"></div> <script src="/bundle.js"></script> </body>
```

Rendered HTML (after the script runs)

```
<body> <div id="app"> <h1>Standing desks compared</h1> <p>We tested six models...</p> <a href="/desks/oak">Oak desk</a> </div> <script src="/bundle.js"></script> </body>
```

_02_Checklist

## How Google uses it

First_2_
Google processes JavaScript web apps in three main phases: crawling, [rendering](/glossary/rendering) and indexing.

[Googlebot](/ai-crawlers/googlebot) queues all pages with a 200 HTTP [status code](/glossary/http-status-codes) for rendering, even when a page has no JavaScript.

Next_2_
Once Google's resources allow, a headless Chromium renders the page and executes the JavaScript.

Google also uses the rendered HTML to index the page.

Then_1_
Google can only discover your links if they are <a> HTML elements with an href attribute.

**Raw-HTML directives can win before rendering**Google says a [noindex](/glossary/noindex) in the original HTML can cause it to skip rendering, so JavaScript that removes the tag later may never run. Put indexing directives in the raw response, and do not rely on a script to change them.

_03_How it works

## Compare the two in 2 minutes

1. 1

### Count the raw matches

A result of 0 means the phrase only appears after scripts run. A result of 1 or more means it is in the server response.
2. 2

### Inspect the URL

In [Search Console](/glossary/google-search-console), paste the URL into the inspection bar. Google's help says to click Test live URL, then View tested page, to see the HTML, HTTP headers, JavaScript console output and page resources.
3. 3

### Look at the screenshot

In the same live test, open the Screenshot tab to see the rendered page. It is available only for a live test with a successful result.
4. 4

### Search the HTML for your text and links

Confirm your headline, body text and internal links appear. Google says it can only see content that is visible in the rendered HTML.

Is a phrase from your page in the raw HTML?

```
curl -s https://example.com/page | grep -c "Standing desks compared"
```

Google also recommends the Rich Results Test or the URL Inspection tool for testing, and lists loaded resources, JavaScript console output and the rendered DOM as what to review. For the wider topic, see [rendering](/glossary/rendering) and [JavaScript SEO](/glossary/javascript-seo).

_04_Your call

## When the raw response should carry the content

If this fits

### Rely on rendering if

- The content is a secondary widget, not the page's main answer.
- Your live test shows the content and links in the rendered output.
- You only need Google, which documents rendering.

Or

### Put it in the raw HTML if

- The text, title or links are the reason the page exists.
- You set noindex, canonical or other directives that must be read before rendering.
- You want the page to work for clients that do not run JavaScript.

Server-side rendering and static generation both return finished HTML in the first response. See [server-side rendering](/glossary/server-side-rendering) for the trade-offs.

Sources · 3

## Every fact, linked and dated.

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

- google.com

1. 01 [Understand JavaScript SEO basics (Google Search Central)](https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics) developers.google.com · checked 2026-11-01
2. 02 [URL Inspection tool (Search Console Help)](https://support.google.com/webmasters/answer/9012289) support.google.com · checked 2026-11-01
3. 03 [Fix Search-related JavaScript problems (Google Search Central)](https://developers.google.com/search/docs/crawling-indexing/javascript/fix-search-javascript) developers.google.com · checked 2026-11-01

Questions

## Asked a lot.

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

_01_ What is the difference between raw HTML and rendered HTML?

Raw HTML is what the server returns. Rendered HTML is the result after a browser engine has executed the page's JavaScript and changed the document.

_02_ Does Google index the raw or the rendered HTML?

Google says it also uses the rendered HTML to index the page. Pages with a 200 status code are queued for rendering.

_03_ How do I view the rendered HTML Google sees?

Use the URL Inspection tool's live test and open View tested page, or use the Rich Results Test. Google lists both in its JavaScript troubleshooting guidance.

## Keep learning

[All glossary](/glossary)

[Learn Rendering Crawling and indexing](/glossary/rendering) [Related URL Inspection tool Crawling and indexing](/glossary/url-inspection-tool) [Read next Dynamic rendering Rendering](/glossary/dynamic-rendering) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Render-blocking](/glossary/render-blocking) [Reporting identity](/glossary/reporting-identity)

More in Crawling and indexing
[JavaScript SEO](/glossary/javascript-seo) [lastmod](/glossary/lastmod) [Load more button](/glossary/load-more) [Log file analysis](/glossary/log-file-analysis) [Meta refresh](/glossary/meta-refresh) [Nofollow](/glossary/nofollow) [noimageindex](/glossary/noimageindex) [Noindex](/glossary/noindex) [Orphan page](/glossary/orphan-page) [Page indexing report](/glossary/page-indexing-report) [Pagination](/glossary/pagination) [Removals tool (Search Console)](/glossary/removals-tool) [Rendered HTML](/glossary/rendered-html) [Rendering](/glossary/rendering) [Robots meta tag](/glossary/robots-meta-tag) [Server-side rendering](/glossary/server-side-rendering) [Sitemaps report](/glossary/sitemaps-report) [SPA SEO](/glossary/spa-seo) [SSL certificate](/glossary/ssl-certificate) [SSR vs CSR](/glossary/ssr-vs-csr) [Subdomain vs subdirectory](/glossary/subdomain-vs-subdirectory) [Trailing slash in URLs](/glossary/trailing-slash) [unavailable_after](/glossary/unavailable-after) [URL fragment](/glossary/url-fragment)

Terms on this page
[Rendering](/glossary/rendering) [HTTP status codes](/glossary/http-status-codes) [Noindex](/glossary/noindex) [Google Search Console](/glossary/google-search-console) [JavaScript SEO](/glossary/javascript-seo) [Server-side rendering](/glossary/server-side-rendering)

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
