Skip to content

Technical pillar / check js-render-parity

JS render-parity diff (raw HTML vs rendered DOM)

We compare the HTML your server sends with what a browser shows after scripts run and flag content missing from that HTML. The larger the gap, the more urgent our finding, because crawlers that skip JavaScript cannot read that content.

By , Founder and CEO, Own The Climb · Last updated

This is how we check it

When a browser render succeeds, we compare it with the server HTML and score how much of the rendered page is already present. Every audit can render the starting page and a few empty JavaScript shell pages; paid plans can render a few more.

  • We compare a raw fetch with a successful browser render. We do not score the comparison when our browser render fails or gives us no usable text.
  • We raise the severity as more of the browser-visible content is missing from the server HTML, and we pass pages where the two are close.
  • High stays high for every industry, because text that appears only after scripts run is missing for every crawler that skips them.

Our reasoning behind this

In Vercel and MERJ’s December 2024 study, none of the major AI crawlers, including GPTBot, ClaudeBot and PerplexityBot, ran JavaScript. A page whose text is built in the browser can look complete to you and be nearly empty to them, so they cannot quote it or recommend you.

How we would fix it on your site

  1. Render your main content on the server, or build the pages ahead of time, and keep scripts for interaction.
  2. Fetch the page without JavaScript, for example with curl, and look for your headings and first paragraph.
  3. Fix the template that builds the affected pages.

Once your change is live, run the audit again and review the new findings alongside the pages it covered.

What we want you to review

  • Check the initial HTML of a Next.js page; text fetched only after hydration can leave the response nearly empty.
  • Render primary content on the server when a useEffect fetch would otherwise load it only in the browser.
  • Provide a server-readable fallback for important text in a third-party chat, IDX or configurator widget.
  • Googlebot’s ability to render JavaScript does not establish that an AI crawler will execute the same scripts.

The exact rules our audit applies

We wrote this part for your developer or your SEO specialist. It sets out the inputs, scoring rules and confidence limits we publish for this check, together with the full explanation of how we would fix a finding.

The inputs we describe for this check

On each page the audit renders in a browser (the homepage on every audit, a few pages whose HTML is an almost empty JavaScript shell on every plan, and on paid plans a few more pages that look built by scripts), the check compares two reads of the page: the lightweight HTML fetch, which runs no JavaScript, as GPTBot, ClaudeBot and PerplexityBot read it, and a headless Chromium render, which runs it, as Googlebot does.

It measures, in one direction, how much of what the browser shows is already in the raw HTML: the raw text length against the rendered text length (capped once the raw HTML holds as much), the share of the rendered page's five-word runs that also appear in the raw HTML, and how many of the rendered H1 to H3 headings the raw HTML lacks.

The three combine into one render-parity score from 0 to 100. Text that JavaScript removes or hides does not lower the score, because crawlers that read the raw HTML still have it.

Our full reasoning

Vercel and MERJ’s December 2024 study observed that the major AI crawlers it examined did not run JavaScript. Google documents JavaScript rendering for Googlebot and recommends server-side or pre-rendering because other bots may not run scripts. We use the comparison to show how much visible content depends on JavaScript; it does not reproduce every search engine’s fetching behavior or prove why an answer cited a page.

How we score what we find

We report a HIGH finding when a large share of the browser-visible content is missing from the HTML, a MEDIUM finding for a smaller gap, and a pass when the two are close. A HIGH finding stays HIGH whichever industry you pick, because text that only appears after scripts run is missing for every crawler that skips them.

How sure we are of each result

HIGH when we read both the HTML and a browser render with text and compared them. When there is no render to compare, the finding is not measured, does not count toward the score, and says why: the audit read the HTML only, our browser could not render the page, our browser rendered the page and it showed no text, or neither version has any text.

A render with fewer than 3 words counts as showing no text. A blank render is never scored: it is usually a failure on our side, and it can also mean visitors see a blank page, so the finding asks you to open the page in a browser to check.

How to fix it, in full

Move primary content out of client components and into Server Components, static export, or per-page getStaticProps / generateStaticParams. For Next.js App Router, prefer the default Server Component behavior and reserve client components for interactive islands (forms, modals, drawers). Verify with a curl that does not execute JavaScript ("curl -s https://yoursite/" piped to grep for the expected content).

If a third-party widget cannot render server-side, add a static fallback with the equivalent content in the initial HTML.

The sources we rely on

What we have changed on this page

  • · This page now says which pages the check compares (the homepage on every audit, and on paid plans a few more pages that look built by scripts) and that the render runs in headless Chromium. We also removed a line that cited a correlation between render parity and AI citation rate, because we have not published that data.
  • · A render that shows no text is no longer scored. It used to score 0, as if the content were missing from the HTML. The finding is now not measured and says why: the audit read the HTML only, our browser could not render the page, or the render showed no text.
  • · The score now reads in one direction: how much of what a browser shows is already in the raw HTML. Text that JavaScript removes or hides no longer lowers it, because crawlers that read the raw HTML still have that text. Before, a page whose script removed an archive scored as if its content were missing from the HTML.
  • · Initial publication.