Is Your Website Invisible to AI? JavaScript, Site Builders and AI Crawlers

Many AI crawlers read the HTML your server sends and do not run JavaScript. If your website loads its text, services, prices or reviews with JavaScript after the page opens, those crawlers may see a nearly empty page, even though it looks perfect to visitors. The fix is to make sure your important content is in the initial HTML, through server-side rendering, pre-rendering or your platform's settings. It is one of the most common hidden reasons a business never appears in AI answers.
How Websites Are Built Today
There are two broad ways a web page can reach a visitor.
- Server-rendered pages arrive with the content already in the HTML. The browser receives the headings, paragraphs and prices and displays them. Traditional WordPress sites, most hand-coded sites and many e-commerce platforms work this way.
- Client-rendered pages arrive as a basic shell plus a JavaScript program. The browser runs the program, which then fetches and draws the content. Many modern web apps, some site builders and sites built with frameworks such as React, Vue or Angular work this way unless they are set up for server rendering.
To a person using a modern browser, both look the same. To a crawler that does not run JavaScript, the second kind can look like a blank page with a title and a loading message.
Which Crawlers Run JavaScript?
Googlebot does render JavaScript, although it may do so later than its first crawl, and complex scripts can still cause problems. Many AI crawlers are simpler. They fetch the HTML, read the text and move on. Some AI companies have said little publicly about their rendering, and behaviour can change, but the safe assumption is that content which only appears after JavaScript runs may not be seen by every AI system.
That matters because assistants such as ChatGPT and Claude run their own search crawlers and fetchers. If those see an empty page, they have nothing to quote and no reason to recommend you, regardless of how good your actual content is.
Signs Your Site May Have This Problem
- AI assistants describe your business vaguely or incorrectly, or only repeat what directories say about you.
- Assistants never cite your website, even for questions your pages answer clearly.
- Your site was built as a single-page app, or by a developer using a JavaScript framework.
- Content such as reviews, prices, menus or product details loads in after a short delay when you open the page.
- "View page source" in your browser shows very little text, just scripts and empty containers.
How to Check What AI Sees
The quick check
Open one of your important pages, right-click and choose "View page source" (not "Inspect"). This shows the raw HTML your server sends. Use your browser's find function to search for a sentence from the page, your phone number or a price. If you cannot find them in the source, they are being added by JavaScript.
The thorough check
Disable JavaScript in your browser settings and reload the page. What you see now is roughly what a non-rendering crawler sees. If the page is blank, or the main content is missing, you have a problem.
The automated check
A free AEO Go scan counts how much readable text your homepage has in its raw HTML, before any JavaScript runs, and warns you if it is almost empty. It also checks whether AI crawlers are allowed by your robots.txt and server.
Fixes for Custom-Built Sites
If your site was built by a developer with a JavaScript framework, there are well-established solutions:
- Server-side rendering (SSR). The server runs the JavaScript and sends complete HTML. Frameworks such as Next.js (React), Nuxt (Vue) and Angular's server rendering support this.
- Static site generation. Pages are built into complete HTML files in advance. This suits sites whose content does not change every minute, such as service pages and blogs.
- Pre-rendering for crawlers. A service generates HTML snapshots for bots. It works, but it adds complexity, and you must make sure bots and visitors see the same content.
- Hybrid approach. Keep interactive features in JavaScript, but render the essential text, such as headings, descriptions, prices, contact details and reviews, in the HTML.
Ask your developer one simple question: "If JavaScript is turned off, can you still read the main content of every important page?" If the answer is no, ask for one of the options above.
Fixes for Website Builders
Most mainstream website builders, such as WordPress, Squarespace, Shopify and Wix, now output content in the HTML for standard pages, but there are common exceptions:
- Third-party widgets. Review carousels, booking systems, menus and price lists embedded from another service often load by JavaScript, or inside an iframe that crawlers treat as a separate page.
- Tabs, accordions and sliders. Content hidden in some of these elements can be loaded only when clicked.
- Apps and plugins. Shopify apps and WordPress plugins that display reviews or product details sometimes inject them with JavaScript.
- Page builders with heavy animation. Some themes reveal text with scripts as you scroll.
Where possible, put the essential information as normal text on the page as well. For example, add a short summary of your star rating and review count in plain text above a review widget, and write your key services and prices into the page rather than relying on an embedded price list.
Other Things That Can Hide Content
- Text in images. A banner image that says "Emergency call-outs from £85" is unreadable to most crawlers. Put the words in HTML text.
- PDF menus and price lists. Some crawlers read PDFs, but a normal web page is far more reliable.
- Cookie walls and pop-ups that cover the content until accepted.
- Login-only content. Anything behind a login is invisible to public crawlers, which is fine for private material but not for your sales pages.
Frequently Asked Questions
Can ChatGPT read JavaScript websites?
It cannot be relied on. Many AI crawlers read the HTML a server sends without running JavaScript, so content that only appears after JavaScript runs may be missed. Make sure your key content is in the initial HTML.
How do I know if my website content is visible to AI crawlers?
View the page source in your browser and search for important text such as your services, prices or phone number. If it is not in the source, it is added by JavaScript. You can also disable JavaScript and reload the page, or run a free AEO Go scan.
Are Wix and Squarespace sites visible to AI?
Standard pages on mainstream builders generally include their text in the HTML. Problems usually come from embedded widgets, apps, sliders or text inside images. Check important pages with JavaScript turned off.
Does Google have the same problem with JavaScript?
Googlebot can render JavaScript, but rendering may happen later than the initial crawl and complex scripts can still fail. Content in the initial HTML is the most reliable for Google and for AI crawlers.
Summary
A website can look flawless to visitors and still be almost empty to an AI crawler. If your important content is added by JavaScript, many AI systems may never see it, and they cannot recommend what they cannot read. Check your pages using view source, by disabling JavaScript or with a free scan. Then make sure the essentials, including what you do, where, prices, contact details and reviews, are in the HTML your server sends. It is a one-off fix that can unlock every other part of your AI visibility.