What is llms.txt, and do you actually need one?
·
llms.txt is a short markdown file at the root of your site that points AI models to your most important pages and presents them cleanly: a sitemap written for language models instead of search crawlers. It’s new, it’s simple, and almost nobody has one yet. Here’s whether that should be you.
What it actually is
It lives at yourdomain.com/llms.txt and it’s plain markdown. A title, a sentence about what the site is, then a curated list of links to your key pages with a short note on each. No navigation, no ads, no cookie banner, just the signal. The idea: when a language model wants to understand your site, a normal web page buries the useful part under layout and clutter. A clean markdown map hands it the substance directly.
How it’s different from the files you already know
- vs
robots.txt: robots.txt is a list of don’ts: what crawlers may not touch.llms.txtis the opposite: a list of here’s the good stuff. One restricts, one recommends. - vs
sitemap.xml: a sitemap is every URL, in XML, for search engines.llms.txtis a short, curated, human-readable shortlist of your best pages, for AI. The sitemap is the phone book;llms.txtis the “start here” card.
They don’t compete. Keep your sitemap and robots.txt; llms.txt sits alongside them.
What goes in it
The convention is markdown, roughly like this:
- An
# H1with your site or product name. - A one-line
> blockquotesummary of what you do. ## Sectionsgrouping your key links, each as[Page title](url): one-line description.
Some sites also publish llms-full.txt: the same idea but with the full text of those pages inlined, for models that want everything in one fetch. Start with the short version.
Do you actually need one?
Honest answer: not yet, strictly. It’s an emerging standard and not every AI engine reads it today. So this isn’t a must-fix like a broken noindex. But the math is friendly: it takes minutes, it can’t hurt anything, and in most niches none of your competitors have one. If AI traffic matters to your category, it’s a cheap first-mover move. If it doesn’t, skip it and fix your crawlability and content first; those pay off no matter what.
How to make one in a few minutes
- List your 5–15 most important pages: the ones you’d want an AI to read to describe you accurately.
- Write the markdown: title, one-line summary, then grouped links with a short note each.
- Save it as
llms.txtand serve it at your domain root, soyourdomain.com/llms.txtloads as plain text. - Keep it current when your key pages change; a stale map is worse than none.
Quick answers
llms.txt vs robots.txt? robots.txt restricts crawlers; llms.txt recommends your best pages to AI.
Is it the same as a sitemap? No. A sitemap lists every URL in XML; llms.txt is a short curated markdown shortlist for AI.
Do I need one? Optional today, but cheap and low-risk: a first-mover move if AI traffic matters to you.
Check it with GreenLight
GreenLight’s AI Search (GEO) check looks for an llms.txt (along with AI-bot access, structured data, and question-style headings) and tells you in plain language what’s there, what’s missing, and the exact thing to add.