Often not. The main public evidence says several AI crawlers read the HTML they're sent and don't run JavaScript. So a page that's an empty div until a script fills it can look blank to them.
Googlebot is the exception. It renders JavaScript. The cheap fix is to send your real content in the first response. You can check if you need to in thirty seconds with curl.
Do AI crawlers run JavaScript?
The best public evidence I found is a December 2024 analysis by Vercel and MERJ. It reported no JavaScript execution from OpenAI's crawlers (including OAI-SearchBot and ChatGPT-User), from ClaudeBot, from Meta's crawler or from Bytespider. It didn't show how PerplexityBot behaves.
Don't lean on it too hard. It's one analysis, it's from late 2024, and no vendor guarantees either behavior. I got to the full write-up through a search summary and didn't read every page of it, so I'm stating the finding, not the detail. Crawlers change. Server-rendering is cheap insurance. It isn't a proven requirement for every engine.
Google is different, and that's the trap
Google says it renders JavaScript with an evergreen Chromium, after a queue. So a client-rendered page can rank on Google and still be invisible to other crawlers. If your page ranks fine in Google, that tells you nothing about whether an AI crawler can read it.
What does a page that AI crawlers can't read look like?
Open your page, choose View Source, and look at the body. A server-rendered page shows your headings and paragraphs in the markup. A client-rendered single-page app shows something like an empty div with an id of root, plus a script tag. A crawler that doesn't run the script gets the empty div.
View Source is not the same as Inspect Element
Inspect Element shows the page after JavaScript has run, which is what your browser built. View Source shows what the server sent, which is what a crawler without JavaScript gets. People check the wrong one all the time and decide the page is fine.
There's a second version that's harder to spot. The header and footer are in the HTML, so the page doesn't look like an empty shell. But the browser fetches the article body after the page loads. A rule that only looks for an empty mount point can pass that page while it still has no content. The only check you can trust is whether your actual body text is in the served HTML.
How do I test my own page in thirty seconds?
Compare what the server sends with what you see in a browser. Pick a phrase from the page, ideally the headline, and search for it in the raw response.
# Is a phrase you can see in the browser present in the raw HTML?
curl -s https://example.com/pricing | grep -ci "your exact visible headline"
# Rough word count of the served HTML
curl -s https://example.com/pricing | sed -e 's/<[^>]*>/ /g' | wc -wZero matches, or a body that's only an empty div and scripts, means you have the problem. Run it on a few page types, not just the homepage. Marketing pages are often fine while the blog or docs are client-rendered.
Our audit rule aeo.content-server-rendered fails a page only when it has both an empty app shell (a known mount point with 3 words or fewer of visible text and at least one script) and fewer than 100 words in the served HTML. On purpose, it doesn't fail a short page that is server-rendered. (AEO Toolkit skill source)
When does it matter, and when doesn't it?
It matters for any page you want cited: articles, documentation, product and pricing pages, about pages. It matters much less in three cases. Don't spend a week on them.
- Logged-in screens: Dashboards and checkout aren't meant to be cited. Nobody expects a crawler to read them.
- Interactive widgets on a rendered page: A calculator or chat bubble that's missing from the HTML is fine. The text around it is what counts.
- Google alone: If your only goal is ranking on Google, Googlebot renders JavaScript. Don't tell yourself a page isn't indexed because of this. The concern is other engines and AI crawlers.
Check access before rendering
If a robots.txt rule or a CDN firewall blocks the bots, rendering doesn't matter, because they never fetch the page. If nothing is being fetched at all, fix access first.
robots.txt for AI crawlersHow do I get my content into the first HTML response?
The goal is the same whatever your stack. The headline, the body text and your structured data should be in the HTML the server sends. In short:
List the pages that must be citable
Decide which pages you actually want cited. Everything else can stay client-rendered.
Pick the least invasive fix
If your framework supports server rendering and a page opted out, remove the opt-out. If the content is known at build time, generate it statically. For a Vite or Create React App single-page app with few public pages, prerender those routes at build time.
Fetch visible text on the server
Text loaded in a browser effect after the page mounts is invisible to a crawler that doesn't run scripts. Fetch it on the server and pass it down.
Render collapsed content into the markup
Tabs and accordions whose hidden panels only mount on click look empty to a crawler. Render every panel and hide it with CSS or a details element.
Run the curl test again
Your headline and body text should now show up in the raw response. Check a deep URL and a page with tabs. Make sure the page still works in a browser.
A coding agent is a good fit for this, because the fix depends on your framework. You can install the skill behind this article into Claude Code and other agents. It runs the curl test, finds what's client-rendered, and proposes the change.
Server rendering implementation guideTo install the skills into your own agent, start here.
Install the AEO agent skillsThe skill's source is open if you want to read it first.
aeo-server-rendering on GitHubWhat goes wrong when people fix this?
- Stale snapshots: Prerendering at build time freezes the content. If it changes between builds, set a rebuild or revalidate schedule.
- Slipping into cloaking: A prerender service that gives bots different HTML from what users get can slide into cloaking if the content differs. Google calls dynamic rendering a workaround, not a recommendation. Render from the same code your users get.
- Hydration mismatches: When server and client output differ, through dates, random ids or window checks, you get warnings. Fix the mismatch. Don't hide the warning and ship.
- Lazy text that waits for scroll: Text below the fold that only loads on scroll never loads for a crawler.
And keep the claim small. Rendering your content makes it readable. It doesn't make an assistant cite it, and nobody can promise that. Our visibility tools only check Perplexity. They can't confirm that ChatGPT, Claude or Gemini now read a page they couldn't before.
Common questions
Can ChatGPT read JavaScript-rendered pages?
The public evidence says not reliably. A December 2024 Vercel and MERJ analysis reported no JavaScript execution from OpenAI's crawlers, including OAI-SearchBot and ChatGPT-User. It's one analysis, and OpenAI doesn't guarantee either behavior. The safe move is to put your content in the HTML the server sends.
Do I need server-side rendering for AI search?
For pages you want cited, it's cheap insurance. It isn't a proven requirement for every engine. Server rendering, static generation or build-time prerendering all work. Pages behind a login, and small interactive widgets, don't need it.
If my site ranks on Google, can AI crawlers read it?
Not necessarily. Google renders JavaScript with an evergreen Chromium, after a queue, so a client-rendered page can rank there. Other crawlers that read only the served HTML would see an empty shell. Ranking on Google tells you nothing about them.
How can I see what an AI crawler sees on my page?
Use View Source in a browser, not Inspect Element. Or fetch the page with curl and search the raw response for your headline. If the text is missing and the body is only an empty div plus scripts, a crawler that doesn't run JavaScript sees nothing to cite.
Sources
Related guides
Want it done for you
Want this done and re-checked every month? Our monthly maintenance re-runs your buying questions in ChatGPT, Perplexity and Google, ships the fixes that keep you out of the answers, and reports what moved. Or run the free check on your site first at advancelabs.dev/tools/audit.
See how it works
