Skip to content
A robot with a magnifying glass in front of a wireframe web page

Can AI Crawlers See Your React App? How to Check and Fix It

What search and AI crawlers get from a client-rendered app, how to check your own site in five minutes, and three ways to fix it.

Renderlix team · 9 min read · November 2026Renderlix team · 9 min read

Open up your React app and press Ctrl+U. Now take a look at the HTML that your server is actually sending. In a typical app that renders on the client side, you’ll usually see a title tag and a few script tags, along with something that looks like this:

<body>
  <div id="root"></div>
  <script type="module" src="/assets/index-a1b2c3.js"></script>
</body>

So, when it comes to a webpage, everything you see - headings, prices, paragraphs - is actually put together by JavaScript in your browser. This is okay for people visiting the site. But for search engines, it’s a different story. It really depends on what kind of crawler is looking at the site. And these days, with AI systems becoming more common, especially by 2026, the way crawlers work is changing.

What crawlers actually see on a client-rendered page

Googlebot renders JavaScript, but it takes some time. Google says its process has three steps: crawling, rendering, and indexing. When Google crawls a page, it goes into a queue to be rendered. A headless Chromium runs the JavaScript, and then the rendered HTML is indexed by Google (Google Search Central). This process works, but sometimes rendering is slow and lags behind crawling. If something does not load during rendering, it is not indexed.

Most AI crawlers have always looked at the basic website code. A company called Vercel checked how these crawlers work on their network and found out that the crawlers from ChatGPT and Claude actually get the JavaScript files - about 11.50% and 23.84% of the time. But here’s the thing: they don’t use them (Vercel, “The rise of the AI crawler”). They just download the files and then ignore what they’re supposed to do. This is what Vercel said in a report called “The rise of the AI crawler”.

Things are changing, but not in a straightforward way. Towards the end of September 2026, a developer noticed something interesting on his server logs - OAI-SearchBot and GPTBot had started loading JavaScript on his websites, starting from September 25. What’s strange is that he couldn’t find any official announcement from OpenAI about this change, which he mentioned in a report on Indie Hackers (report on Indie Hackers). From what he saw, it seemed like these bots were only loading JavaScript on some websites, not all of them. So, it’s unclear what’s going on - it’s possible that some bots are loading JavaScript some of the time, but that’s not a reliable pattern to base a strategy on.

So, the bottom line is still the same: if the content is important, it should be right there in the initial HTML response. That way, it doesn’t really matter which crawler can render it and which can’t.

Even if Google indexes your site properly, this still matters

It’s easy to think that if Google can handle it, we’re all set. But there are three reasons why that’s not a good idea.

Nowadays, AI responses are a key source of traffic. Think about it, when you ask ChatGPT, Claude, or Perplexity for advice on which tool to use for a job, they rely on the information their crawlers have gathered. If a webpage is basically empty to them, they can’t reference it, no matter how high it ranks on Google. This means that even if a page looks great visually, if it doesn’t have any useful content for the AI systems to read, it’s basically useless to them. They need something to work with, and if they can’t find it, they won’t be able to provide helpful answers.

So, when Google looks at a webpage, it does it in two steps. First, it sees the basic HTML content, and then it comes back to check again after the JavaScript code has run. If the JavaScript takes a while to load or gets stuck, some content might not be there when Google checks the second time, which means it won’t get indexed. This can happen if there’s a slow connection to an API or a script that’s blocked.

A lot of the internet’s behind-the-scenes work doesn’t use JavaScript anyway, like when you share links on Slack, LinkedIn, and X - they just look at the initial response and that’s it. This also applies to some SEO tools and smaller search engines, they don’t bother with JavaScript, they just read the first thing they get and move on.

How to check your site in five minutes

You really don’t need anything fancy to get started. Just having a terminal and a web browser on your computer is all you need to begin.

  1. Check the website’s basic code. Look at the page’s source code, not the live version that tools like DevTools show. Then search for a sentence that you can see on the page. If it’s not there, a simple crawler that doesn’t render pages won’t find it either.

  2. Ask for the page like a bot does. curl lets you send any User-Agent header:

    curl -s -A "Mozilla/5.0 (compatible; GPTBot/1.0; +https://openai.com/gptbot)" \
      https://example.com/pricing | grep -o "<title>[^<]*</title>"

    This is what your server sends back to the User-Agent. You can find the complete lists of bot names in the documentation provided by companies like OpenAI (OpenAI’s crawler page). For our purposes, any string with the bot’s name in it will work.

  3. Let’s compare the number of words. We need to count how many words are visible when we look at the raw HTML and when we see the actual page:

    # raw HTML, tags stripped
    curl -s https://example.com/pricing | sed -e 's/<[^>]*>//g' | wc -w
    # rendered DOM from headless Chrome
    google-chrome --headless --dump-dom https://example.com/pricing \
      | sed -e 's/<[^>]*>//g' | wc -w

    The numbers won’t match exactly, and that’s fine. A gap like 40 versus 1,800 is the problem in one line.

  4. Try using Search Console’s URL Inspection tool. When you click “View crawled page”, you can see the HTML that Google actually got after it rendered the page, and it also shows any resources that didn’t load properly.

  5. Copy the link and share it on Slack or LinkedIn. When you do, you’ll see a preview of the link. This preview is made by a tool that looks at the website, but it doesn’t use JavaScript. If the title is basic and there’s no image, it’s probably because the website is adding important info after the page has loaded.

