Do AI Crawlers Render JavaScript? What to Check on Your Site

Do AI crawlers render JavaScript? Mostly, no. The best public evidence says most AI crawlers, including OpenAI's GPTBot and PerplexityBot, fetch your raw HTML and do not execute JavaScript. The main exceptions are Google's systems, which use Googlebot's rendering, and Applebot. So if a piece of content only appears after a script runs, assume most AI crawlers never see it. For most WordPress sites this is good news, because themes send posts as plain HTML. The risk sits in a few specific add-ons, and you can find them with a five-minute check.

Checked on September 25, 2026. Crawler behavior changes; recheck this before a major site rebuild.

What the evidence actually says

The answer rests largely on one study, so it is worth knowing what it did and did not measure.

In December 2024, Vercel and MERJ published The rise of the AI crawler (published December 17, 2024, read on September 25, 2026). They looked at crawler traffic on nextjs.org and Vercel's network, plus two job board sites built on different stacks. Their conclusion was that "none of the major AI crawlers currently render JavaScript," covering bots from OpenAI, Meta, ByteDance, Perplexity and others.

Two details from that study matter for site owners:

  • Fetching is not executing. Some crawlers did download JavaScript files. They just did not run them. So seeing a bot request your .js files in server logs does not mean it saw what those files build.
  • There were exceptions. The study reported that Gemini "leverages Googlebot's infrastructure, enabling full JavaScript rendering," and that AppleBot "renders JavaScript through a browser-based crawler, similar to Googlebot."

The limits are just as important. The study is from late 2024, and crawler behavior can change without announcement. Much of what you will read on this topic in 2026 repeats the same study rather than adding new measurements. I treat it as the best available evidence, not a permanent law.

How Google differs, and why it is not a free pass

Google does run JavaScript. Its JavaScript SEO basics documentation (last updated March 4, 2026, read on September 25, 2026) describes three phases: "Crawling, Rendering, and Indexing." Rendering happens in a headless Chromium after the page waits in a queue, and Google says the page "may stay on this queue for a few seconds, but it can take longer than that."

The same page gives the most useful single sentence on this topic: "Server-side or pre-rendering is still a great idea because it makes your website faster for users and crawlers, and not all bots can run JavaScript."

So Google's AI features can usually see JavaScript content, with some delay. The chat assistants and answer engines that rely on their own crawlers mostly cannot. If you want to be quotable everywhere, the content has to be in the HTML your server sends.

Do AI crawlers render JavaScript? Crawler by crawler

Crawler or system Runs JavaScript? Source for the claim
Googlebot (Search, AI Overviews, AI Mode) Yes, after a render queue Google's JavaScript SEO documentation
Gemini Yes, via Googlebot infrastructure Vercel and MERJ study, December 2024
Applebot Yes, browser-based Vercel and MERJ study, December 2024
GPTBot (OpenAI) No Vercel and MERJ study, December 2024
PerplexityBot No Vercel and MERJ study, December 2024
Meta and ByteDance crawlers No Vercel and MERJ study, December 2024

Treat the "No" rows as "not observed rendering as of that study." None of these companies has promised that behavior will stay the same.

What this means for a typical WordPress theme

Here is the reassuring part. A standard WordPress theme builds each page in PHP on the server and sends finished HTML. Your post title, headings, paragraphs and lists are in that HTML before any script runs. For the core of most blog posts, AI crawlers see what readers see.

The risk comes from elements that load or build their content with JavaScript after the page arrives. On WordPress, these are the usual suspects:

  • Tables built from data files. Some table plugins store the data separately and draw the table in the browser. If your comparison table is the most quotable thing on the page, this matters a lot.
  • "Load more" and infinite scroll. Posts, reviews or list items fetched after the first screen are often missing from the initial HTML.
  • Third-party comment and review widgets. Comment systems and review badges embedded from another service usually inject their content with a script.
  • Content inside some sliders, tabs and accordions. Many of these keep the text in the HTML and just hide it, which is fine. Others fetch the text when you click. You need to check which kind you have.
  • Embedded apps and calculators. An interactive calculator built in JavaScript shows a crawler an empty box. The explanation around it is what gets read.
  • Headless or app-style front ends. If your site uses WordPress as a back end with a separate JavaScript front end, check carefully. Whether that is safe depends entirely on whether it renders on the server.

