Skip to content

Pages without JavaScript: what AI crawlers get

Most AI crawlers fetch HTML and do not run JavaScript. How to test what they get, which page patterns fail, and which fixes to do first on a company site.

Last reviewed

If your company website builds its pages in the visitor’s browser, an AI crawler may receive an almost empty page. The crawler does not wait for scripts to run and does not click anything. It takes the HTML the server sends, and whatever is missing from that HTML is missing from the AI engine’s picture of your company.

This guide explains who does and does not run JavaScript, how to check your own pages in five minutes, which page patterns usually fail, and what to fix first.

Which crawlers run JavaScript

Googlebot runs JavaScript. Google documents that pages are crawled, queued for rendering in a headless Chromium, and then indexed from the rendered HTML. The page may wait in the queue “a few seconds” or longer, and Google still advises server-side or pre-rendering because it helps users and “bots that can’t run JavaScript.”

Most other AI crawlers behave differently. In December 2024 Vercel and the analytics firm MERJ studied the crawl logs of sites on Vercel’s network. Their conclusion was that none of the major AI crawlers they measured rendered JavaScript. That covered OpenAI’s GPTBot, OAI-SearchBot and ChatGPT-User, Anthropic’s ClaudeBot, Perplexity’s PerplexityBot, Meta’s crawler, and ByteDance’s Bytespider. They also noted that ChatGPT’s and Claude’s crawlers downloaded JavaScript files (11.5 percent and 23.8 percent of requests) without executing them. They also named Applebot as an exception, since it renders pages in a browser-based crawler.

That study is two years old, so the open question is whether it still holds. A running reference list by the consultancy searchVIU, last updated on 3 November 2026, counts 14 crawlers with either a statement from the operator or a measurement. Eight of them do not execute JavaScript, including GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot and ChatGPT-User. For many others, such as Claude-SearchBot, no statement or measurement exists. SEO consultant Glenn Gabe repeated informal tests in October 2026 by asking ChatGPT, Claude and Perplexity about the content of JavaScript-only pages and reported that they could not see it. Those are prompt-based checks on a small set of sites, so treat them as a consistent signal and not as proof.

The practical reading: assume that every AI engine except Google’s and Microsoft’s own search stack sees only your raw HTML. Google’s AI Overviews and AI Mode draw on the Google index, which is built with rendering, but you gain nothing by relying on that for the other engines. Check this again every few months, because crawler behavior changes without announcement.

Test what a crawler gets

Three checks, in order of effort.

View source. In a desktop browser, open the page and press the shortcut for “view page source” (not “inspect”). Then search for a sentence from the page, such as a price or a headline from the middle of the text. If you cannot find it, the server did not send it.

Fetch with curl. In a terminal, run curl -s https://example.com/pricing | grep -i "per month" with your own URL and a phrase from the page. This is close to what a non-rendering crawler receives. Add -A "OAI-SearchBot" to send a crawler’s user agent string, which matters if your hosting or a firewall treats bots differently. A page that returns 403, a CAPTCHA, or a “checking your browser” screen to that request is also failing the test, and the cause is usually a firewall rule covered in the robots.txt guide.

Switch JavaScript off. In your browser’s developer tools, disable JavaScript and reload. What you see is roughly what the crawler sees, minus any content hidden behind server-side bot rules.

Run the check on at least these pages: home, product or service pages, pricing, about, FAQ, and your most important article or comparison page.

Patterns that usually fail

Single-page application shells. The HTML contains a single empty <div id="root"> and a script. Everything else is drawn in the browser. This is the most common cause of a company site that AI engines cannot describe.

Content loaded after the page opens. Prices, reviews, product specifications or feature lists fetched from an API when the page loads are absent from the HTML. The same applies to text that appears only after a visitor scrolls (“lazy loaded” text, as opposed to lazy-loaded images, which are fine).

Tabs and accordions that load on click. If the panel’s text is already in the HTML and only hidden with CSS, a crawler gets it. If a click triggers a request for the text, it cannot. Test it with view source.

Cookie walls and consent overlays. A consent layer that replaces the page for visitors who have not clicked is a problem when the server sends the layer instead of the content. Check what curl returns.

Links without an href. Navigation built from buttons or click handlers does not give a crawler a URL to follow. Google’s documentation states that only <a> elements with an href let it find URLs, and the same holds for simpler crawlers.

Structured data injected by script. JSON-LD added by a tag manager or a plugin that runs in the browser is invisible to non-rendering crawlers. See the structured data guide.

Fixes, in order of effort

  1. Move the text into the HTML the server sends. Server-side rendering, static generation, or pre-rendering all achieve this. Most current frameworks (Next.js, Nuxt, Astro, SvelteKit and others) offer these modes, and so do WordPress and other content management systems by default. For an existing single-page application, pre-rendering the public marketing pages is usually cheaper than a rewrite, and the logged-in product can stay as it is.
  2. Put key facts in plain text near the top. What the company does, where it operates, what it costs or how pricing works, and whom it serves. This also helps the engines that do render.
  3. Use <noscript> content as a fallback only. It can carry a short version of essential information for a page that must stay client-rendered. It is a patch, and it is easy to let it drift from the visible page.
  4. Keep HTML and JSON-LD consistent. If both are present, they should say the same thing.
  5. Repair broken URLs. Vercel’s logs showed that ChatGPT’s and Claude’s crawlers requested many URLs that returned 404 (about 35 percent and 34 percent of fetches, against 8 percent for Googlebot). Old asset paths, outdated sitemaps and redirect chains waste those fetches.

What to prioritize

Start with the pages a buyer would ask about: pricing, product or service descriptions, comparisons, and the page that says who you are. Fix those before the blog archive. If you have many pages, sample ten of the most important ones with curl and fix the template that causes the failure, since one template usually explains many pages.

Rendering is a precondition. Text in the initial HTML does not guarantee a mention in an AI answer. It means the engine can use what you wrote. For the order of all the readiness steps, see where to start. If the text is in the initial HTML but a crawler is still turned away, check robots.txt next.

Last reviewed 22 November 2026. Crawler behavior is not guaranteed by any operator; re-test after major site or framework changes.