llms.txt is one of those ideas that spread through the AI-visibility world fast enough that a lot of people now feel they should have one without being sure what it does. This guide is the honest version: what it is, what it is not, how to create one, and how much to actually expect from it.
What llms.txt is
llms.txt is a proposed convention — a single markdown file placed at the root of your domain (https://yourdomain.com/llms.txt) that gives large language models a clean, curated map of your site. Think of it as a companion to robots.txt and sitemap.xml, but aimed at comprehension rather than crawling: instead of listing every URL, it points to the pages that best explain who you are and what you offer, in a format that is easy for a model to read.
A typical file is just structured markdown: a short description of the site, then a set of links with one-line explanations, grouped into sections. That is deliberately simple — the whole point is to be trivially readable.
You can generate a well-formed starting point in a minute with the free llms.txt Generator, then edit it to match your priorities.
What llms.txt is not
Being honest here matters, because the hype has outrun the reality:
- It is not an official, universally-enforced standard. It is a community convention. Support and behavior vary by assistant, and adoption is still early. Treat it as a helpful signal, not a guarantee.
- It is not a ranking lever. Publishing an
llms.txtdoes not make an assistant recommend you. It helps a model that is already looking at your site understand it better; it does not create demand or authority. - It is not a substitute for the fundamentals. Crawler access, directly-answering content, and third-party corroboration do the heavy lifting.
llms.txtis a low-cost complement, not a shortcut around them.
If you keep those boundaries in mind, it is a cheap, sensible thing to add. If you expect it to move the needle on its own, you will be disappointed.
What to put in one
Keep it focused on comprehension. A good llms.txt usually includes:
- A title and one-paragraph summary of what your company does, in plain language. This is the single most useful part — a clear, accurate description a model can lift verbatim.
- Your most explanatory pages, each with a short annotation: your main product or service pages, an "about" or company page, key documentation or guides, and your highest-value educational content.
- Logical grouping (for example: Product, Docs, Company, Resources) so the structure is obvious.
- Only pages you want represented. This is a curation exercise, not a sitemap dump. Point the model at your best, clearest material.
The failure mode is treating it like a sitemap and listing hundreds of URLs. That defeats the purpose — the value is the curation and the annotations, not the completeness.
How to create and publish one
- Draft it. Use the llms.txt Generator for a structured starting point, or write the markdown by hand.
- Curate and annotate. Trim to your best pages and write a clear one-line description for each. Get the top summary paragraph right — it is the part most likely to be read.
- Publish it at the root. The file must be reachable at
https://yourdomain.com/llms.txt. On most stacks this means adding a static file or a small route that serves it. - Keep it current. Update it when your offering or key pages change. A stale
llms.txtdescribing an old product is worse than none.
Where it fits in an AI-visibility program
Think of AI visibility as a stack. llms.txt sits near the bottom with the other technical hygiene:
- Access — let the AI crawlers in (is GPTBot blocked?).
- Comprehension —
llms.txt, clean structure, and structured data help a model understand you correctly. - Content — directly-answering pages for the questions your buyers ask.
- Corroboration — mentions, reviews, and consistent facts across the web.
- Measurement — track whether any of it is moving your presence in AI answers.
llms.txt is a genuine, low-effort win on the comprehension layer. It is worth doing. It is just not the layer where visibility is won or lost — that is content and corroboration, covered in How to Rank in ChatGPT and The Complete Guide to AI Search Visibility.
For agencies
llms.txt is a fast, concrete deliverable you can add to a GEO engagement — quick to produce, easy to explain, and a visible sign to the client that you are working the technical side of AI visibility. Pair it with the audit-improve-report loop in GEO for Agencies, and measure the outcome that actually matters: whether the client's presence in AI answers is trending up.
Start a free Trafiq trial to track that trend across every major assistant, in one white-label report.