Home / Articles

Article

Can AI crawlers see JavaScript content?

By Nick Quick, with the Be In GEO lab Published: Nov 13, 2026 Last checked: Nov 11, 2026

Be In GEO article card: "Can AI crawlers see JavaScript content?", with the Be In GEO bullseye.

Short answer

Some can and some can’t. Google renders JavaScript with a headless Chromium, and Apple says Applebot may render pages in a browser. In Vercel and MERJ’s crawler study, published in December 2024, the major crawlers from OpenAI, Anthropic, Meta, ByteDance and Perplexity did not run JavaScript on the sites measured. That is the most recent large published dataset we found, so treat it as a starting point and test your own pages. If your main content only appears after scripts run, put it in the first HTML response.

Who renders and who doesn’t

This table separates what each company documents from what Vercel measured. The AI companies’ own crawler pages we checked do not say whether their bots run JavaScript. Vercel’s data is from late 2024 (published December 17, 2024) (Vercel).

CrawlerRenders JavaScript?Where that comes from
Googlebot (also used for Gemini, per Vercel)Yes, with a headless Chromium (Google Search Central)Google’s docs; Vercel’s study (Vercel)
ApplebotMay render in a browser (Apple Support)Apple’s Applebot page
OpenAI: OAI-SearchBot, ChatGPT-User, GPTBotNot observed (Vercel)Vercel’s study only
Anthropic: ClaudeBotNot observed (Vercel)Vercel’s study only
PerplexityBotNot observed (Vercel)Vercel’s study only
Common Crawl (CCBot)Not observed (Vercel)Vercel’s study only

Watch out

Watch out: the “not observed” rows come from one company’s data on its own network. Vercel says it checked Next.js apps and a site on a different stack to confirm the pattern (Vercel), but the data is from late 2024 and crawlers change. Treat this as a reason to test your own pages, not a permanent fact.

How Google handles JavaScript

Google describes three phases: crawling, rendering and indexing (Google Search Central). Googlebot fetches the URL, reads the HTML, and queues pages with a 200 status for rendering unless a robots meta tag or header says not to index (Google Search Central). When resources allow, a headless Chromium runs the JavaScript and Google indexes the rendered HTML (Google Search Central).

Two details matter for site owners:

  • Rendering can wait. Google says a page may sit in the render queue for a few seconds, “but it can take longer than that.” (Google Search Central)
  • Blocked scripts break it. Google Search won’t render JavaScript from blocked files or on blocked pages (Google Search Central).

Google’s AI features guide says the same thing about AI Overviews and AI Mode: Google can process content in JavaScript as long as it isn’t blocked, but JavaScript sites are generally more complex to get right (Google Search Central).

Even Google recommends a safety net. Its JavaScript guide says “server-side or pre-rendering is still a great idea” because it is faster for users and crawlers, “and not all bots can run JavaScript.” (Google Search Central)

What Vercel and MERJ found

Vercel and MERJ watched crawler traffic on nextjs.org and Vercel’s network, and checked two job board sites built on different stacks (Vercel). Their headline result in December 2024: “none of the major AI crawlers currently render JavaScript.” (Vercel)

The detail is worth reading closely:

Fetching is not runningChatGPT and Claude crawlers did download JavaScript files, but did not execute them (Vercel).
Some data still gets throughContent included in the first HTML response, such as JSON data, may still be read, because models can interpret non-HTML content (Vercel).
Gemini is differentVercel says Gemini uses Googlebot’s infrastructure, so it renders like Google Search (Vercel).
Applebot rendersVercel says it processes JavaScript, CSS and Ajax requests, which matches Apple’s own description (Vercel) (Apple Support).

Note

Note: Microsoft Copilot was left out of the study because it has no unique user agent to track (Vercel).

Check what a non-rendering crawler gets

You can see your page the way a crawler that skips JavaScript sees it. This is our method, not a test any AI company publishes.

  1. Pick one page that matters, such as a service page or your best article.
  2. Fetch the raw HTML from a terminal, with no browser involved.
  3. Search that HTML for a sentence from the main text, the page title and the price or key fact.
  4. If the sentence is missing, that content depends on JavaScript.
  5. Repeat for your menu links. If they only exist after scripts run, a non-rendering crawler may not find your other pages.
Shell
curl -s https://example.com/your-page/ | grep -i "a sentence from your main text"

No output means the text is not in the first HTML response.

For Google specifically, use Search Console. Our guide to the URL Inspection tool shows how to check one page at a time.

What to server-render first

Vercel’s advice is to server-render critical content, which it lists as main content, meta information and the menus and links that tie pages together (Vercel). Client-side rendering is fine for extras like view counters, chat widgets and social feeds (Vercel).

Put in the first HTMLFine to load with JavaScript
Main text, product details, prices you want quotedView counters
Title, meta description, canonicalLive chat widgets
Links to your other pagesSocial media embeds
Structured data that matches the pageInteractive extras that add to the text

For canonicals, Google says the best place is the HTML. If you must set one with JavaScript, keep it the same as the canonical in the original HTML (Google Search Central).

Watch out

The catch: making content visible to crawlers is not the same as being allowed in. If robots.txt or your CDN blocks a bot, rendering does not matter. OpenAI, Perplexity and Anthropic each document separate user agents for search, user-triggered fetches and training (OpenAI) (Perplexity) (Anthropic). Our AI crawler playbook covers the access side.

Key takeaway

What to do next

Fetch the raw HTML of your five most important pages and confirm the main text, title and links are there without JavaScript. If they aren’t, move that content to server-side rendering, static generation or pre-rendering. Then check that robots.txt and your firewall let the crawlers you want reach those pages.

Get the worksheet

Our free worksheet has a slot for this raw-HTML check next to the crawler access checks. Read how Be In GEO works for how we source claims like the ones above.

FAQ

Does Google see content loaded by JavaScript?

Yes, if the scripts aren’t blocked. Google renders pages with a headless Chromium, though rendering can be delayed (Google Search Central).

Does ChatGPT run JavaScript when it reads my page?

OpenAI’s crawler docs don’t say. Vercel’s December 2024 study did not see OpenAI’s crawlers execute JavaScript on the sites it measured (Vercel).

Do I have to rebuild my site?

Not always. Many frameworks offer server-side rendering or static generation. Start with the pages you most want quoted.

Sources