llms.txt: What It Is and How to Create One
September 12, 2026 · 6 min read
robots.txt tells crawlers where they may not go. llms.txt does the opposite job for AI: it tells models what your site is and which pages matter, in plain language. Here is what the file is, why it helps you get cited, and exactly how to write one.
What is llms.txt?
llms.txt is a simple Markdown file you publish at the root of your site, at yourdomain.com/llms.txt. It gives large language models a clean, curated summary of what you do and a short list of your most important pages. Instead of forcing a model to reconstruct your business from scattered HTML, navigation and scripts, you hand it a tidy map of the parts that matter.
Why it matters
Answer engines have limited attention and a strong preference for sources they can parse confidently. A good llms.txt reduces the chance they misread you and increases the chance they pull from your best pages. It is a low-effort, high-signal way to make yourself easier to understand, which is the whole game in answer engine optimization.
What goes in it
The format is deliberately minimal. A useful llms.txt has:
- An H1 with your business or site name.
- A one or two sentence summary in a blockquote, what you do, for whom.
- A “Core pages” section linking your most important URLs, each with a short description.
- A “Key facts” section: the specifics a model should get right (hours, areas, guarantees, pricing).
A short example
# Acme Roofing
> Acme Roofing is a family-run roofing company serving Greater Manchester.
> We handle repairs, full replacements, and emergency call-outs, usually
> within 24 hours, with a 10-year workmanship guarantee.
## Core pages
- [Services](https://acme-roofing.co.uk/services): Repairs, replacements, and emergency roofing.
- [Areas we cover](https://acme-roofing.co.uk/areas): Every town we serve across Greater Manchester.
- [Pricing](https://acme-roofing.co.uk/pricing): How we quote and typical price ranges.
- [Contact](https://acme-roofing.co.uk/contact): Book a free inspection. Phone and email.
## Key facts
- Founded 2009, fully insured, 10-year workmanship guarantee.
- Emergency call-outs usually within 24 hours.
- Free, no-obligation roof inspections.How to create one
- Write the file in any text editor, following the shape above. Keep it honest and specific.
- Save it as
llms.txtand upload it to your site root so it loads at/llms.txt. - Optionally add a longer
llms-full.txtwith expanded detail and a full FAQ, and link to it from llms.txt. - Re-check it whenever your pages, pricing or services change, so it never drifts from reality.
llms.txt vs robots.txt vs sitemap.xml
- robots.txt, tells crawlers which paths are allowed or disallowed.
- sitemap.xml, lists every URL for search engines to index.
- llms.txt, explains, in plain language, what your site is and which pages matter to an AI model.
They are complementary. Publish all three.
The shortcut
Writing one by hand takes ten minutes. If you would rather not, QuelpAI’s Website Health engine generates an llms.txt from your own crawled content, and scores the rest of your AI-visibility signals at the same time. If you are optimizing for a specific assistant, this pairs well with how to get recommended by ChatGPT.