Why AI crawlers see an empty page (and how to fix it)
Why ChatGPT, Perplexity, and other AI bots miss SPA and client-rendered sites, how to confirm it, and how SSR, SSG, or pre-rendering fixes it.
Short answer
Most AI search crawlers do not run JavaScript. If your HTML is an empty root div plus script tags, they see almost no text—the same view free URL checkers see. Fix it with server-side rendering, static generation, or a pre-render step, then verify with view-source and a server-HTML checker.
Paste your live URL into what crawlers see to read the server HTML, or the website checker. If that text is almost empty, AI search will struggle too.
The problem
Many React, Vue, and AI-builder sites ship a shell like <div id="root"></div> and fill the page only after JavaScript runs. Humans with Chrome see a full site. Crawlers that do not run JS see titles, maybe a generic meta description, and almost no body text—so they cannot quote or cite you.
How to confirm it
- Open
view-source:https://yourdomain.com(or “View page source”). Look for your real headings and paragraphs in the raw HTML. - Disable JavaScript and reload. If the page goes blank, crawlers that skip JS see the same blank.
- Run a server-HTML checker. Shipcheck warns when the body has under roughly 150 words of text in the response.
How to fix it
- SSR or SSG: Next.js, Nuxt, Astro, and similar frameworks that render HTML on the server or at build time.
- Pre-render: Generate static HTML for marketing routes even if the app is a SPA.
- Keep critical copy in HTML: Hero headline, product explanation, and FAQ answers should exist without waiting for client fetch.
For builder-specific launch issues, see the launch checklist for AI-built sites.
Robots and firewalls
Even perfect HTML fails if you block AI search crawlers in robots.txt or at the CDN. Allow search bots such as OAI-SearchBot and PerplexityBot if you want citations; decide separately on training bots. Full rules: robots.txt for AI crawlers.
Re-check after you ship
After you enable SSR or pre-render, re-run the website checker and confirm the “Content is in the server HTML” style pass. Then ask ChatGPT or Perplexity a question your page should answer and see whether they can read it. For the broader GEO playbook, read how to get cited by AI search.
Questions
Do all AI crawlers skip JavaScript?
Most AI search and training crawlers fetch raw HTML and do not execute JavaScript like Chrome does. Treat “no JS” as the default. Googlebot is more capable at rendering, but AI answer bots often are not.
Why does a free URL checker say my page is empty when it looks fine in Chrome?
Paste-URL tools (including Shipcheck’s website checker) read the HTML the server sends, without running your app’s JavaScript—the same class of view many AI crawlers get. The Chrome extension checks the rendered tab.
Is Next.js always safe?
App Router and Pages with SSR or static generation put content in the first HTML response. A client-only SPA (or a builder that ships an empty shell) does not. Check view-source, not only the DevTools Elements panel.
Will llms.txt fix an empty shell?
No. llms.txt helps agents find important URLs. Those URLs still need readable HTML (or the assistant has nothing to cite).
Tools for this guide
What crawlers see
Read the text in the server HTML and spot JavaScript shells that AI crawlers never render.
Open tool →AI citation checker
Score AI citation readiness: search-bot access, noindex, server HTML, schema, and llms.txt. Does not predict that ChatGPT will cite you.
Open tool →Free website checker
Paste a public URL for one launch report from server HTML (SEO, headers, AI). Speed and WCAG are Pro in the Chrome extension; free install still helps on localhost and JS-heavy apps.
Open tool →More guides
Canonical tags explained: stop duplicate URLs from splitting your rankings
What rel=canonical does, when it should point to itself, www/https pitfalls, and how to check a live page.
Read · 8 min →XML sitemap guide: what to include, what to skip, and how to submit it
How sitemap.xml helps Google and Bing find your pages, which URLs belong in it, lastmod honesty, and how to submit it in Search Console.
Read · 8 min →Website not indexing in Google: a practical troubleshooting checklist
Why new or updated pages stay out of Google, how to read Search Console statuses, and which on-page fixes to try first.
Read · 9 min →