llms.txt explained: the file AI engines can actually parse
A practical guide to llms.txt: what the format looks like, where to host it, how it differs from llms-full.txt, and the mistakes to avoid.
llms.txt is a plain-text file placed at the root of a domain. It gives large language models and AI retrieval systems a short, curated map of the site: what the company does, which pages matter, and where the canonical facts live. The proposal was published in 2024 as a complement to robots.txt, not a replacement for it.
The important detail is that llms.txt is a convention, not a standard enforced by any single vendor. Support varies by engine and changes over time. That is a reason to keep expectations realistic, not a reason to skip it: the file costs almost nothing, it is easy to keep accurate, and it doubles as documentation for humans and internal tools.
What the format looks like
The structure is Markdown. An H1 holds the site or product name, a blockquote holds a one-line summary, and H2 sections group links with short descriptions. The convention also allows an optional note for AI systems at the end. A minimal file looks like this:
# Quonly
> Fully managed SEO and GEO for independent sites.
## What Quonly does
- Injects structured data at the edge
- Publishes and maintains llms.txt
- Tracks AI citations across 4 engines: ChatGPT, Perplexity, Gemini and Claude
## Key pages
- [Home](https://quonly.com/): product overview
- [Pricing](https://quonly.com/pricing): plans and limits
- [How it works](https://quonly.com/how-it-works): architecture
## Contact
- [email protected]Where to put it and how to serve it
Host the file at https://yourdomain.com/llms.txt. Serve it as text/plain or text/markdown with UTF-8 encoding, and keep it publicly accessible without authentication. If you run a multilingual site, a translated copy at /zh/llms.txt is useful, but the root file remains the primary entry point.
Do not block the path in robots.txt. Do not put it behind a CDN rule that challenges bots. And do not let it drift: if your pricing changes and llms.txt still lists the old number, you have created a contradiction that makes your site harder to trust, which is the opposite of the goal.
llms.txt versus llms-full.txt
llms.txt is an index: short, curated, link-heavy. llms-full.txt is the expanded version: the actual text of important pages, concatenated into one file so a model can read the full content without crawling. The second file is optional and can get large, so it should be generated from source content rather than maintained by hand.
A reasonable pattern is to keep llms.txt stable and human-edited, while llms-full.txt is regenerated on every deploy from the same content that powers your pages. That keeps the two files consistent with the site and with each other.
Common mistakes
- Publishing a file that lists pages which return 404 or redirect somewhere else.
- Stuffing every URL into the index instead of curating the ten or twenty that matter.
- Using marketing adjectives with no concrete facts, so the file adds no information a model could quote.
- Forgetting the file after a rebrand, so the company name and product description no longer match the site.
- Serving the file only to some user agents, which defeats the purpose of a public map.
Is it worth doing?
Yes, for the same reason a sitemap is worth doing: it is a low-cost, low-risk signal that makes your site easier to process. It will not single-handedly get you cited. It works as part of a stack — crawl access, structured data, clear writing, and consistent entity information — and it is one of the easiest pieces of that stack to ship correctly.
Want this done for you?
Quonly runs the technical layer — structured data, llms.txt, AI citation tracking — at the edge, with rollback. Scan your site free first.
Keep reading
- The GEO technical checklist: 24 fixes that make AI answers possible8 min
- How to measure AI citations without fooling yourself7 min
- SEO vs GEO: what changes, what doesn't, and how to split the budget7 min