Quick Read · Technical Setup
Is Your Website Invisible to ChatGPT? The 2-Minute Test
Many AI crawlers don't run JavaScript. Here's a quick, no-tools way to see your site the way they do, and what to do if it comes up blank.
Maybe. Many AI crawlers read only the raw HTML a server sends and skip JavaScript entirely. If your site builds its content with JavaScript, those crawlers may see an empty page. Open View Page Source and search for your headline. If it isn't there, neither is your content, as far as those crawlers are concerned.
Key Takeaways
- A 2024 Vercel study found major AI crawlers didn't execute JavaScript.
- View Page Source and search for your headline. If it's missing, many crawlers can't see your content.
- Static generation, server-side rendering or prerendering fix it without a rebuild.
- Logged-in app screens can stay JavaScript-only.
Your website looks great in your browser. That's because your browser is a very patient reader. It downloads the page, runs all the JavaScript and builds everything you see.
Many AI crawlers aren't that patient. In a December 2024 study of crawler traffic, Vercel found that none of the major AI crawlers it measured executed JavaScript, including OpenAI's crawlers, ClaudeBot and PerplexityBot. Googlebot does render JavaScript, though Google notes the rendering step can be delayed.
So for a lot of modern sites, the question is simple: what's in the page before the JavaScript runs?
The Test
- Open an important pageA service page, product page or pricing page works well.
- View the page sourceRight-click and choose View Page Source, or put
view-source:in front of the URL. - Search for your headlinePress Ctrl+F or Cmd+F and look for the main heading and a line from the first paragraph.
- Check the titleFind the title tag. Is it specific to this page, or does it say the same thing on every page?
Found your text? Nice. Crawlers can read it.
Found mostly an empty <div id="root"></div>? Your content depends on JavaScript, and many AI crawlers will see a blank page.
If It Came Up Blank
You don't need to rebuild your site. You need the important pages to send real HTML.
| Fix | What it means | Good for |
|---|---|---|
| Static generation | Pages are built into finished HTML when you deploy | Marketing pages, blogs, docs |
| Server-side rendering | The server builds HTML for each visit | Pages that change often |
| Prerendering | HTML snapshots of key pages are made after each build | Existing single-page apps that need a quick fix |
Frameworks like Next.js, Nuxt, Astro and SvelteKit do the first two out of the box. Google recommends server-side rendering or prerendering too, partly because not every bot can run JavaScript.
Logged-in screens like dashboards can stay JavaScript-only. Nobody needs those cited.
Frequently Asked Questions
Does Google penalize JavaScript sites?
No. Google renders JavaScript and indexes these sites. The bigger risk is AI assistants whose crawlers don't render it.
Is structured data added by JavaScript OK?
Google can read it after rendering. Crawlers that skip JavaScript won't, so putting JSON-LD directly in the HTML is the safer bet.
Sources
- The rise of the AI crawler, Vercel, December 2024
- Understand JavaScript SEO basics, Google Search Central