Do AI crawlers render JavaScript? A dated test on a real site
Do AI crawlers render JavaScript?
Vercel measured in December 2024 that none of the major AI crawlers it tested ran JavaScript, mostly on its own network. OpenAI, Anthropic and Perplexity's crawler pages are silent on the question. Text in the first HTML response is what a crawler that does not render can read. Vee suggests viewing the raw HTML to test.
Key takeaways
- The one original measurement found, from Vercel and MERJ in December 2024, saw none of the major AI crawlers it tested run JavaScript. It rests on Vercel's network, checked against two job boards, and is nearly two years old.
- OpenAI, Anthropic and Perplexity say nothing about JavaScript on their crawler pages. Google, Apple and Bing each say something about rendering.
- If your text is in the first HTML response, a crawler that does not run scripts can still read it. View the page source, not the inspector.
- Blocking AI crawlers has no universal answer. OpenAI, Anthropic, Perplexity and Google each name their crawlers on their own pages and say what blocking each one does.
Do AI crawlers render JavaScript?
Do AI crawlers render JavaScript? I could not find a published answer for every crawler. The one original measurement I opened came from Vercel and MERJ in December 2024. Mostly on Vercel's network, none of the major AI crawlers they tested ran JavaScript, while Google's Gemini, through Googlebot, did. The crawler pages from OpenAI, Anthropic and Perplexity do not mention JavaScript at all.
So the safe reading is practical, not absolute. Text that sits in the first HTML response your server sends can be read by a crawler that does not run scripts. Text that only appears after scripts run may not be. That is why I tested my own old site, and why the test for yours starts in your browser.
This article is part of my guide to getting cited by AI.
What does each AI company say about its own crawler?
I read each company's own crawler page on 16 Nov 2026. Where a page is silent, I say so. I do not fill the gap with a guess.
- OpenAI. Its crawler overview lists OAI-SearchBot, GPTBot, ChatGPT-User and OAI-AdsBot. It says nothing about whether any of them run JavaScript.
- Anthropic. Its help article on crawling names ClaudeBot, Claude-User and Claude-SearchBot. It is silent on JavaScript too.
- Perplexity. Its crawlers page names PerplexityBot and Perplexity-User. I found no mention of JavaScript or rendering on it.
- Google. Its JavaScript SEO page says Google Search runs JavaScript with an evergreen version of Chromium. The same page says server-side or pre-rendering is still a great idea because "not all bots can run JavaScript."
- Apple. About Applebot says Applebot "may render the content of your website within a browser." It adds that if JavaScript, CSS and other resources are blocked in robots.txt, it may not render the content properly.
- Microsoft Bing. Its crawler page says Bing regularly updates its page rendering engine to the most recent stable version of Microsoft Edge. Its webmaster guidelines warn against hiding critical content behind client-side rendering, because content that cannot be reliably rendered may not be indexed or selected for grounding results.
Silence is not a no. It means the page I read has no answer on it, and I am not reading a yes or a no into it.
Can AI crawlers read JavaScript? What has been measured
The only original measurement I opened is Vercel's post, The rise of the AI crawler, published 17 Dec 2024 and written with MERJ. Vercel's post advises server-rendering critical content, and its data comes from its own network. Read it as a dated measurement from one company, not a law.
Method. The main data came from monitoring nextjs.org and the Vercel network over the previous few months. Vercel checked the findings against two job board websites, one built with Next.js and one on a custom framework. It measured crawlers by their declared user agent and left out Microsoft Copilot, which has no unique user agent to track.
Finding. The post says "none of the major AI crawlers currently render JavaScript," as of December 2024. The list named OpenAI's OAI-SearchBot, ChatGPT-User and GPTBot, Anthropic's ClaudeBot, Meta, ByteDance and Perplexity's PerplexityBot. Gemini, through Googlebot's infrastructure, and AppleBot did render. Common Crawl's CCBot did not. The post adds that ChatGPT's and Claude's crawlers do fetch JavaScript files, at 11.50% and 23.84% of their requests, but do not execute them. It also says content already in the first HTML response, such as JSON data, may still be indexed.
Limits. It covers Vercel's network and nextjs.org, plus two job boards. It is nearly two years old, and the companies may have changed since. I did not open a second original measurement to set beside it.
A second source, searchVIU, sells an SEO crawler and keeps a list of 39 bots and tokens. It says that for 14 entries there is an operator statement or a measurement, and that 8 of those 14 do not execute JavaScript, including GPTBot and ClaudeBot. Its "No JavaScript" label means Vercel measured it in 2024, so the list leans on the same measurement. The page labels most of the other bots as not stated. That is a vendor's summary, not a second study.
What did my own test show on the old vee.consulting site?
The site I can check is my own old one, vee.consulting. It is a single-page app. This was a header test: some requests sent a user-agent header that carried a crawler's name, and no JavaScript ran. It was not a visit by any real crawler.
On 14 Nov 2026 I sent requests with Chrome, GPTBot and Googlebot user-agent headers. On 16 Nov 2026 I ran it again with a plain request and a request whose user-agent header named GPTBot, on three addresses: the home page, an inner page and a made-up path. Here is what came back.
- Status. All six requests returned a success status (200), including the two for the made-up path. A made-up address should say "not found". This one said the page exists.
- Size. Every response was 5,881 bytes. The plain request and the one naming GPTBot got the same file on all three addresses.
- What the file holds. A page title, a meta description and an empty root container. No main heading. With scripts stripped, the only visible text is the title.
- FAQ data. One block of FAQ data sits in the page code, not in the visible page.
- Canonical. Every path names the home page as its canonical address, so the inner page and the made-up path both point there.
On 14 Nov 2026 I also read the page after JavaScript ran. It filled in with headings and copy. The content existed. It only reached the reader through scripts.
Two limits. A header test changes the name a request gives and nothing else, so it shows what the server sends, not what a real crawler received. And the result is dated 16 Nov 2026. A site can change after that.
What it cost. In my research run on 14 Nov 2026 I asked Gemini about "Vee Khuu AI consultant Denver". Its only source for that was the empty shell, and it hedged Denver as "not confirmed". A page with no readable text gives a reader that does not run scripts nothing to say about where a business works or what it does.
Blocking was not the problem. On 16 Nov 2026 the old site's robots.txt allowed everything. No crawler was told to stay out. The shell was the problem.
My article Do you need a new website for AEO? has a shorter version of this example.
Is my website AI friendly? How to test it
The first two steps need only a browser, and they answer the main question.
View the page source.
Open one of your pages, right-click and choose "View page source", not "Inspect". The inspector shows the page after your browser has run its scripts. The source shows what the server sent. Search it for a full sentence from the page. If the sentence is there, a crawler that does not run JavaScript can read it. If the source is a near-empty shell of scripts, it cannot.
Turn JavaScript off in Chrome DevTools.
Chrome's guide says to open DevTools, press Control + Shift + P (Command + Shift + P on a Mac), type "javascript", choose "Disable JavaScript" and press Enter. Reload the page. JavaScript stays off in that tab while DevTools is open. Chrome's page carries a 2019 date stamp, so check the menu wording on your version. This shows how a page behaves in a browser without scripts. It stands in for a fetcher that does not run scripts. It is not a copy of any AI crawler.
Optionally, send a request with a crawler's name in the header.
A command-line tool such as curl lets you set the user-agent header. Fetch a page plainly, then again with a header that names a crawler, and compare. If the size and text match, your server does not treat the names differently. This is the header test I used above. It shows what your server sends, not what a real crawler gets.
Check Google's own view.
In Search Console, the URL Inspection tool lets you run a live test and then choose "View tested page", which shows a screenshot of the rendered page and the raw HTML returned. It shows Google's view only, and it needs a Search Console property for your site.
For the fuller checklist (canonical tag, robots.txt, a made-up address, what your platform lets you change), use the six-step test in Do you need a new website for AEO?. I will not repeat it here.
A passing result means the page is readable. Bing's guidelines say GEO does not guarantee grounding or citations in AI experiences.
How do I make my website AI friendly if the page is blank?
Put the key text in the first HTML response. Vercel and Google both point to server-side rendering. Vercel's post tells owners to prioritize server-side rendering for critical content. Google's JavaScript page says server-side or pre-rendering is still a great idea because it makes a site faster for users and crawlers, and not all bots can run JavaScript.
Server-side rendering means the server builds the page's HTML before sending it. Prerendering builds it ahead of time. In both, the words arrive in the first response, and your design can stay.
Do you have to rebuild the whole site to get there? Not always. It depends on one test: can a machine read the page your server sends? A rebuild is the right first step in three cases: the page is blank without JavaScript, the CMS blocks schema or robots changes, or the structure is broken. When your platform fights each fix, replacing the technology underneath is simply an easier road than patching. If you love your design, I leave it alone. What changes is the code underneath.
If it can't read, it can't cite.
Nothing in this article promises a result. A readable page is where the work starts.
Should I block AI crawlers?
There is no single right answer. It depends on what you want: staying out of training sets, staying visible in AI answers, or both. Each company below names its crawlers on its own page. Here is what each says its settings do.
- OpenAI. Its page says each robots.txt setting is independent. Sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though they can still appear as navigational links. GPTBot is about training: disallowing it signals that a site's content should not be used to train OpenAI's models. ChatGPT-User fetches are started by users, so OpenAI says robots.txt rules may not apply. A robots.txt change can take about 24 hours to take effect for search.
- Google. The common crawlers page describes Google-Extended as a token for managing whether content may be used to train future Gemini models and for grounding in Gemini Apps and Grounding with Google Search on Vertex AI. It says Google-Extended does not impact a site's inclusion in Google Search. The page does not say how it relates to AI Overviews or AI Mode, so I say nothing about that.
- Anthropic. Restricting ClaudeBot signals that future material should be left out of training. Anthropic says disabling Claude-User or Claude-SearchBot "may reduce" a site's visibility in user-directed search or search results. It also warns that blocking by IP address may not reliably work as an opt-out. The details are in its help article.
- Perplexity. Its page says PerplexityBot surfaces and links sites in search and is not used to crawl content for AI foundation models. Perplexity-User acts on a user's request and generally ignores robots.txt rules.
Check what is already blocked before you decide. Profound, which sells AI visibility tracking, says a block set in 2023 may still be live and long forgotten. I read that as a seller's observation, not a measurement. Your robots.txt file shows what is blocked today.
Does Cloudflare block AI crawlers?
It may, depending on your settings. Cloudflare announced on 1 Jul 2025 that it was changing the default to block AI crawlers unless they pay creators for their content. Cloudflare sells these controls, so I read the post as its statement of policy.
As I read it on 16 Nov 2026, the post does not say whether the default applies to existing accounts, how a customer changes it, or which crawlers it covers. Cloudflare's docs on managing AI crawlers say that for each AI crawler you can choose to allow or block access, and that blocking a crawler creates or updates a WAF custom rule on your zone. The docs point to the Crawlers tab of AI Crawl Control in the dashboard.
A firewall is a separate setting from robots.txt. Perplexity's page warns that behind a web application firewall you may need to explicitly allow its bots, and that Cloudflare's Bot Fight Mode can still challenge them. If you use Cloudflare, check the dashboard instead of guessing.
What should I do next?
Run steps 1 and 2 above on your own site. They need nothing beyond your browser.
If the page passes, the blank-page case does not apply to it. If it fails, or you are not sure, the AEO websites page sets out the foundation work. Starting at $7,500. A website can be bought without an assessment, but you talk to me first, on a 15 minute call.
Two related reads. Do you need a new website for AEO? covers when a rebuild comes first and what each platform lets you change. Does llms.txt work? looks at the other file people ask about.
FAQ
Does JavaScript rendering stop ChatGPT and other AI crawlers from reading my site?
It may. Vercel and MERJ measured in December 2024 that none of the major AI crawlers they tested ran JavaScript, mostly on one network. OpenAI's crawler page does not say either way. If your text is already in the first HTML response, a crawler that does not run scripts can still read it. Vee suggests checking the page source.
Can AI crawlers read JavaScript?
OpenAI's, Anthropic's and Perplexity's crawler pages are silent on it. Google says its Search runs JavaScript and that not all bots can. Apple says Applebot may render content in a browser. Vercel's December 2024 measurement saw no JavaScript execution from the major AI crawlers it tested.
Is my website AI friendly?
Start with whether the text is in the page your server sends. Vee suggests viewing the page source, not the inspector, and searching for a full sentence. If it is there, a crawler that does not run JavaScript can read it. That is readable, not cited: Bing's guidelines say GEO does not guarantee grounding or citations in AI experiences.
Should I block AI crawlers?
There is no single answer. OpenAI, Anthropic, Perplexity and Google each describe what their separate crawler settings do. OpenAI says sites opted out of its search crawler will not be shown in ChatGPT search answers. Vee suggests deciding by goal: staying out of training, staying visible in answers, or both.
Does Cloudflare block AI crawlers?
Cloudflare announced on 1 July 2025 that it was changing its default to block AI crawlers unless they pay creators. Its docs say owners can allow or block each crawler. The pages Vee read do not state the default for existing accounts, so check the AI Crawl Control settings on your own account.
Do I need to rebuild my website so AI crawlers can read it?
Not always. It depends on one test: can a machine read the page your server sends? Vee says a rebuild is the right first step when pages are blank without JavaScript, the CMS blocks schema or robots changes, or the structure is broken. A design the owner loves stays. If it can't read, it can't cite.
Sources
Sources (15)
- The rise of the AI crawler, Vercel, published . https://vercel.com/blog/the-rise-of-the-ai-crawler. Checked .
- Overview of OpenAI Crawlers, OpenAI. https://developers.openai.com/api/docs/bots. Checked .
- Does Anthropic crawl data from the web, and how can site owners block the crawler?, Anthropic (Claude Help Center). https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler. Checked .
- Perplexity Crawlers, Perplexity. https://docs.perplexity.ai/docs/resources/perplexity-crawlers. Checked .
- Understand the JavaScript SEO basics, Google Search Central. https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics. Checked .
- About Applebot, Apple Support, published . https://support.apple.com/en-us/119829. Checked .
- Which Crawlers Does Bing Use?, Microsoft Bing. https://www.bing.com/webmasters/help/which-crawlers-does-bing-use-8c184ec0. Checked .
- Webmaster Guidelines - Bing Webmaster Tools, Microsoft Bing. https://www.bing.com/webmasters/help/webmaster-guidelines-30fba23a. Checked .
- AI crawlers & JavaScript rendering: 39 bots compared, searchVIU, published . https://www.searchviu.com/en/guides/ai-crawlers-javascript-rendering/. Checked .
- Disable JavaScript, Chrome for Developers. https://developer.chrome.com/docs/devtools/javascript/disable. Checked .
- URL Inspection tool, Google Search Console Help. https://support.google.com/webmasters/answer/9012289. Checked .
- List of Google's common crawlers, Google for Developers. https://developers.google.com/crawling/docs/crawlers-fetchers/google-common-crawlers. Checked .
- Technical AEO: How to optimize for AI crawlability, Profound, published . https://www.tryprofound.com/articles/technical-aeo. Checked .
- Content Independence Day: no AI crawl without compensation!, Cloudflare, published . https://blog.cloudflare.com/content-independence-day-no-ai-crawl-without-compensation/. Checked .
- Manage AI crawlers, Cloudflare Docs. https://developers.cloudflare.com/ai-crawl-control/features/manage-ai-crawlers/. Checked .
Next step
If you want this applied to your own business, I will look at it with you and write up what to do.
Book an AI assessment