Skip to content
AI and automation

Can AI Crawlers Read Your Website? Why JavaScript Gets in the Way

Before you worry about whether ChatGPT recommends you, ask a plainer question: can AI crawlers read your website at all? An assistant can only describe a page it was able to fetch, and a surprising number of business sites hand these crawlers an empty shell, a firewall challenge or a polite note saying go away. The good news is that the fix is usually boring. A page served as complete HTML is easy for every crawler on the market to read, and checking which kind of page you have takes about five minutes.

Who is actually visiting

Each of the big assistant companies publishes the names its crawlers use, and the split between them matters because each name can be allowed or blocked on its own.

  • OpenAI runs three. GPTBot collects content that may be used to train its models. OAI-SearchBot is the one that surfaces sites in ChatGPT search. ChatGPT-User fetches a page when a person asks ChatGPT something that needs it, and OpenAI says it is not used for crawling the web automatically.
  • Anthropic has the same three way split: ClaudeBot for training data, Claude-SearchBot for search quality, and Claude-User for fetching pages when someone asks Claude a question.
  • Perplexity uses PerplexityBot to surface and link sites in its results, and says it is not used to gather training data for foundation models. A separate Perplexity-User agent handles fetches a person asks for.
  • Google-Extended is not a crawler at all. It is a product token you name in robots.txt to say whether content Google already crawls can be used for Gemini training and grounding. Google states it has no effect on inclusion or ranking in Google Search.
  • Microsoft Copilot grounds its web answers through the Bing search service, and the Bing index is built by Bingbot. If Bing can crawl you, Copilot has something to work with.

That split is useful. A business that would rather not feed model training can block GPTBot and ClaudeBot and still leave OAI-SearchBot, Claude-SearchBot and PerplexityBot free to find it for search answers. Plenty of sites make one of those decisions by accident while trying to make the other.

Most AI crawlers read the raw HTML and stop there

When a browser loads a modern website, it often receives a thin HTML file plus a pile of JavaScript, then runs that JavaScript to build the text you see. Googlebot does the same thing. Google describes its process for JavaScript sites in three phases, crawling, rendering and indexing, and the rendering step is where the scripts run.

AI crawlers mostly skip that step. In December 2024 Vercel published research run with MERJ that tracked real crawler traffic, and its finding was blunt: none of the major AI crawlers currently render JavaScript. The list it tested covered OAI-SearchBot, ChatGPT-User, GPTBot, ClaudeBot, PerplexityBot, Meta-ExternalAgent and Bytespider. ChatGPT and Claude crawlers did download JavaScript files, but the study says they do not execute them, so they cannot read client-side rendered content. The exceptions it named were Gemini, which uses Googlebot’s infrastructure and renders fully, and AppleBot, which renders through a browser based crawler.

Google’s own guidance lands in the same place from the other direction. It still recommends server-side rendering or pre-rendering because it is faster for users and crawlers, and not all bots can run JavaScript.

What that means for the way your site is built

If the words on a page only exist after a script runs, a crawler that does not run scripts sees a page without those words. The common ways this happens on business sites:

  • Single page applications built with client-side rendering, where the server sends a near empty page and the browser assembles everything.
  • Page builders and site platforms that inject sections, sliders or entire service descriptions through scripts rather than writing them into the HTML.
  • Tabs and accordions whose hidden panels are fetched from the server only when someone clicks them.
  • Review widgets, pricing tables and FAQ blocks loaded from a third party service after the page arrives.

Not every script is a problem. A chat bubble or booking calendar can load however it likes. The issue is narrower: the text that explains who you are, what you do, where you work and what it costs should arrive in the first response from the server. Vercel’s own recommendation was the same split, server render the main content, metadata and navigation, and keep client-side rendering for enhancements.

This is the main reason we build hand-coded static pages. A static page is the finished HTML sitting on the server, so every crawler gets the full text on the first request, whether it renders JavaScript or not. It also tends to help loading speed, which we covered in our piece on whether Core Web Vitals matter for your online presence. If your current site fails the checks below, our approach to web design in Melbourne is built around exactly this.

robots.txt rules that shut the door

The robots.txt file sits at the root of your domain and tells crawlers what they may fetch. Two lines are enough to lock out every compliant crawler from the whole site:

