1. Home
  2. Blog
  3. Web Development
Web Development

Can AI Search Read Your Website? A Technical Checklist

Most AI crawlers do not run JavaScript. Here is how to check what ChatGPT, Perplexity and Google actually see on your site, and what to fix first.

By Muh Khaidir AlfikriUpdated 10 min readBahasa Indonesia →
Cover: Can AI Search Read Your Website? A Technical Checklist

Short answer: if your website shows its content only after JavaScript runs in the browser, most AI assistants cannot read it. A 2024 study by Vercel and MERJ found that none of the major AI crawlers, including OpenAI's, Anthropic's and Perplexity's, executed JavaScript. They saw the raw HTML your server sends, and on many modern sites that HTML is close to empty.

That matters more every month, because a growing share of buyers now ask ChatGPT, Perplexity, Gemini or Google's AI Overviews before they ever open a search result. If the assistant cannot read your pages, it cannot recommend you. This checklist covers what to verify and what to fix, in order of impact.

Why AI crawlers see less than your visitors do

When a person opens your site, their browser downloads the HTML, runs your JavaScript, calls your APIs and paints the final page. A crawler that does not run JavaScript stops at the first step.

According to the Vercel and MERJ analysis, the crawlers that fetched JavaScript files still did not execute them. The exceptions were Google's Gemini, which uses Googlebot's rendering infrastructure, and AppleBot. Everyone else saw only what was in the initial HTML.

So a single-page app built with React, Vue or Angular and rendered entirely in the browser can rank reasonably on Google, which does render JavaScript, while being largely invisible to ChatGPT search and Perplexity.

The 2-minute test

You do not need special tools to see what a non-rendering crawler sees:

  1. Open your page, right-click and choose View page source (not "Inspect", which shows the rendered page).
  2. Search the source for a sentence from the middle of your page, for example a service description or a price list heading.
  3. If the sentence is there, crawlers can read it. If you find only <div id="root"></div> and script tags, they cannot.

From a terminal, curl -s https://yourdomain.com/page | grep "your sentence" does the same job and is easy to repeat for every important page.

Test the pages that close the sale

Run the test first on decision pages: service pages, case studies, pricing or packages, and the contact page. An assistant needs these when someone asks "who can build this for me?", and they are often the most interactive pages on a site.

Pick sentences from the parts that hide or load content:

  • Tabs and accordions. Search the source for the text inside the second tab or a collapsed FAQ answer, not only the first one. If it is in the HTML and merely hidden with CSS, crawlers can read it. If it is fetched when someone clicks, they cannot.
  • Sliders and carousels with case studies or testimonials, which often load their slides from a script.
  • Contact details such as your city, service area, email or WhatsApp number. If they are injected by a widget, an assistant may not be able to say where you operate or how to reach you.

Check whether AI bots actually visit

The test above shows what a crawler would see. Your server logs show whether one came. Look in your web server access log (Nginx, Apache) or your host or CDN's request logs.

These are the main user agents to search for, as described in each operator's own documentation (see Sources):

User agent Operator What it does
OAI-SearchBot OpenAI Finds pages to show in ChatGPT search results
GPTBot OpenAI Collects content that may be used to train models
ChatGPT-User OpenAI Fetches a page when a ChatGPT user's request needs it
Claude-SearchBot Anthropic Crawls to improve Claude's search results
ClaudeBot Anthropic Collects content that may be used to train models
Claude-User Anthropic Fetches a page when a Claude user asks for it
PerplexityBot Perplexity Indexes pages to show and link in Perplexity answers
Perplexity-User Perplexity Fetches a page when a Perplexity user's question needs it
Googlebot Google Crawls for Google Search, including AI Overviews

Google-Extended does not appear in logs: it is only a robots.txt token, and Google fetches with its normal crawlers. On a server with a standard combined log format, this lists, for each bot, how many requests it made per status code and URL:

for bot in OAI-SearchBot GPTBot ChatGPT-User Claude-SearchBot ClaudeBot Claude-User PerplexityBot Perplexity-User Googlebot; do
  echo "== $bot"; grep "$bot" access.log | awk '{print $9, $7}' | sort | uniq -c | sort -rn | head -10
done

Verify the bot is real

Anyone can put "GPTBot" in a user-agent string. OpenAI and Perplexity link lists of their crawler IP addresses from their bot documentation, so check the IP in your log against the current list. For Google, run a reverse DNS lookup on the IP (host <ip>), confirm the name ends in googlebot.com or google.com, then look up that name and confirm it returns the same IP. For Anthropic, follow the guidance in its crawler article (see Sources). Where an operator publishes no IP list, treat the user-agent string as a claim, not proof.

Read the status codes

Status What it means for the bot
200 The page was delivered
301 / 302 Redirected; check that the target also returns 200
403 or 429 Refused or rate limited, often by a firewall or bot-protection rule
404 / 5xx Missing page or server error

A 200 only proves the page was sent. It does not prove the assistant read the text you care about, or that it will use or cite it. That is why the log check and the page-source test belong together: the log confirms the visit, the source test confirms what the visit contained.

