The words only appear after JavaScript runs
The HTML as served has little or no text, so crawlers that do not run scripts, including many AI crawlers, see an almost empty page.
Why it matters #
Many sites build their content in the browser with JavaScript. Google can run scripts, but it may do so later than it reads the HTML. Many other crawlers, including many AI crawlers, read only the HTML your server sends, so for them the page is nearly empty.
Signs include an empty app container such as <div id="root">, a <noscript> message asking visitors to turn on JavaScript, a placeholder title, and text that sits in the page's data but not in its visible HTML.
How to fix it #
Send the main text, title, headings and links in the HTML from the server. Most frameworks can do this with server-side rendering or static pages. Keep JavaScript for the things that need it, such as filters and baskets.
Compare what the JavaScript SEO Checker sees with what your browser shows, and see a page the way bots do with View as AI Bot.
What it looks like, and fixed #
<body>
<div id="root"></div>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script src="/static/js/main.js"></script>
</body>
The served HTML has no words at all. Crawlers that do not run scripts see an empty page.
<body>
<div id="root">
<h1>Oak garden benches</h1>
<p>Hand-made solid oak benches, delivered across the UK.</p>
<a href="/benches/oak-150/">Oak bench, 150 cm</a>
</div>
<script src="/static/js/main.js"></script>
</body>
The server sends the heading, words and links; the script then adds the interactive parts.
Fix it with your AI assistant #
Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.
Help me make [the page address] on [your website address] readable without JavaScript. It uses [your framework or platform, e.g. React with Vite]. A checker says the HTML as served has little or no text, so crawlers that do not run scripts, including many AI crawlers, see an almost empty page. First, compare the raw HTML (run "curl -s [the page address]" or ask me to paste View Source) with what the browser shows, and list what the raw HTML lacks: title, headings, text, links, prices. Then give the best fix for my setup: server-side rendering, static generation or pre-rendering of public pages, so the title, headings, text and links are in the HTML. Rules: serve the same content to people and bots (no cloaking), keep page addresses the same, keep interactive features working, and back up or use a branch. Give exact code or settings and where they go. Finally, tell me to re-check with the URSY.com JavaScript SEO Checker at ursy.com/javascript-seo-checker/.
We find the problems, and help you fix them
- Check Run a free tool or the full audit.
- Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
- Re-check Come back, check again, and watch each fix turn green.
Fix it on your platform #
WordPress
Look for blocks or widgets that load their content by script after the page opens, such as some product grids, tabs or review widgets, and choose settings that print the content in the page.
A hand-made site
For apps built with React, Vue or similar, use server-side rendering or static generation for public pages, for example with Next.js, Nuxt or Astro.
Check it is fixed #
Run the JavaScript SEO Checker again: the words, headings and links should be in the served HTML. View as AI Bot should show the same text you see in your browser.
Official source #
Questions #
Does Google not run JavaScript?
Google can, but it may render pages later than it reads the HTML. Many other crawlers, including many AI crawlers, read only the HTML your server sends.
Can I show bots a different version?
Google calls dynamic rendering a workaround it no longer recommends. Sending the same full HTML to everyone is simpler and safer.
More problems in JavaScript and rendering
- Links only work with JavaScript High priority
- robots.txt blocks the site's script files High priority