Free auditStart free
GlossaryGlossary · Crawling and indexing

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.

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 withChatGPTClaudePerplexityGoogleAI Mode

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
01At 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>
02Checklist

How Google uses it

First2
Google processes JavaScript web apps in three main phases: crawling, rendering and indexing.
Googlebot queues all pages with a 200 HTTP status code for rendering, even when a page has no JavaScript.
Next2
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.
Then1
Google can only discover your links if they are <a> HTML elements with an href attribute.
03How 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, 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 and JavaScript SEO.

04Your 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 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. 01Understand JavaScript SEO basics (Google Search Central)developers.google.com · checked 2026-11-01
  2. 02URL Inspection tool (Search Console Help)support.google.com · checked 2026-11-01
  3. 03Fix Search-related JavaScript problems (Google Search Central)developers.google.com · checked 2026-11-01
Questions

Asked a lot.

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

01What 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.

02Does 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.

03How 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.

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