ChatGPT, Claude and Perplexity can only use what their crawlers can fetch and read. When a site is missing from AI answers, I check four things first: whether the content exists without JavaScript, whether robots.txt or a firewall blocks the AI crawlers, whether the pages carry structured data, and whether there’s an llms.txt. All four can be checked with curl and your browser’s view-source.
Does your content exist without JavaScript?
Most AI crawlers request your page, read the HTML that comes back and stop there. They don’t run your JavaScript. In a December 2024 analysis of AI crawler traffic, Vercel and MERJ found that none of the major AI crawlers they tracked rendered JavaScript, including OpenAI’s, Anthropic’s and Perplexity’s. The exceptions were Gemini, which runs on Googlebot’s infrastructure, and AppleBot, which renders pages with a browser-based crawler.
If your site is a client-rendered single-page app, the HTML those crawlers get is often an empty div and a script tag. Everything a visitor sees is invisible to them.
To check, look at what your server returns before any script runs:
curl -s https://your-site.com/ | sed -e 's/<[^>]*>/ /g' | tr -s ' \n' | head -c 2000
If your headline and your main copy are in that output, you’re fine. If you get a page title and a few navigation words, the crawlers get the same. In the browser, use view-source (Ctrl+U), not the DevTools Elements panel, which shows the page after JavaScript has run.
The fix is to render the main content on the server or at build time. Most current frameworks support one or both.
Are AI crawlers allowed in your robots.txt?
Each AI company runs more than one bot, and they do different jobs. Blocking one is a different decision from blocking another.
| User agent | Company | What it does |
|---|---|---|
| GPTBot | OpenAI | Collects content that may be used to train models |
| OAI-SearchBot | OpenAI | Indexes pages for ChatGPT search |
| ChatGPT-User | OpenAI | Fetches a page when a user asks ChatGPT to |
| ClaudeBot | Anthropic | Collects content that may be used to train models |
| Claude-SearchBot | Anthropic | Indexes pages for Claude’s search results |
| Claude-User | Anthropic | Fetches a page when a user asks Claude to |
| PerplexityBot | Perplexity | Indexes pages for Perplexity’s search results |
| Perplexity-User | Perplexity | Fetches a page when a user asks Perplexity to |
| Google-Extended | A control token for Gemini training and grounding. It doesn’t affect Google Search | |
| meta-externalagent | Meta | Collects content that may be used to train models |
Blocking GPTBot or ClaudeBot is a training opt-out. It doesn’t remove you from ChatGPT or Claude search. Blocking OAI-SearchBot, Claude-SearchBot or PerplexityBot does, so check that you haven’t done it by accident. The vendors document their bots here: OpenAI, Anthropic, Perplexity, Google and Meta. User-triggered fetchers don’t always treat robots.txt the way crawlers do, so read each vendor’s page for the details.
One robots.txt rule catches people out. A bot that has its own User-agent group ignores the * group completely:
User-agent: *
Disallow: /admin/
User-agent: GPTBot
Disallow: /
Here GPTBot is blocked everywhere and every other bot follows the * rules. If you later add a group for OAI-SearchBot with only Allow: /, it stops inheriting Disallow: /admin/. Repeat any shared rules in every named group.
robots.txt isn’t the only gate. A CDN or firewall with bot protection can answer AI crawlers with a 403 or a challenge page, whatever your robots.txt says. A quick test:
curl -s -o /dev/null -w "%{http_code}\n" -A "OAI-SearchBot" https://your-site.com/
A 403 or a challenge page here is worth a look in your firewall settings. The test isn’t conclusive in either direction: some firewalls verify crawlers by their published IP ranges, so a faked user agent from your laptop can be treated differently from the real bot.
Do your pages say what they are?
Structured data (JSON-LD) states facts in a form a machine doesn’t have to guess at: who wrote the page, when it was updated, what the product costs, which company is behind it. Nobody outside the AI companies knows exactly how much weight it gets in AI answers. It’s still the cheapest way to state those facts without ambiguity, and the search engines that feed AI answers do read it.
Start with Organization or Person on the home page, Article on posts, Product on product pages, and FAQPage where real questions and answers are visible on the page. To check, view the source and search for application/ld+json, then run the page through Google’s Rich Results Test or the Schema Markup Validator. If you have none, the JSON-LD generator builds the common types from a form.
Do you have an llms.txt?
llms.txt is a proposed convention: a Markdown file at /llms.txt with a one-paragraph summary of your site and links to the pages that matter, grouped by section. The AI companies haven’t said how much they use it, so treat it as a cheap extra on top of the checks above. The llms.txt generator builds a first draft from your sitemap.
Check your site in one go
The AI visibility checker runs these checks against any public URL. It counts the words in your raw HTML, tests your robots.txt against each AI crawler above, looks for JSON-LD and llms.txt, and covers the basics like noindex, canonical and title. Every failed check comes with the fix.