Three ways to fix it

Approach What it means Good for Trade-off
SSR / SSG The server (or the build) produces full HTML: Next.js, React Router v7 framework mode, Astro, Nuxt New projects, teams that can change the architecture Real migration work on an existing SPA
Prerendering Bots get a cached HTML snapshot, humans get the regular app Existing SPAs, teams that can’t migrate soon Another moving part: caching and bot detection
Partial fixes Static meta tags in index.html, llms.txt, a few static landing pages Quick wins on top of either Doesn’t put the real page content in the HTML

When you’re starting from scratch, using SSR or static generation is usually the simplest solution. But things get tricky with an existing app that’s updated every week and no one has the time to switch it to a new framework right now. This is where prerendering comes in handy.

Making these small changes is still a good idea. For example, adding a proper title, description, and Open Graph tags directly to your index.html file only takes about an hour, and it instantly improves how your links look when shared. Creating an llms.txt file is also helpful because it gives AI systems a simple text map of your most important pages. Just remember, these tweaks don’t change the actual content of your pages, so think of them as bonus fixes, not the main solution.

How prerendering works

It’s pretty straightforward. A special kind of browser, called a headless browser, opens your webpage, waits for all the JavaScript code to run, and then saves the final version of the page as HTML. If a crawler requests that webpage, it gets the saved version instead. But for everyone else, the webpage works like normal.

The switch is typically found right in front of the app, either in nginx or an edge worker. It uses the User-Agent to make decisions. This is where it usually lives:

map $http_user_agent $is_bot {
  default 0;
  ~*(googlebot|bingbot|gptbot|oai-searchbot|chatgpt-user|claudebot|perplexitybot|linkedinbot|twitterbot|slackbot) 1;
}

When a request comes in and it’s marked as a bot, it gets sent to a special server called a prerenderer, unless it’s asking for a static asset. Everything else gets passed on to the index.html file like normal. You can set up your own prerenderer using an open-source server and a headless Chrome browser, or you can pay for a service to do it for you. For instance, Renderlix offers prerendering for AI crawlers at different levels, like nginx or Cloudflare Worker, or even through a special toolkit for Next.js and Express. This way, your React app doesn’t need to be changed.

There are two key things to consider when using this in real-life situations. Firstly, your app needs to let the renderer know when it’s finished loading - you can do this by setting window.prerenderReady = false when you start up, and then switching it to true once all the data has been loaded, which prevents snapshots from being taken midway through the process. Secondly, it’s also important to refresh snapshots whenever the content changes, because if you don’t, bots will just keep on reading old information, like yesterday’s prices, instead of getting the latest updates.

Is prerendering cloaking?

Google thinks that using dynamic rendering, which is like prerendering for bots, is more of a temporary fix than a good long-term solution. This is because it can make things more complicated. But Google also says that its Googlebot usually doesn’t consider this as trying to trick it, as long as the content is pretty much the same as what human users see. This is what Google means by dynamic rendering being a workaround. It’s like finding a way to make things work, but not necessarily the best way to do it. Google wants to keep things simple and make sure that both humans and bots are seeing similar content (Google: Dynamic rendering as a workaround).

The rule is pretty simple: show the same stuff, just present it differently. It’s okay to take a picture of what your users see on the page. But making a separate version loaded with keywords just for search engines is a no-go.

Post-launch checklist

  • Bots receive a successful response and get to see the entire webpage, complete with all its content, instead of being sent elsewhere, getting an error message, or finding nothing there.

  • The robots.txt file won’t stop bots like GPTBot, ClaudeBot, or PerplexityBot from accessing your site unless you specifically tell it to.

  • The picture shows exactly what people see: it’s got the same titles, prices, and words.

  • The website has a title, a description, and Open Graph tags in its basic HTML code.

  • When something new is added, the snapshots get updated, and you can see how long ago the oldest snapshot was made.

  • Some things, like JavaScript, CSS, and pictures, aren’t included when we prerender a page.


The Renderlix team put this article together. We created a prerendering service, so we tried to limit the parts that are specific to our tool to just one paragraph. That way, we can give you some checks to run on your own, without needing us.

FAQ

Frequently Asked Questions.

Yes. Google crawls and renders the content in headless Chromium, then indexes it. The rendering can happen at a later time than the crawling.

In the past, OpenAI’s crawler didn’t run JavaScript files, according to Vercel’s data. But since September 2026, people have said that OpenAI’s crawlers can render some websites, although OpenAI hasn’t confirmed this. So, it’s best to assume they can’t.

Google says this is a temporary fix, not the best way to do things, but they don’t consider it cheating when both robots and people see basically the same stuff.

It’s just a business choice. If you want to show up in answers from ChatGPT, Claude, or Perplexity, then stopping their crawlers is not a good idea. Because if you block them, it doesn’t matter how your site looks to those bots anyway.

Start free today

Let every crawler read your site.

Verify your domain, connect your server or edge, and watch the first bots come in. Free plan with 5,000 renders a month, no card required.