Picture two people at the door of your business. One is a bouncer. The other is a tour guide. Robots.txt is the bouncer. It decides which crawlers may come in and which paths stay off limits. It grants or denies permission, and it does nothing else. An llms.txt file is the tour guide. It is a short summary you write for the models, telling them what your business does and where the useful pages are. It can neither block nor allow anything.
Both files live at the root of your site. Both jobs matter. They work together. They do not compete.
Why people mix them up
Both files live at the root. Both end in .txt. Both show up on every AI search checklist. It is easy to file them as one job when they are two.
The name adds to the confusion. Llms.txt sounds like a control file. It is not. Nothing reads it to decide permission. It is the opposite of a gate. It is an invitation to read.
Robots.txt misleads in the other direction. It looks like it says something about your business. It does not. It names crawlers and paths. A flawless robots.txt file tells a model nothing about what you sell.
Side by side
| Question | robots.txt | llms.txt | |---|---|---| | What does it do | Sets permission for crawlers | Summarizes your business for models | | Can it block a crawler | Yes | No | | Can it describe what you sell | No | Yes | | Where does it live | Site root | Site root | | When does it change | When your crawler policy changes | Whenever your products, pages, or policies change |
Fix permission first
Check your robots.txt file, using your own domain in place of the example domain.
https://yourdomain.com/robots.txt
Confirm the file exists. Confirm the AI crawler groups are allowed. Create or fix it before anything else. A declared crawler that is blocked never reaches your pages. It never reaches your llms.txt file either.
Then write the briefing
Check whether your llms.txt address loads.
https://yourdomain.com/llms.txt
If it does not, create it. Keep it short and in your own words: your name, what you sell, who it is for, and how a customer buys. The shape is simple:
# Your Shop Name
One line on what you sell and who it is for.
## Products
- [Product line one]: one-line description
- [Product line two]: one-line description
## How to buy
Where and how a customer completes a purchase.
Keep both current, on different rhythms
A new product line, a new page, or a new policy means two updates: update the site, and update the llms.txt summary. You only touch robots.txt when your crawler policy itself changes. The briefing ages faster than the gate, so revisit it more often.
A ski shop that shows how the two files work together
Picture a ski rental shop in Denver. Its robots.txt allows the AI crawlers. Its llms.txt file says, in plain Markdown, that it rents skis and snowboards in Denver, sells winter clothing, and runs a workshop that tunes skis. A crawler that visits the site gets permission from one file and a briefing from the other.
If robots.txt blocks the crawlers, the declared bots will never get to the briefing. Delete the llms.txt file and the crawler reads your pages raw, with no summary to guide it. Each file does its own job, and neither can cover for the other.
What this guide does not do
This guide draws the boundary between the two files. It does not spell out the full llms.txt format, and it does not list every crawler rule. Watching either file for drift over time is also a separate job.
Frequently Asked Questions
Can llms.txt block a crawler?
No. It has no allow or disallow syntax, and nothing reads it to decide permission. Blocking belongs to robots.txt alone.
Can robots.txt describe my business to a model?
No. It names crawlers and paths. A perfect robots.txt file tells a model nothing about what you sell. That is the briefing file's job.
Which file do I fix first?
Robots.txt. A blocked declared crawler never reaches your pages, and it never reaches your llms.txt file either.
Do I need both files?
Yes. They complement each other. One grants permission. The other gives the model a summary worth reading.
Verified Sources & Technical Documentation
- llms.txt proposal Specific https://llmstxt.org
- RFC 9309, Robots Exclusion Protocol General Docs https://www.rfc-editor.org/rfc/rfc9309.html
links marked specific point to the page that supports the claim in this guide. Links marked general docs point to the vendor's general docs section for that topic, not to a page that proves every step. Check the vendor docs for the current path before relying on a menu name or click path in this guide.