Why can't AI see your React site?

The short answer

Most AI crawlers (GPTBot, ClaudeBot, PerplexityBot) fetch raw HTML and never execute JavaScript. A client-side React app serves an empty div and loads content via JS, so those bots see nothing. The fix is server-side rendering, static generation, or prerendering, so your content exists in the initial HTML response.

Key takeaways

  • Most AI crawlers (GPTBot, ClaudeBot, PerplexityBot) fetch raw HTML and never execute JavaScript, so a client-side React app that serves an empty div is invisible to them.
  • Vercel and MERJ analyzed over 500 million GPTBot fetches and observed zero JavaScript execution; Googlebot is the exception.
  • React itself is not the problem: Next.js with server-side rendering or static generation ships full HTML, and the problem is an empty initial HTML response.
  • To check, run curl against your URL and search the output for a sentence from your page; the DevTools Elements panel shows the rendered DOM, not what bots fetch.

0

JavaScript executions observed across more than 500 million GPTBot fetches. Vercel and MERJ, Dec 2024. The test is almost two years old.
In this guide
  1. What does an AI crawler actually see when it visits your site?
  2. What did the Vercel and MERJ data actually show?
  3. Which bots render JavaScript and which don’t?
  4. How do I test my own site in 60 seconds?
  5. What’s proven here, and what isn’t
  6. How do you fix it without rewriting everything?
  7. Where should you start this week?

Check your own site

Seven graded checks, 60 seconds, no email.

I spend a lot of time looking at what AI crawlers actually fetch from B2B SaaS sites. The most common failure I see isn’t bad content or missing schema. It’s a site whose HTML response contains no content at all.

If your marketing site or docs are a client-side React, Vue, or Angular app, there’s a real chance ChatGPT has never read a word of them. Not because your content is bad. Because it isn’t in the HTML.

What does an AI crawler actually see when it visits your site?

When a bot requests a page, the server returns an HTML document. For a server-rendered site, that document contains your headings, paragraphs, and links. For a client-side single-page app, it contains something like this:

THE SPA SHELL TEST
$ curl -s https://your-spa.com
<div id="root"></div>
<script src="/main.js"></script>
$ # that's all GPTBot sees

That empty div is the entire page as far as a non-rendering crawler is concerned. Your actual content (pricing, features, docs, blog posts) arrives later, after a browser downloads and executes the JavaScript bundle. A crawler that doesn’t run JavaScript never gets there. It fetches the shell, finds nothing to index, and moves on.

Humans never notice, because humans use browsers. Browsers execute JS. That’s exactly why this problem hides for years.

What did the Vercel and MERJ data actually show?

Vercel and MERJ published an analysis called “The rise of the AI crawler” covering traffic across Vercel’s network. For GPTBot alone, they looked at over 500 million fetches. The finding: zero JavaScript execution observed.

Not “limited.” Not “sometimes.” Zero. The bots fetched HTML documents and, in some cases, JS files, but never executed them. Content injected by JavaScript was invisible in every observed request.

This is the strongest public evidence we have on AI crawler behavior. It’s observational data at scale, not vendor documentation or speculation.

Which bots render JavaScript and which don’t?

Based on the Vercel/MERJ observations, here’s the split.

Bots that read raw HTML only, with no JS execution observed:

  • GPTBot (OpenAI’s training crawler)
  • OAI-SearchBot (OpenAI’s search crawler)
  • ChatGPT-User (fetches pages during live ChatGPT browsing)
  • ClaudeBot and Claude-SearchBot (Anthropic)
  • PerplexityBot

Bots that do render JavaScript:

  • Googlebot. Google runs a full rendering pipeline, and that rendered index feeds Google AI Overviews and Gemini.

So one major AI surface sees your client-rendered content. Most of the rest don’t.

There’s a second-order question too. OpenAI says ChatGPT search uses third-party search providers and does not name them, so I cannot tell you which crawler’s rendering your pages would depend on. Betting your visibility on “someone probably rendered it” is not a bet I’d take.

How do I test my own site in 60 seconds?

Don’t guess. Fetch your page the way a bot does and look for your content.

Pick a sentence that only exists in your page body: a line from your pricing page or a doc. Then:

curl -s https://yoursite.com/pricing | grep -i "your sentence here"

If grep returns the line, that content is in the raw HTML and non-rendering crawlers can read it. If it returns nothing, they can’t. Run it against your homepage, your top docs pages, and your blog. Sites are often mixed: a static marketing homepage that passes, and a client-rendered docs app that fails.