Hidden versus absent: the distinction that matters

Many site owners worry about the wrong thing. Content that is hidden by CSS or a collapsed accordion is still in the HTML. A crawler reading the raw source can see it. Content that is absent until a script runs is invisible to a crawler that does not execute JavaScript.

So an FAQ in a collapsed accordion is usually fine, as long as the answers are written into the page. An FAQ whose answers are fetched from somewhere when a reader clicks is not. The accordion looks identical in both cases. Only the source tells you which one you have.

The five-minute check: what an AI crawler sees on your page

You do not need special tools for a first pass.

  1. Open the post in your browser and choose "View page source." Not the Inspect or Elements panel. That panel shows the page after scripts run, which is exactly what a non-rendering crawler does not see.
  2. Search the source for a sentence from your main answer. Use Ctrl+F or Cmd+F. If it is there, crawlers that read HTML can read it.
  3. Search for a line from each risky element: a cell from your table, one FAQ answer, one review, the text around a calculator.
  4. Anything you cannot find in the source is invisible to non-rendering crawlers. Write it down.
  5. Optionally, disable JavaScript in your browser settings and reload. What remains is a rough preview of what those crawlers get. Remember to turn it back on.

Do this on your five most important posts first, and on one example of each template your site uses: a post, a page, a category archive. Problems tend to repeat by template, so one check often covers dozens of pages.

My AEO checklist for WordPress blogs covers the structure side of the same pages. This check is the layer underneath it: making sure the structure you built is actually in the HTML.

How to fix what you find

Fixes, in order of effort:

  • Move the key answer into plain text. If a table is built by a script, add one or two sentences above it that state the main comparison in words. This alone covers most of the risk, because the sentence is what an answer engine would quote anyway.
  • Switch the element's loading setting. Many table, tab and FAQ plugins offer a choice between loading content with the page and loading it on demand. Choose "with the page" for anything that carries your answer.
  • Replace the widget with a native block. A core WordPress table, list or details block is written straight into the post HTML.
  • For app-style front ends, use server-side rendering or static generation. This is a developer task. It is also the only fix that works for every crawler at once.

Do not solve this by serving crawlers a different page from what readers see. Showing bots special content is a risk in its own right, and the plain-text fixes above are easier anyway.

Where this fits in your AEO work

Answer engine optimization assumes a system can read your answer. If you are new to the idea, my overview of what answer engine optimization is for small sites explains the basics. JavaScript rendering is the technical precondition underneath all of it: the clearest answer paragraph on the web does nothing if a crawler receives an empty container.

It is also separate from whether you allow AI crawlers at all. Your robots.txt decides whether a bot may fetch the page. Rendering decides what it can read once it does. Check both.

FAQ

Does GPTBot render JavaScript?

The Vercel and MERJ study from December 2024 found that OpenAI's crawlers fetched some JavaScript files but did not execute them. Treat any content that only appears after scripts run as invisible to GPTBot, and recheck if newer evidence appears.

Can Google's AI Overviews see JavaScript content?

Usually, yes. Google renders pages with a headless Chromium after a queue that can last seconds or longer, according to its JavaScript SEO documentation. Server-rendered content is still safer because it is available immediately and to every crawler.

Is a normal WordPress blog affected?

The core post content is usually fine, because WordPress themes send finished HTML. The risk is in add-ons that build content in the browser, such as some table plugins, load-more lists, third-party comment widgets and interactive calculators.

Is content inside an accordion invisible to AI crawlers?

Not if the text is in the page source and only hidden by CSS. It is invisible if the text is fetched by a script when the reader clicks. Use "View page source" to tell the difference.

How do I check what an AI crawler sees?

Open "View page source" rather than the Inspect panel, and search for a sentence from each important section. Anything missing from the source is likely missing for crawlers that do not run JavaScript.