Is my site a JavaScript shell?
If your site is built with Vite, Create React App or a client-side React Router app, the HTML your server sends may be an empty box and a script tag. A browser fills the box in. A crawler that does not run JavaScript sees nothing.
Last updated 30 October 2026
What a shell looks like
This is close to the whole homepage of a typical Vite build, as the server sends it:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Acme – Invoicing for small agencies</title>
<meta name="description" content="Send invoices and chase late payments." />
<script type="module" src="/assets/index-4f2a9c.js"></script>
</head>
<body>
<div id="root"></div>
</body>
</html>The title and description are in the head, so search results and link previews can still show those. Everything in the body – the headline, the copy, the links to pricing and docs, the testimonials – only exists after index-4f2a9c.js has downloaded and run.
Check 1: view the source, not the inspector
Open the page and choose View Page Source (Ctrl+U, or Cmd+Option+U on a Mac). Search it for a sentence from your hero. The Elements panel in DevTools is the wrong place to look: it shows the page after JavaScript has run, which is exactly what a crawler without JavaScript never gets.
Check 2: curl
# Size of the HTML the server sends curl -sL https://yourproduct.com | wc -c # Is a sentence from your hero in it? curl -sL https://yourproduct.com | grep -c "the exact words of your headline"
A few hundred bytes to a couple of kilobytes, and 0 from the second command, means a shell. Some frameworks send a large HTML file that is still empty, because it carries inlined CSS or data, so the text check matters more than the size.
Check 3: the free audit
The audit on this site flags a page as a JavaScript shell when its HTML has fewer than 30 words of readable text and either the HTML is over 10 KB or it shows a client-rendering sign: an empty mount element (#root, #app, #__next, #__nuxt, #___gatsby, #svelte or #q-app), a module script, or a <noscript> asking for JavaScript. It reports the word and byte counts it found, caps the score at 40 and puts the fix first, because missing headings, links and calls to action on such a page are symptoms of one cause, not separate problems.
When a shell is fine
A logged-in app behind a sign-in screen does not need to be crawled, so a shell there costs nothing. The pages that matter are the ones you want found: the homepage, pricing, feature and comparison pages, docs and the blog. If those share the app’s shell, they are the ones to fix. SEO for a Vite or React single-page app lists the ways to do it.