Guide
llms.txt vs robots.txt
robots.txt tells crawlers what they may fetch. llms.txt tells AI tools what's worth reading. One is about access, the other about guidance, and most sites benefit from both.
Side by side
- robots.txt: an established standard, plain rules (User-agent, Allow, Disallow), read by search and AI crawlers.
- llms.txt: a proposed standard in Markdown, with a title, a short summary and links to your key pages.
- Missing robots.txt: crawlers assume everything is allowed.
- Missing llms.txt: AI tools have to work out your important pages on their own.
robots.txt example
User-agent: GPTBot Allow: / User-agent: * Disallow: /admin/ Sitemap: https://example.com/sitemap.xml
llms.txt example
# Example Co > Invoicing software for freelancers in the UK. ## Key pages - [Pricing](https://example.com/pricing): Plans and prices. - [Features](https://example.com/features): What the product does.
Which do you need?
Start with robots.txt: if AI crawlers are blocked, nothing else matters. See the AI crawlers list. Then add llms.txt with the free llms.txt generator, or read what is llms.txt for the full format.
Questions
Does llms.txt replace robots.txt?
No. robots.txt controls crawler access; llms.txt is a guide to your content. Keep both.
Do AI companies read llms.txt?
llms.txt is a proposed standard, and support varies between AI tools. It's cheap to add and helps the tools that do read it.
Where do the files go?
Both sit at the root of your domain: example.com/robots.txt and example.com/llms.txt.
Check your site in a minute
The free audit checks both files and tells you what to change.
Run a free audit