Question

What is an llms.txt file and do I need one?

An llms.txt is a small markdown file at your domain's root that describes your site for language models: what it is, the key pages as links, and anything an answer engine should know. It is a convention, not a standard, and no crawler is required to read it, so it will not fix an unreadable page. What it does is hand an engine a clean, accurate summary of your site in exactly the format it prefers, which is worth having once the pages themselves can be read.

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.

More questions

All questions →

Scan your site

Free, no account. You get the full checklist and your score.

Only scan sites you own or are authorised to scan. Free scans are limited. Terms

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.