The checklist

1. Serve real content in the HTML

This is the fix that matters most. You have three options, from most to least effort to retrofit:

Approach What it means Good fit for
Server-side rendering (SSR) The server builds the full HTML on every request Pages with live data: catalogs, dashboards with public views
Static generation / prerendering HTML is built once at deploy time Marketing pages, service pages, blogs
Static HTML No framework, plain HTML files Small sites and landing pages

Next.js, Nuxt, Astro and SvelteKit all support SSR and static generation. For an existing single-page app, prerendering the public marketing pages at build time is often the quickest win: the app keeps working as before, and crawlers receive finished HTML.

2. Give every page a unique title, description and canonical URL

AI search tools still find candidate pages through search indexes. Google's documentation on AI features is explicit that the usual SEO best practices remain relevant and that there are no extra requirements to appear in AI Overviews. A unique <title>, a meta description that answers the page's main question, and a canonical link remain the foundation.

3. Decide deliberately which AI crawlers you allow

Many sites copied a robots.txt rule that blocks every AI bot. Check what yours says, because the crawlers have different jobs. OpenAI documents that OAI-SearchBot decides whether your site can appear in ChatGPT search, while GPTBot collects content that may be used for model training, and the two are controlled independently. You can allow search visibility while opting out of training:

User-agent: OAI-SearchBot
Allow: /

User-agent: GPTBot
Disallow: /

Google works similarly: the Google-Extended token controls use for Gemini training, not whether you appear in Google Search or AI Overviews. Also check your CDN or firewall: bot-protection settings can block AI crawlers even when robots.txt allows them.

4. Add structured data that describes who you are

Schema.org markup in JSON-LD tells machines what a page is about without guessing. The useful minimum for a business website:

  • Organization (or LocalBusiness) with your name, logo, address and social profiles, on every page
  • Service on service pages
  • BlogPosting with author and dates on articles
  • FAQPage where you answer real questions
  • BreadcrumbList to show how pages relate

5. Write pages that answer questions directly

Generative engines pull passages, not whole pages. Pages that state the answer in the first sentences, use descriptive subheadings, and back claims with numbers and sources are easier to quote. Research on generative engine optimization by Aggarwal and colleagues found that adding citations, quotations and statistics raised a source's visibility in AI answers by up to about 40%.

6. Publish a sitemap and keep dates honest

A sitemap.xml listing every public page, with accurate lastmod dates, helps crawlers find new and updated content quickly. Show a visible "updated" date on articles when you change them substantially, and do not bump dates without real changes.

7. Consider llms.txt, but do not rely on it

llms.txt is a proposed plain-text file that summarises a site for language models. It is cheap to add and can help AI tools that read it, but it is a community proposal rather than a standard that the major search engines have committed to. Treat it as a bonus on top of the items above, never as a replacement.

Frequently asked questions

Does Google have the same problem with JavaScript?

Less so. Googlebot renders JavaScript, although rendering can be delayed and errors can still hide content. Google's Gemini uses the same infrastructure. The gap is mainly with other AI assistants.

Is a WordPress site safe?

Usually yes, because WordPress renders pages on the server. Check page builders and plugins that load content with JavaScript after the page opens, such as some sliders, tabs and pricing tables.

Will blocking GPTBot remove us from ChatGPT?

Not from ChatGPT search. According to OpenAI, blocking GPTBot only opts you out of training. Appearing in ChatGPT search depends on OAI-SearchBot.

A bot visited and got a 200. Why are we still not cited?

Delivery is only the first step. The page also has to contain the answer in its HTML, be indexed, and be a better source for that question than the alternatives.

How long until changes show up in AI answers?

OpenAI notes that robots.txt changes for its search crawler take about a day to apply. Being cited depends on crawling, indexing and how competitive the topic is, so plan in weeks to months rather than days.

Where to start

Run the two-minute test on your homepage, your main service pages and your contact page, then check a week of logs for the bots in the table. If the content is missing from the page source, fix rendering before anything else; every other optimisation depends on it.

If your site is a single-page app and you are not sure how to move to server rendering without a rebuild, that is exactly the kind of work Kaff Labs does: we audit what crawlers see, then prerender or migrate the pages that bring in customers. See what Kaff Labs builds or book a call with our team.

Sources:

  • #geo
  • #seo
  • #ai search
  • #javascript
  • #structured data

Want a system like this for your business?

Tell us how your business runs today. In a 45-minute call we map what to build first and what it takes.

Book a 45-minute call →

Keep reading

Cover: Signs Your ERP Is Holding Your Business Back
EN9 min read

Signs Your ERP Is Holding Your Business Back

Workaround spreadsheets, slow month-end and integrations nobody dares touch. Eight signs your ERP limits growth, and how to choose: fix, extend or replace.

Read article →
Cover: Custom Software vs SaaS for SMEs: How to Decide
EN9 min read

Custom Software vs SaaS for SMEs: How to Decide

Buy SaaS for standard work, build custom where your process is the edge or tools must connect. A 6-question test, hidden costs and a contract checklist.

Read article →