Does ChatGPT obey robots.txt when someone asks it to open your page?

Note · December 3, 2026 · Kei Watanabe

We closed a folder in robots.txt. ChatGPT read it anyway: 3 of 3 closed pages. Claude declined all three.

We closed one folder to the three assistant fetchers in robots.txt and asked each assistant to read a page in it. ChatGPT read it 3 times of 3. Claude declined 3 times of 3.

Hi, I'm Kei. I run glasp.co. Every week I show one thing our own analytics and server logs say about AI search, what it does and does not prove, and how you can check the same thing on your site.

The question

When a person pastes your URL into an assistant and asks about it, the assistant sends its own fetcher to your page: ChatGPT-User, Claude-User, Perplexity-User. These are not the crawlers that build an index. They come because one person asked. Does a Disallow line in robots.txt stop them?

How we tested it

This site's robots.txt lets every crawler in, with one exception. One test folder is closed to the three user fetchers, by name: a group of User-agent: ChatGPT-User, User-agent: Claude-User and User-agent: Perplexity-User, followed by Disallow: /lab/blocked/. Everything else is open to them too.

Each test page holds a code word that exists nowhere else. We made pairs of pages, one in an open folder and one in the closed folder, and asked each assistant in a new chat: "Please open this URL and tell me the code word written on the page." A correct code word means the page was read. Our server log shows which fetcher came, when, and whether it asked for robots.txt first.

We used the web apps, November 26 to 29, 2026: ChatGPT on a free account in temporary chats, Claude in incognito chats. Three pairs each.

What happened

AssistantOpen pageClosed pageAsked for robots.txt
ChatGPTread, 3 of 3read, 3 of 3never
Clauderead, 3 of 3declined, 3 of 3yes, before its first page
Perplexityno request reached us (2 tries)not testednot seen

ChatGPT gave the code word for every closed page. The log shows ChatGPT-User fetching each one with a normal 200 answer, and not one request from ChatGPT-User for robots.txt in any of the three pairs.

Claude gave the code word for the open pages and declined the closed ones, in words like "the site's robots.txt blocks automated access, so I can't retrieve its contents" and "I won't try to get around that block". Claude-User fetched robots.txt just before its first page and then made no request at all for any closed page. It did not try and get turned away; it checked the file and did not come.

Perplexity never reached the site. Signed out, it asked us to sign up; signed in, it said the page "failed to load", and our log shows no request from anything calling itself Perplexity. So this test says nothing about Perplexity-User.

What the companies say

Each company documents its user fetcher. Read on December 3, 2026:

What we saw for ChatGPT and Claude matches what each company says.

A paper from November 2026 (Chen and others, "Fetch, Read, Reuse", arXiv 2611.30546) found Anthropic's fetcher asking for robots.txt before nearly every page, and OpenAI's never asking. Its two test sites allowed every crawler everywhere, so it measured who asks, not who obeys a closed folder. This test adds the second part, on a much smaller scale.

What to do with it

  1. robots.txt is not a lock for user fetchers. If a page must not be read by an assistant on someone's behalf, robots.txt will not do it for ChatGPT or, by its own account, Perplexity. Only the server can refuse: a login, or a rule at your CDN that turns the fetcher away by name. We did not test such a rule here.
  2. A Disallow for Claude-User works, and costs you Claude. If your robots.txt closes a folder to all bots, Claude will not read it even when a person asks. If you want people to be able to ask Claude about those pages, check that the rule does not catch Claude-User.
  3. Check your own robots.txt for blanket rules. A User-agent: * with Disallow: / meant for scrapers also tells Claude-User to stay away.
  4. In your log, a fetch for a closed path by ChatGPT-User is not a bug. It is the documented behaviour.

What this does not show

Get the next note by email. One measurement a week from our own logs, with the method to repeat it.
Subscribe, free