llms.txt vs robots.txt: what each file actually does today

robots.txt grants or denies crawling and major crawlers honor it. llms.txt lists your content for agents and grants or denies nothing, and no major AI provider documents reading it.

robots.txt and llms.txt answer different questions, and confusing them causes both wasted effort and false confidence. robots.txt is a protocol: a group of rules per user-agent token, honored by the major crawlers, capable of granting or denying access to paths. llms.txt is a proposal from 2024: a markdown file at the site root that lists your main content with links and short annotations, for language models to read. It grants nothing, denies nothing, and nothing enforces it. A site can publish both and the two never conflict, because “may I fetch this page” and “here are the pages worth quoting” are different conversations.

What robots.txt actually does today

robots.txt decides crawling. Google documents it as the mechanism for controlling how its crawlers reach your site for Search. OpenAI documents GPTBot and OAI-SearchBot as robots.txt tokens and states that sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers. Anthropic documents ClaudeBot, Claude-SearchBot and Claude-User as robots.txt-honoring tokens, and Perplexity documents PerplexityBot likewise. Two caveats matter: robots.txt does not control indexing, which is what noindex does, and user-initiated fetchers such as OpenAI’s ChatGPT-User may act on a person’s request without robots.txt applying, per OpenAI’s own documentation.

What llms.txt actually does today

The honest answer is: less than the hype, more than nothing. The format is real and published by major AI companies for their own docs. What nobody has publicly documented is a production system that fetches third-party llms.txt files as an input to anything. Treat publishing one as a cheap, well-formed bet: it costs minutes, it makes your site legible to any agent that does read the convention, and it makes no guarantee. For the full argument with the evidence, see llms.txt: does it do anything.

Side by side

robots.txt llms.txt
Status Long-standing protocol, honored by major crawlers Proposal since 2024, no documented third-party readers
Controls Crawling access per user-agent token Nothing; it is a listing
Can block a bot Yes, with Disallow No
Can get you cited Indirectly: citation requires the crawler to reach the page Only if a reader implements it
Where it lives Site root, served as text/plain Site root, served as text/markdown

The practical pairing

Decide the access question in robots.txt first, because it has documented effect: allow the search AI crawlers whose citations you want, such as OAI-SearchBot, Claude-SearchBot and PerplexityBot, and decide separately on the training tokens such as GPTBot, ClaudeBot and CCBot. The rule sets for that are in ai-crawler-robots-txt-recipes. Then, if you want, publish an llms.txt pointing at the pages an agent should read. The order matters because an llms.txt that advertises pages your robots.txt blocks just documents a locked door.

Verification is per-URL and per-bot, which is what the AI crawler checker does: it resolves the robots.txt verdict per AI crawler for a given path and probes the edge with each search bot’s real user agent, so a CDN-level block that never touches your files still shows up. The robots.txt tester goes rule-deep and diffs a proposed file against the live one.

Stillindexed monitors those per-bot verdicts for every page you watch and raises a warning when a bot that was allowed is newly disallowed. The 14 day trial covers it.

For the token-by-token version of the access question, read GPTBot is not ChatGPT search and how AI crawlers see your site.

Fix it on your platform

An AI search crawler blocked from a site, with the exact setting named on each one.

Questions

What is the difference between llms.txt and robots.txt?
robots.txt tells crawlers what they may and may not fetch, and major crawlers from Google, OpenAI, Anthropic and Perplexity document honoring it. llms.txt is a proposed markdown file that lists a site's main content for language models. It grants or denies nothing and has no enforcement. One answers "may I fetch this", the other answers "where is the good stuff".
Does llms.txt block AI crawlers?
No. It is a listing file, not an access control. Blocking a crawler requires a Disallow rule for that crawler's token in robots.txt, or a server or CDN block. Nothing in the llms.txt proposal is capable of blocking anything.
Do AI providers read llms.txt?
No major provider publicly documents reading third-party llms.txt files as an input. OpenAI, Anthropic and Google all publish llms.txt files for their own developer documentation, which shows the format is real, but says nothing about whether they fetch yours.
Can I use both files together?
Yes, and they do not conflict because they answer different questions. A common pairing is a robots.txt that allows search AI crawlers like OAI-SearchBot while blocking training crawlers, plus an llms.txt that points agents at the pages worth quoting.
Does llms.txt help SEO?
No. Search engines index HTML pages and llms.txt is neither a ranking factor nor a page competing for queries. It exists for agents, not for the search index.