What can a checker read before JavaScript runs?

Compare the first HTML response with the finished page, and understand what this check can and cannot tell you.

A visitor examines a box of chair parts while a craftsperson finishes assembling the chair beside it.

Some websites arrive a bit like flat-pack furniture. The server sends a box of parts, and your browser assembles the finished page using JavaScript. You see a lovely sofa. Something that only reads the label on the box might see a list of screws. Whether that matters depends on who's reading, and on whether the important words are on the box or only appear once it's built.

Initial HTML versus the finished page

When something requests a web page, the server sends back HTML. That first response is the initial HTML.

  • With server rendering or static generation, the page can arrive with its main words already in the HTML: headings, service descriptions, prices and FAQs. Individual components may still load later.
  • On a client-rendered site, the initial HTML may be a fairly empty shell. JavaScript running in the browser then fetches and adds the real content.

Both can look identical to a visitor. The difference is what's there before any scripts run.

What Google says it does

Google's JavaScript guidance describes three phases for JavaScript pages: crawling, rendering and indexing. Googlebot queues pages for crawling and for rendering, and Google says it isn't immediately obvious which one a page is waiting for. Google then uses the rendered HTML to index the page.

Google also says that crawling a page and reading its HTML response works well for server-side rendered pages, where the HTML response contains all the content.

Two more points from Google:

  • It has been rendering JavaScript for years. A March 2026 documentation update says using JavaScript to load content isn't "making it harder for Google Search".
  • It describes dynamic rendering, which serves a pre-built version to bots, as a workaround rather than a recommended solution. Instead it recommends server-side rendering, static rendering, or hydration. Hydration adds interactivity to HTML that has already been generated.

So for Google Search, using JavaScript isn't a problem in itself. Google does note there are some limitations, and some pages can have problems with content not showing up in the rendered HTML, so it's still worth checking.

Why other systems are a different question

Google's dynamic rendering page makes a wider point: other search engines may choose to ignore JavaScript, and won't see content it generates.

The same question applies to the tools that fetch pages for AI answers. Each one works in its own way, and they don't all document how they handle JavaScript. Unless a tool's own documentation says it runs your scripts, don't assume it does.

The practical aim is to make important content available as readable page HTML before scripts run, where your platform allows it. That can help tools which only fetch the initial response. It does not guarantee access, indexing or an AI citation.

See what's in your initial HTML

You don't need special tools to take a first look:

  1. View the page source. In most desktop browsers, right-click the page and choose "View page source". This shows the initial HTML, not the finished page.
  2. Search the source for your key phrases. Look for your main heading, your service name, a price, an FAQ answer.
  3. Compare with what you see on screen. Missing words are a reason to investigate how the page loads, rather than a complete diagnosis. A phrase may be split across elements or encoded. Finding it only inside a script or data block does not mean it is readable page content.

For a developer check, compare the response HTML with the rendered page in browser developer tools. Check the main content elements, not just whether a text search finds the words somewhere in the response. For Google specifically, use Search Console's URL Inspection tools to investigate what Google can render.

Check the pages that matter most first: home, your main services, pricing and contact.

What to do if your content is missing

If key content only appears after JavaScript runs:

  • Ask your developer or builder whether the page can be server-rendered or statically generated. Many frameworks support this.
  • Start with the essentials. Even if the whole page can't change, the main heading, the service description and the key facts can often go into the initial HTML.
  • Check navigation links too. Google recommends <a> elements with an href attribute for reliable link discovery. Links inserted by JavaScript can also be crawlable when they use that markup. Buttons that submit a form or expand a panel should remain action buttons.

Don't rebuild a site that's working well with Google just because it uses JavaScript. Check what's in the initial HTML, decide which other systems matter to you, and fix the gaps that count.

Keep the evidence

CAFMO checks whether useful text is present in the initial HTML of the pages you choose. It's deliberately plain about its limits:

  • text being present doesn't establish answer quality;
  • JavaScript alone isn't treated as a failure;
  • the check doesn't run a renderer.

So it tells you what's in the first response, and leaves you to judge what to do about it. After you publish a change, recheck the page and the result is saved with its date. See how CAFMO checks work.

Frequently asked questions

Is using JavaScript bad for SEO?

Not for Google in itself. Google says it renders JavaScript and that loading content with it isn't making things harder for Google Search. The question is whether other systems you care about can read your content too.

Do AI assistants run JavaScript?

Check the specific assistant or fetcher's documentation and behaviour. Google's rendering guidance does not establish what another provider does. Initial HTML is one useful check, not proof that an assistant can access, understand or cite the page.

Should I use dynamic rendering?

Google describes it as a workaround, not a recommended solution. It recommends server-side rendering, static rendering, or hydration instead. The right choice depends on how your site is built.

Sources and further reading

Create your CAFMO accountSee how CAFMO worksCompare plans