Where it came from
The convention was proposed by Answer.AI in 2024: a single predictable file, in the shape of a README for models, that a site can publish instead of hoping an engine pieces the site together from stray pages. Adoption is uneven, which is exactly the argument for writing one: the engines that do read it get a head start on yours, and the ones that do not lose nothing.
What goes in it
One H1 with the site name, a short factual summary of what you do, then sections of markdown links, each one written as - [Title](url): description. The links point at your real pages and the descriptions say what a reader will find there. Keep it short: it is a table of contents written for a model, not a second homepage.
What it cannot do
It cannot make an engine crawl you, index you or cite you, and it cannot describe content your pages do not actually contain: an engine that reads your llms.txt and then fetches a page that does not match learns to distrust the file, and the page. If your HTML is an empty shell, the shell is the problem and llms.txt is not the fix.
Where to put it and how to check
At the domain root, next to robots.txt: https://your-site.com/llms.txt. On a Vite app that means the public folder; on Next.js, a route that serves it. Check it the way you check everything else, with curl, from the domain you actually publish, because a file on the wrong subdomain describes the wrong site.
Do you need one
It is cheap, it is the file our own checker looks for, and almost nobody publishing an app has written one, so it is one of the few places a small site stands out. Write it after the basics work. The paid report generates one for your app from your actual pages, so you can paste it into the public folder and be done.