AI Search Analyzer

Is your website empty to AI crawlers?

Most AI crawlers don't run JavaScript, so ChatGPT, Claude and Perplexity may see a blank page. How to tell in two minutes, which platforms are affected, and how to fix it.

If your website builds its content with JavaScript after the page loads, ChatGPT, Claude and Perplexity may be reading an empty page. Most AI crawlers download the HTML your server sends and stop there. They don’t run your scripts, so anything the scripts add never reaches them.

Google is the exception. Googlebot renders JavaScript, which is why a site can rank fine in Google and still be invisible to AI search. This guide shows how to check your own site in two minutes, which platforms are most likely to have the problem, and how to fix it on each.

What AI crawlers actually see

When you open a page, three things happen. Your browser downloads the HTML, runs the JavaScript, and draws the result. A crawler that skips the middle step sees only the HTML as it left the server.

For a traditionally built page, that HTML already holds the text, so nothing is lost. For a client-rendered app, it looks something like this:

<!doctype html>
<html>
  <head><title>Fernway Roasters</title></head>
  <body>
    <div id="root"></div>
    <script src="/assets/app.js"></script>
  </body>
</html>

A title, an empty container and a script. That’s the whole page, as far as the crawler knows. No business description, no prices, no links to your other pages.

Which crawlers render JavaScript

The best public data comes from Vercel, which hosts a large share of JavaScript sites. Its December 2024 analysis of AI crawler traffic on its network found that “none of the major AI crawlers currently render JavaScript,” covering OpenAI, Anthropic, Meta, ByteDance and Perplexity. ChatGPT’s and Claude’s crawlers did download JavaScript files, but they didn’t run them.

Crawler Feeds Runs JavaScript?
Googlebot Google Search, AI Overviews, Gemini Yes
Applebot Siri, Spotlight, Safari suggestions Yes, per Vercel’s analysis
OAI-SearchBot, GPTBot ChatGPT search, OpenAI training No
Claude-SearchBot, ClaudeBot Claude search, Anthropic training No
PerplexityBot Perplexity answers No
Bingbot Bing, Copilot, and ChatGPT search through Bing Renders some, with limits

Two cautions. Crawler behavior changes, so treat this table as the state of things, not a promise. And even Google renders in a second pass that can lag behind the first crawl, so relying on JavaScript costs you speed with Google too.

Check your site in two minutes

Option 1: view the page source

  1. Open your homepage in Chrome or Firefox.
  2. Right-click and choose View page source. Don’t use Inspect, which shows the page after scripts have run.
  3. Press Ctrl+F (Cmd+F on a Mac) and search for a sentence from your main content, such as your opening line or a price.

If the sentence is in the source, AI crawlers can read it. If it isn’t, they probably can’t.

Option 2: fetch it as a crawler

From a terminal, this asks for your page the way an AI crawler does and counts the words that come back:

curl -sA "OAI-SearchBot/1.0" https://yourdomain.com/ | sed 's/<[^>]*>//g' | wc -w

A real page returns hundreds of words. A shell returns a handful. While you’re at it, the status code tells you whether a firewall is blocking the crawler:

curl -s -o /dev/null -w "%{http_code}\n" -A "OAI-SearchBot/1.0" https://yourdomain.com/

Anything other than 200 is worth looking into. The AI crawler checker runs both checks for you and compares the result with a normal browser visit.

Option 3: run a scan

The free scan from AI Search Analyzer includes a crawler’s eye view: the exact text an AI crawler receives from your homepage, with a word count, next to what a visitor sees.

The same page as a visitor sees it and as an AI crawler receives it.

Which sites are affected

Usually fine: WordPress, Shopify, Squarespace, Wix, Webflow and most traditional site builders send real HTML for page content. So do static sites and frameworks with server rendering turned on.

Often affected:

  • Single-page apps built with React, Vue or Angular without server rendering, including many sites made with Create React App or a plain Vite setup.
  • Sites made with some AI app builders, which often produce a client-rendered React app by default.
  • Pages that load key content through embeds or widgets: reviews, menus, product details, prices, booking tools and FAQ accordions that fetch their text after load.

Partly affected: sites where the main text is in the HTML but one important piece isn’t. The usual example is a pricing table or menu loaded by a widget. The page looks fine to a crawler until someone asks “how much does it cost?”

How to fix it, by platform

React, Vue, Svelte or Angular apps

Move public pages to a framework that renders on the server or at build time:

You use Move to, or turn on
React Next.js (static generation or server rendering), Remix, or Astro with React components
Vue Nuxt with SSR or nuxt generate
Svelte SvelteKit with prerendering for public pages
Angular Angular’s built-in SSR and prerendering

You don’t have to render the whole app on the server. Logged-in screens can stay client-rendered. What matters is the pages you want found: home, pricing, product or service pages, the blog, and anything customers ask about.

If a rebuild isn’t possible yet

Prerendering is the stopgap. A service or build step loads each public page in a headless browser, saves the finished HTML, and serves that copy to crawlers. It works, but it adds a moving part to keep in step with the live page, so plan to replace it.

Site builders and CMSs

  • Check whether key text sits inside an embed, an iframe or a third-party widget. If it does, copy the important parts, such as prices, hours or your menu, into a normal text block.
  • Avoid putting important text inside images or sliders.
  • If your builder has a setting for prerendering or “SEO mode,” turn it on.

Everyone: the minimum

Even if nothing else changes, make sure your homepage HTML contains:

  1. Your business name and one sentence saying what you do, for whom, and where.
  2. Real <a href> links to your main pages.
  3. Your prices, or at least starting prices.
  4. Your contact details.

Crawlers find your pages by following links in the HTML. A menu that only exists after JavaScript runs, or a “link” that’s really a button with a click handler, means the crawler never reaches anything behind it. Each of those pages might render perfectly on its own, and none of them get found.

Check by searching the page source for the address of one of your main pages. It should appear inside an href. If it doesn’t, give the header and footer plain links.

After the fix

  1. Re-run the page source check and the curl word count on the pages you changed.
  2. Make sure your robots.txt allows the AI search crawlers, since a readable page doesn’t help if the crawler isn’t allowed in.
  3. Give it time. AI tools refresh their indexes on their own schedule, and OpenAI says robots.txt changes alone can take about 24 hours to apply to search. Then ask ChatGPT and Perplexity about your business and see whether their answers reflect the page.

The AI visibility checker tracks that last part every week, so you can see when the answers change.

Sources

Keep reading

All posts