llms.txt vs robots.txt

They sound similar and do completely different jobs. robots.txt is permission; llms.txt is comprehension. You need both — here's the difference in one table.

The one-line difference

robots.txt answers "may I?" — it grants or denies crawlers access. llms.txt answers "what is this?" — it hands a model a curated map of your site so it doesn't have to guess. One gates the pipeline; the other improves what flows through it.

Side by side

robots.txtllms.txt
PurposeCrawl permission per botContent overview for LLMs
FormatPlain-text directives (User-agent / Allow / Disallow)Markdown: H1, summary, sections of links
Locationhttps://site.com/robots.txthttps://site.com/llms.txt
Who obeys itAll reputable crawlers (enforced by convention)AI assistants, optionally, when reading your site
Without itBots crawl by default rulesModels guess your structure from crawling alone
Age1994, universal2024 proposal, early adoption

The six AI crawlers robots.txt should mention

Exact allow-blocks: how to allow AI crawlers.

How they work together

Sequence matters: robots.txt decides whether an AI crawler can fetch anything at all; the fetched pages' schema and structure decide what it understands; llms.txt gives the model your own curated summary and priority map. A site with perfect llms.txt and a blocked PerplexityBot is invisible to Perplexity; a site with open crawling and no structure forces engines to reverse-engineer it. Do all three, in that order — the free checker scores each layer so you know which one is costing you points. Related: build the file in the llms.txt generator, see a real one in the annotated example.

Frequently asked questions

Does llms.txt replace robots.txt?
No — they do different jobs. robots.txt controls access (and is obeyed by all reputable crawlers); llms.txt helps models understand your site once they can read it. You need robots.txt to open the gates and llms.txt to hand over the map.
If I block a bot in robots.txt, will it still read my llms.txt?
A well-behaved crawler respects robots.txt first — if it can't fetch, it won't use your file. Permission always precedes comprehension.
Is llms.txt an official standard?
It's a widely discussed proposal (llmstxt.org), not an RFC. Adoption by engines is gradual, but the file costs minutes, doubles as an information-architecture exercise, and is already an explicit readiness signal in scoring tools like ours.