Can AI crawlers read your JavaScript website? How to check, and what to fix
Often, no. Google Search can run JavaScript, so content that appears only after scripts load can still show up in Google, including its AI features. Most other AI crawlers, in tests from 2024 through late 2026, read the HTML your server sends first and do not reliably run your page’s JavaScript. If a product name, price or paragraph exists only after the page hydrates, those systems may never see it. The check is simple: view the page source and search for a sentence you can already see in the browser.

- Google can render JavaScript. Google Search processes JavaScript sites in three phases, crawling, rendering and indexing, and runs an evergreen version of Chromium. It still says server-side or pre-rendering is “still a great idea” because “not all bots can run JavaScript.”
- Google wants the words in text. Its guide to AI features in Search, which covers AI Overviews and AI Mode, asks site owners to make sure “important content is available in textual form.”
- A December 2024 study found most AI crawlers did not render JavaScript. Vercel and MERJ reported that none of the major AI crawlers they studied rendered JavaScript, including OpenAI’s GPTBot, OAI-SearchBot and ChatGPT-User, Anthropic’s ClaudeBot, PerplexityBot, Meta-ExternalAgent and Bytespider. Google’s Gemini was the exception, because it uses Googlebot’s infrastructure. Applebot did render JavaScript.
- Fetching a .js file is not the same as running it. The same 2024 analysis found ChatGPT and Claude crawlers requested JavaScript files (11.50% and 23.84% of their requests) but did not execute them, so they “can’t read client-side rendered content.”
- Late-2026 logs still advise not to rely on it. On IP-verified test sites between 23 October and 14 November 2026, JS SEO Lab found GPTBot downloaded JavaScript bundles while the React code in them never ran. ChatGPT-User fetched pages and almost no scripts. On that site, OAI-SearchBot fetched 560 pages and no JavaScript or CSS files. OpenAI’s official crawler documentation, checked on 26 November 2026, does not mention JavaScript or rendering.
- Access and rendering are different problems. A bot can receive a 200 response and still miss the text if that text is not in the HTML. Checking robots.txt and your firewall is a separate step.
Why this matters
If a person opens your site in a browser, JavaScript can build the page after it loads: product cards, prices, reviews, even the main article text. That looks fine on a screen. Many AI systems never get that far. They request the URL, read the HTML your server returns, and move on.
That gap is easy to miss. Your own browser shows the finished page. “Inspect element” shows the finished page too, because the browser has already run the scripts. The raw source, the document the server actually sent, can be almost empty: a blank <div id="root"> and a bundle of JavaScript.
This is not the same problem as blocking a crawler in robots.txt or at the firewall. A crawler can be allowed in, get an HTTP 200, and still leave with no usable text. It is also not the same as an interactive agent in a real browser, which can see a page the way a person does. The crawlers that index or train on your site are a different thing, and they are what this article is about.
Google itself flags the risk. In its JavaScript SEO basics guide, it explains that some sites use an “app shell” model, where “the initial HTML does not contain the actual content” and a crawler has to execute JavaScript before it can see the page. Google can do that. It also says, clearly, that “not all bots can run JavaScript.”
Who actually runs JavaScript?
The honest answer depends on which system you mean, and it has changed more slowly than people hoped. Treat the dates as part of the finding.
| System | Can you rely on it to run JavaScript? | What the evidence says |
|---|---|---|
| Google Search, including Gemini and Google’s AI features in Search | Yes, for Google. Still put the words in the HTML. | Google runs an evergreen version of Chromium, queues pages that return HTTP 200 for rendering, and uses the rendered HTML to index the page. Its AI features guide still asks for important content “in textual form.” Its guide to generative AI features says it can process content in JavaScript if the scripts are not blocked, and that JavaScript frameworks make SEO more complex. |
| Applebot | Yes, according to the 2024 study | Vercel and MERJ wrote on 17 December 2024 that Applebot “renders JavaScript through a browser-based crawler, similar to Googlebot,” and processes JavaScript, CSS, Ajax requests and other resources needed for full-page rendering. |
| OpenAI crawlers: GPTBot, OAI-SearchBot, ChatGPT-User | Do not rely on it | The 2024 Vercel and MERJ analysis found none of them rendered JavaScript, even when some fetched .js files. In IP-verified logs from 23 October to 14 November 2026, JS SEO Lab found GPTBot downloaded JavaScript bundles but the React app never ran (its React beacon stayed silent; a small inline script did fire a few times). ChatGPT-User fetched pages and almost no scripts. On that site, OAI-SearchBot fetched 560 pages and no JavaScript or CSS files. The authors note other reports that some OpenAI crawlers may render on some sites, and that OAI-SearchBot never crawled their JavaScript test pages. OpenAI’s official crawler documentation does not mention JavaScript or rendering. |
| ClaudeBot, PerplexityBot, Meta-ExternalAgent, Bytespider | Do not rely on it | The same December 2024 Vercel and MERJ analysis listed all four among the major AI crawlers that did not render JavaScript. We have not seen a later official statement from those companies that this has changed. |
| Common Crawl (CCBot) | No, according to the 2024 study | Vercel and MERJ wrote that Common Crawl, often used as a training dataset for language models, “does not render pages.” |
The practical rule has not moved: put the words you want an AI system to quote in the first HTML response. Do not wait for a crawler to catch up with your front-end framework.
How to check your pages
You do not need a special tool for the first pass. Pick a page that matters, a product, a service, a key article, and run these steps.
- View the page source, not the inspector. In the browser, use View Source (often Ctrl+U, or Option+Command+U on a Mac). This is the HTML the server sent, before JavaScript runs. Search the source for a unique sentence from the middle of the page, a product name, or a price you can see on screen. If the sentence is missing, a crawler that does not run JavaScript will miss it too.
- Fetch the HTML from the command line. Run
curl -sL https://www.example.com/your-pageand search the output for the same sentence. This is close to what a simple crawler receives. You can also add a bot user-agent if you want to see what you serve that bot, but the first question is whether the text is there at all. - Reload the page with JavaScript turned off. In Chrome or Firefox, disable JavaScript for the site and refresh. If the main text, prices or navigation disappear, those are the bits many AI crawlers will not see.
- Check structured data in the source, not only in a rich-result tester. Search the page source for
application/ld+json. If your Organization, Product or FAQ schema is injected by JavaScript after load, crawlers that skip JavaScript will not get it. Google can often still see it after rendering, but other AI crawlers may not. - Look at your links and images in the source. Crawlers follow
<a href="…">links in the HTML. A button that only works because a script attaches a click handler is easy for a person and easy to miss in a source file. The same goes for product images that exist only after a slider script runs: a real<img src="…">in the HTML is safer. - For Google only, use Search Console. The URL Inspection tool shows you the rendered HTML Google used. That is the right check for Google Search and for Google’s AI features, which use the same technical requirements as classic Search. It is not a check for GPTBot, ClaudeBot or PerplexityBot.
In our free GEO audit checklist, this is check 27: the raw HTML should contain at least 80% of the words you see in a browser. It is the check most sites fail without knowing.
What to fix
The fix is to send the important text in the first HTML response, then let JavaScript enhance the page if you need it to.
- Turn on server-side or static rendering if you use a JavaScript framework (Next.js, Nuxt, Remix, and similar). The framework still hydrates in the browser, but the crawler already has the words. Google’s JavaScript SEO guide calls server-side or pre-rendering “a great idea” for users and crawlers alike.
- Pre-render or server-render the pages that matter most if a full move is too large: product and category pages, service and pricing pages, the homepage, and any article you want cited.
- Keep facts in the HTML. Names, prices, stock status, opening hours, policies, headings and the opening paragraphs should be in the document the server sends, not only in a client-side fetch that fills a skeleton screen.
- Put JSON-LD in the initial HTML, in a
<script type="application/ld+json">block, rather than injecting it after load. - Use real links. If a person can click through to a product or article, a crawler should find an
hrefin the source. - Do not block the scripts Google needs. Google says it will not render JavaScript from files or pages that robots.txt disallows. If you want Google to render a page, allow Googlebot to fetch the scripts that build it. That does not replace putting the text in the HTML for everyone else.
- Know your platform’s default. Many Webflow, WordPress and Shopify theme pages already send the main text in HTML. The usual risk is a custom widget, a headless storefront, or a section that loads only after a click or a filter. Check those, not only the homepage.
You do not have to strip JavaScript from the site. Interactive filters, calculators and checkout flows can stay. The question is whether the words you want quoted are already there when the HTML arrives.
Common mistakes
- Trusting the inspector instead of View Source. Inspect Element shows the DOM after JavaScript has run. That is what a person sees, and what Google can often see after it renders the page. It is not what a non-rendering crawler sees.
- Reading a .js request in your logs as proof of rendering. Vercel and MERJ saw ChatGPT and Claude crawlers fetch JavaScript files without executing them. JS SEO Lab saw the same pattern with GPTBot in late 2026: the bundle was downloaded, the React app did not run.
- Fixing only what Search Console shows. A clean rendered snapshot in Google Search Console tells you about Google. It does not tell you what OAI-SearchBot, ClaudeBot or PerplexityBot received.
- Assuming a 200 from an AI bot means it got the content. A 200 only means the request succeeded. If the body is an empty app shell, the bot got an empty page.
- Leaving the main text behind a click or a tab that never appears in the source. If the default HTML has no description, and the copy loads only after someone opens a drawer, many crawlers will leave with the empty state.
Check your site
The free Web2Agents AI check scores your homepage out of 30 across six criteria, tests 12 AI bots against your robots.txt, and checks your robots.txt, sitemap.xml and llms.txt. The €19 AI-Ready Kit runs all 36 checks on up to 25 pages, including whether the page is readable without JavaScript, and ranks the fixes by impact. For the full list, see our free GEO audit checklist. For the bots themselves, see the 2026 AI crawler list, and for how this fits into AI search visibility, what is generative engine optimization. More posts like this are in AI crawlers & robots.txt.
FAQ
Can Google AI Overviews read JavaScript content?
Google can, if it can crawl and render the page. AI Overviews and AI Mode use the same technical requirements as classic Google Search: the page must be indexable and eligible to be shown with a snippet. Google runs JavaScript with Chromium, and its generative AI guide says it can process content in JavaScript as long as those files are not blocked. It still asks for important content in textual form, and it still recommends server-side or pre-rendering because not all bots can run JavaScript.
Does ChatGPT see text that only appears after JavaScript runs?
Do not rely on it. An interactive ChatGPT cloud browser can use a real browser and see a page the way a person does. The crawlers are different. A December 2024 Vercel and MERJ analysis found that GPTBot, OAI-SearchBot and ChatGPT-User did not render JavaScript. In IP-verified logs from October and November 2026, JS SEO Lab found GPTBot downloaded JavaScript but did not run the React app, and ChatGPT-User fetched pages with almost no scripts. OpenAI’s official crawler documentation does not mention rendering. If you want a ChatGPT search citation, put the words in the HTML.
If an AI bot requests my JavaScript files, is it rendering the page?
Not necessarily. Fetching a file and executing it are different steps. Vercel and MERJ reported in 2024 that ChatGPT and Claude crawlers requested JavaScript files in 11.50% and 23.84% of their requests but did not execute them. JS SEO Lab’s late-2026 logs showed GPTBot downloading bundles while a React execution beacon never fired.
How do I check whether my page’s text is in the HTML?
Open View Source, not Inspect Element, and search for a unique sentence from the middle of the page. You can also run curl -sL on the URL and search the output, or reload the page with JavaScript disabled. If the sentence is missing, crawlers that do not run JavaScript will not see it.
Do I have to remove JavaScript from my website?
No. You can keep JavaScript for interaction. The fix is to include the important text, links, images and structured data in the HTML your server sends first, then let the scripts enhance the page. That is what server-side rendering and static generation are for.
Sources
- Understand JavaScript SEO basics, Google Search Central
- AI features and your website, Google Search Central
- Google’s guide to optimizing for generative AI features on Google Search, Google Search Central
- The rise of the AI crawler, Vercel, 17 December 2024 (with MERJ)
- GPTBot downloads your JavaScript. It does not run it., JS SEO Lab, based on logs from 23 October to 14 November 2026
- Overview of OpenAI crawlers, OpenAI (checked 26 November 2026; the page does not mention JavaScript rendering)


