Two things to watch. First, don’t test with the browser DevTools Elements panel: that shows the rendered DOM after JavaScript ran, which is exactly what bots don’t see. Use curl or view-source. Second, check that your server isn’t returning different content to curl than to browsers; some CDNs and bot-protection layers do. If you want the full pass, I keep a longer checklist at /blog/ai-visibility-audit-checklist.

What’s proven here, and what isn’t

I want to be precise, because this topic attracts a lot of confident overstatement.

Proven: in the Vercel/MERJ dataset, GPTBot and the other listed AI crawlers executed no JavaScript across hundreds of millions of observed fetches. A client-side SPA serves an HTML shell with no content in it. Both of those are directly observable: you can verify the second one on your own site in one command.

Not proven, and worth saying plainly: this is not universal doom for JS-heavy sites. Google AI Overviews and Gemini sit on Google’s rendered index, so a client-rendered site can still surface there. The data also describes observed behavior at a point in time. Crawler behavior can change, and OpenAI or Anthropic could add rendering later. And nobody outside these companies knows exactly how fetched content weighs into any given AI answer.

What I’d claim is narrower and more useful: today, content that isn’t in your raw HTML is invisible to most AI crawlers. That’s a fixable infrastructure problem, and fixing it removes an entire class of risk.

How do you fix it without rewriting everything?

The goal is one thing: your content in the initial HTML response. There’s a spectrum of ways to get there, from least to most disruptive.

Prerendering. A service or middleware detects bot user agents, renders the page in a headless browser, and serves the resulting HTML to crawlers. It’s a bolt-on, so it’s the fastest path for a large existing SPA. Downsides: another moving piece, cache staleness, and you’re maintaining a bot-detection layer forever. I treat it as a stopgap, not an endpoint.

Static site generation (SSG). Pages are rendered to plain HTML at build time. For marketing sites, blogs, and docs (content that doesn’t change per-request), this is usually the right answer. Fast for humans, complete for crawlers, nothing to render at runtime.

Server-side rendering (SSR). The server renders HTML per request, and JavaScript hydrates it in the browser for interactivity. Use it where content is dynamic or personalized.

Framework notes, without the framework war:

  • Next.js: if you’re already on React, this is the lowest-friction path. Its default output is server-rendered or statically generated HTML. The trap is shipping everything as client components anyway. Check your actual HTML output, not your framework choice.
  • Astro: renders to HTML by default and ships JavaScript only for components you explicitly opt in. A good fit for content sites where interactivity is the exception.
  • Plain HTML: unfashionable and completely crawlable. For a five-page marketing site, it’s a legitimate answer.

The framework doesn’t matter. The HTML response does. Any stack that puts your words in the document before JavaScript runs will work.

Where should you start this week?

Run the curl test on your five most important pages today. That takes ten minutes and tells you whether you have this problem at all. If you do, scope it: which sections of the site are client-rendered, and which of those contain content you need AI systems to read. Fix the content-heavy sections first. Docs and blog usually move the needle most for B2B SaaS, since those are the pages AI assistants cite when answering buyer questions.

If you’d rather not do the curl work by hand, I built a free checker at /audit that runs exactly this test: it fetches your page the way a non-rendering AI crawler does and shows you what’s actually in the HTML. It takes about 60 seconds and tells you whether ChatGPT can see your site or just your div.

Common questions

Do AI crawlers like GPTBot execute JavaScript?

No. Vercel and MERJ analyzed over 500 million GPTBot fetches and observed zero JavaScript execution. GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, and PerplexityBot read the raw HTML response only. Googlebot is the exception: it renders JavaScript, which also feeds Google AI Overviews and Gemini.

How do I check if AI can see my website's content?

Run curl -s against your URL and search the output for a sentence from your page. If it's missing from the raw HTML, non-rendering AI crawlers can't see it. View-source in a browser works too, just don't use the DevTools Elements panel, which shows the rendered DOM, not what bots fetch.

Do I have to abandon React to be visible to AI?

No. You have to abandon client-side-only rendering. Next.js with server-side rendering or static generation ships full HTML while keeping React. Astro renders to HTML by default. Prerendering services are a stopgap. The framework isn't the problem. An empty initial HTML response is.

Written by

A solo answer engine optimization (AEO) consultant for B2B SaaS. I test what ChatGPT, Perplexity, Gemini and Claude say about a company, hand over a written fix list and publish my prices.

How this was made: drafted with AI assistance. On October 26, 2026 every figure and quotation that cites a source was compared with that source. Statements without a link are my own judgment and are written as such. Vendor figures are labelled as vendor figures. See the research page for how claims are handled.

Now check your own site.

The free check shows what AI crawlers can read on your homepage. It takes 60 seconds and asks for no email.

Run the free checkFree. No email. I don’t save your URL. Book a free fit call
Run the free check