User-agent: * followed by Disallow: /

That pair is usually a leftover. A staging site gets blocked while it is being built, the file comes across at launch, and nobody looks at it again. Sometimes it is a security or SEO plugin that added a list of AI crawler names after someone ticked a box labelled block AI. And sometimes the rule is deliberate but too broad, blocking the search crawlers along with the training ones.

Two details are worth knowing. Rules are case-sensitive, so a path written with the wrong capitals does not match. And OpenAI and Perplexity both say their user-initiated fetchers may not follow robots.txt rules, because a person asked for the page. A robots.txt block does not reliably hide you from those, but it can stop you appearing in search answers, which is the part most businesses actually want.

Bot protection at the CDN or host

Even with a clean robots.txt, a crawler can be stopped before it reaches the page. Many sites sit behind a content delivery network or a host with a firewall that challenges or refuses anything it judges to be a bot.

Cloudflare is the one most small businesses meet. On 1 July 2025 it changed its defaults so that new customers and new domains start with a setting that blocks AI crawlers, with site owners asked to allow or deny AI crawler access when they set up. Existing customers can review and change their crawler settings at any time. On 1 July 2026 it announced a further change: from 15 September 2026, crawlers it classes as Training or Agent are blocked by default on pages that display ads, while Search crawlers stay allowed. That applies to new sites and to free plan users who had not changed their settings.

None of that is a bad thing if you chose it. The trouble is when nobody chose it: a developer moved the domain onto Cloudflare, accepted the defaults, and the business owner has no idea the search crawlers they would happily let in are being turned away. Whoever manages your DNS can check the setting in a minute.

How to check your own site in five minutes

The first three need no technical skill.

  • View the page source. Open a service page on a desktop browser, right-click and choose View page source. Use find to search for a distinctive sentence from the visible page. If it is there, the text is in the HTML. If it is missing, that text is being built by scripts.
  • Try a text-only fetch. Ask your developer to request the page with a command line tool such as curl, or use a fetch tool that shows the raw response. What comes back is close to what a non-rendering crawler sees.
  • Read your robots.txt. Type your domain followed by /robots.txt into the browser. Look for a Disallow: / under User-agent: *, and for any of the crawler names listed above.
  • Ask the developer or host two questions: is the site server rendered or static, and is any bot protection or AI crawler blocking switched on at the CDN or firewall.

If you would rather not do it by hand, our free SEO and GEO audit tool checks whether your content renders without JavaScript and whether AI crawlers are blocked, along with a few other signals AI engines look at.

Readable comes first

Being readable is the floor, not the ceiling. Once crawlers can get the full text of every important page, the next job is making sure that text says the things an assistant needs before it will recommend you, which we cover in what AI assistants need to know before they recommend you. But none of that work counts if the page arrives empty. A plain HTML page, served complete, with a robots.txt and firewall that let the search crawlers through, is the cheapest visibility improvement most business sites have available.

Common questions

Frequently asked questions

Does ChatGPT run JavaScript when it reads my website?

Research published by Vercel with MERJ in December 2024 found that OpenAI’s crawlers fetch JavaScript files but do not execute them, so content built in the browser by scripts was not visible to them. The safe approach is to make sure your key text is in the HTML the server sends, which every crawler can read whether or not it runs scripts.

If I block GPTBot will I disappear from ChatGPT search?

Not necessarily. OpenAI documents GPTBot as the crawler for model training and OAI-SearchBot as the one that surfaces sites in ChatGPT search. They are controlled separately in robots.txt, so you can block GPTBot and still allow OAI-SearchBot. Anthropic splits ClaudeBot and Claude-SearchBot the same way, so check which names your rules actually mention.

Does blocking Google-Extended hurt my Google rankings?

Google says it does not. Google-Extended is a robots.txt product token rather than a separate crawler, and it controls whether content Google crawls can be used for Gemini training and grounding. Google states that it does not affect a site’s inclusion in Google Search and is not used as a ranking signal, so your ordinary search listings are unaffected.

Let us build something that actually performs

Tell us where you are stuck. We will come back with a straight answer, a timeline and a fixed price. No jargon, no pressure.

Call Now Get Free Strategy