Technical setup

Can AI crawlers read pages that load with JavaScript?

Short answer

Mostly not. An analysis of crawler traffic published by Vercel in December 2024 found that none of the major AI crawlers it measured, including OpenAI’s and Anthropic’s, rendered JavaScript. Googlebot does render JavaScript. If your text appears only after scripts run, AI engines may see an almost empty page, so serve key content in the initial HTML.

Updated · 1 source

How to check your site

  • Open a key page with JavaScript turned off in your browser. Whatever disappears may be invisible to AI crawlers.
  • Or fetch the URL with curl and look for your main text in the response.

How to fix it

  • Use server-side rendering or static generation for content pages.
  • Keep prices, product details and answers in the HTML rather than loading them later.
  • Do not put important text behind tabs that load their content only when clicked.

Sources

  1. Vercel: The rise of the AI crawler (December 2024)