# How to check if ChatGPT can read your website

> A ten-minute manual check with curl: robots.txt for OpenAI's three agents, content without JavaScript, the markdown-emptiness test, and WAF challenge pages.

EchoRanked Team · Published 2026-06-04 · Updated 2026-09-30

**Short answer:** ChatGPT can read and quote your site when four checks pass: `robots.txt` and your CDN let OpenAI's crawlers in, your content is in the raw HTML before JavaScript runs, the page states an answer in plain text, and no bot shield serves the crawler a challenge page. You can run all four with `curl` in about ten minutes.

**Key takeaways**

- OpenAI runs three separate agents, and `OAI-SearchBot` is the one that decides whether you can appear in ChatGPT search.
- Cloudflare has asked every new domain to choose whether to allow AI crawlers since July 2025, so check the edge as well as your `robots.txt` file.
- OpenAI's crawlers do not execute JavaScript, so client-rendered content is invisible to them.
- A page can be reachable and rendered and still give a model nothing to quote.
- Run the checks in order (access, rendering, content, delivery) and stop at the first failure.

"ChatGPT" is not one crawler, and that trips people up first. OpenAI runs three, each governed independently, and blocking the wrong one is the most common reason a site never shows up as a source.

## Which OpenAI crawlers read your site?

OpenAI uses three user agents, and each one controls a different outcome. [OpenAI's crawler documentation (2026)](https://developers.openai.com/api/docs/bots) describes them this way:

| Agent | When it fires | What blocking it costs you |
|-------|---------------|----------------------------|
| `GPTBot` | Crawling for model training | Your content is excluded from future training data |
| `OAI-SearchBot` | Indexing for ChatGPT search | You won't be shown in ChatGPT search answers (you can still appear as a navigational link) |
| `ChatGPT-User` | On-demand fetch when a user or a GPT action opens your URL | ChatGPT can't read your page when a user links it; OpenAI says `robots.txt` rules may not apply to these user-initiated visits |

If your goal is to be *cited in ChatGPT*, watch `OAI-SearchBot`. The settings are independent, so you can allow search while disallowing training. For the full cross-engine roster, see [the complete AI crawler list](/blog/ai-crawler-user-agents) or the [AI crawler reference table](/resources/ai-crawler-list).

## Check 1: Does your live robots.txt let OpenAI in?

The file that counts is the `robots.txt` your CDN actually serves, not the one in your repo. Fetch it:

```bash
curl -s https://yoursite.com/robots.txt
```

Read it the way a crawler would. Look for:

- A blanket `User-agent: *` followed by `Disallow: /` with no explicit allow for the AI bots. That blocks `OAI-SearchBot` too.
- Named groups such as `User-agent: GPTBot` / `Disallow: /`, often added during an "AI scraping" scare.
- Rules injected at the edge. Since [1 July 2025, Cloudflare asks every new domain at sign-up whether to allow AI crawlers](https://www.cloudflare.com/press/press-releases/2025/cloudflare-just-changed-how-ai-crawlers-scrape-the-internet-at-large/), so a block can come from a dashboard setting rather than your file.

If you *want* to be read, the explicit form is:

```text
User-agent: GPTBot
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /
```

Under the [Robots Exclusion Protocol (RFC 9309, 2022)](https://www.rfc-editor.org/rfc/rfc9309.html), user-agent tokens match case-insensitively, and a crawler obeys the group that names it. A `Disallow: /` under `*` does not apply to a bot with its own named group, but a bot with no named group falls back to `*`. When in doubt, name the bots.

## Check 2: Is your content in the HTML before JavaScript runs?

Your content has to exist in the raw HTML response, because OpenAI's crawlers do not execute JavaScript. [Vercel's analysis of AI crawler traffic (December 2024)](https://vercel.com/blog/the-rise-of-the-ai-crawler) found that none of the major AI crawlers it measured render JavaScript, including `GPTBot`, `OAI-SearchBot`, `ChatGPT-User`, `ClaudeBot` and `PerplexityBot`. Gemini, which uses Googlebot's infrastructure, was the exception.

Pick a sentence you care about (a price, a product claim, a key definition) and grep the raw response for it:

```bash
curl -s https://yoursite.com/pricing | grep -i "29 per month"
```

If `grep` finds it, a crawler can too. If not, the content is client-rendered and effectively invisible to bots that don't run scripts. A client-only page usually reduces to a near-empty body:

```bash
curl -s https://yoursite.com/pricing | grep -c "<div id=\"root\">"
```

A page that is `<div id="root"></div>` plus a script bundle is a shell. The fix is server-side rendering or static generation. In Next.js terms, keep the content in Server Components or statically generated pages, not in a client component that fetches after mount.

## Check 3: Does the page give a model something to quote?

A page passes this check when its plain text, stripped of markup, still contains a direct answer. A page can pass Checks 1 and 2 and still give a model nothing to lift.

A rough approximation is to strip the tags and look for answer-shaped text:

```bash
curl -s https://yoursite.com/ \
  | sed -e 's/<[^>]*>//g' \
  | tr -s ' \n' ' \n' \
  | grep -iE 'price|plan|how it works|what is' || echo "no answer-shaped text found"
```

It's crude, but the principle holds. If the readable text on your homepage is three taglines and a "Book a demo" button, a model has nothing to quote. Pages that get quoted state the answer plainly in the first hundred words. A cleaner test is to run the page through any HTML-to-markdown converter: if the markdown is nearly empty, so is the page from a model's point of view.

Two reliable fixes: put the answer in the opening paragraph, and publish markdown versions of key pages, the convention behind [llms.txt and its `.md` companion files](/blog/what-is-llms-txt).

## Check 4: Is a WAF serving crawlers a challenge page?

A WAF challenge is when your bot protection serves crawlers a CAPTCHA, a JavaScript challenge or a 403 while humans get the real page. It looks fine in your browser, which makes it the sneakiest failure. A crawler that gets a challenge page indexes the challenge page.

Simulate the crawler by sending its user-agent string (the format OpenAI documents as of September 2026):

```bash
curl -s -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36; compatible; OAI-SearchBot/1.4; +https://openai.com/searchbot" \
  -o /dev/null -w "%{http_code}\n" https://yoursite.com/
```

A `200` with real content is good. A `403`, a `503`, or a `200` whose body says "Checking your browser…" means your protection layer is eating the bot. Allow-list verified crawlers at the edge, and verify by the crawler's published IP ranges, not the user-agent string alone, because user agents are easy to spoof. OpenAI publishes its ranges at `openai.com/searchbot.json`, and [the complete AI crawler list](/blog/ai-crawler-user-agents) covers the other engines.

## How do you run the four checks together?

Run them in order and stop at the first failure, because each one gates the next:

1. **Access:** `robots.txt` and the edge allow the bot.
2. **Rendering:** the content is in the raw HTML.
3. **Content:** there's an answer in the first hundred words.
4. **Delivery:** no challenge page replaces your content for bots.

Most "ChatGPT can't see us" problems are check 1 or check 2: plumbing, not strategy, and plumbing is fixable in an afternoon. Readability is the entry ticket. Whether ChatGPT then mentions you is a separate question, covered in our [guide to AI visibility](/blog/ai-visibility) and in [how to rank in Perplexity](/blog/how-to-rank-in-perplexity) for the engine with the most visible citations. [EchoRanked](/) automates the access, rendering and answer-first checks and shows the evidence behind each verdict. Once the pages are readable, curate which ones matter with [a good llms.txt](/blog/what-is-llms-txt).

## Frequently asked questions

### Does ChatGPT run JavaScript when it reads a website?

No. Vercel's December 2024 analysis of AI crawler traffic found that OpenAI's GPTBot, OAI-SearchBot and ChatGPT-User fetch pages without executing JavaScript. Some fetch script files but do not run them. Content that only appears after a framework mounts in the browser is therefore invisible to ChatGPT's crawlers. Server-render or statically generate anything you want ChatGPT to read, and check it with `curl` against the raw HTML.

### Which OpenAI crawler should I allow to be cited in ChatGPT?

Allow `OAI-SearchBot`. OpenAI's crawler documentation says it is the agent that surfaces websites in ChatGPT search, and sites that opt out are not shown in search answers. `GPTBot` collects training data and can be blocked separately without affecting search. `ChatGPT-User` handles fetches a user triggers, such as opening a pasted link, and OpenAI notes that robots.txt rules may not apply to those visits.

### Why would ChatGPT see a different page than I see in my browser?

There are two usual causes. Your content may be client-rendered, so your browser builds it with JavaScript that the crawler never runs. Or a WAF or bot manager may serve crawlers a challenge page or a 403 while humans get the real page. Fetch the page with `curl` and a bot user-agent string to see what the crawler actually receives, then fix whichever layer is replacing your content.

### How long does ChatGPT take to notice a robots.txt change?

For search, OpenAI's crawler documentation says it can take about 24 hours from a robots.txt update for its systems to adjust. Allowing `OAI-SearchBot` does not guarantee you will be cited right away, though. It only makes your pages eligible to be indexed for ChatGPT search. Whether you then appear as a source depends on your content and on how often the engine chooses to cite you.
