llms.txt explained (2026): the robots.txt for AI — and how to write one
What llms.txt is, why it exists, and how a solopreneur writes one — the emerging robots.txt-style standard that helps ChatGPT, Perplexity and Gemini find and understand your content. A practical part of GEO / AI SEO.
Solopreneur (20 years) · marketer & investor · 21 June 2026 · 3 min read
You know robots.txt and sitemap.xml. Meet the new one: llms.txt — an emerging,
robots.txt-style file that helps AI models find and understand your content. It’s one of the cheapest,
most future-friendly moves in the GEO / AI-visibility
toolkit, and it takes minutes. Here’s what it is, how to write one, and — honestly — what it does and
doesn’t do. (This site runs one.)
What it is
llms.txt lives at your domain root (yoursite.com/llms.txt) and gives large language models —
ChatGPT, Perplexity, Gemini and the crawlers behind them — a clean, curated, markdown map of your
most important content. Where robots.txt sets access rules, llms.txt offers a human-readable
guide: here’s what this site is, and here are the key pages worth reading.
| File | Purpose | For |
|---|---|---|
| robots.txt | Access rules (allow/disallow) | Crawlers |
| sitemap.xml | List of URLs to crawl | Search engines |
| llms.txt | Curated markdown map + descriptions | AI / LLMs |
They’re complementary — keep all three.
How to write one
It’s plain markdown. A minimal, effective structure:
- H1 — your site name.
- A short blockquote summarising what the site is.
- Sections with bulleted links to your most important pages, each with a one-line description of what it covers.
Keep it curated — point models at your best, most useful content, not every URL (that’s what
sitemap.xml is for). Optionally add an llms-full.txt with more detail. Then deploy it so it’s
reachable at yoursite.com/llms.txt. No special tooling required.
The honest part: what it does and doesn’t do
llms.txt is young and not yet universally honoured. Adoption is growing and several tools
reference it, but treat it as a low-effort, future-friendly bet — not a switch that turns on AI
traffic. The real drivers of AI visibility are still:
- being genuinely the right answer to a specific question,
- clear, extractable content a model can quote,
- and presence where models source (covered in how to get AI traffic to a new website).
llms.txt sits on top of that — a sensible, cheap signal, not a substitute for the rest of GEO / AI SEO.
Where it fits
It’s one technical piece of the bigger picture: position to be the answer, write to be cited, be present where models read, run llms.txt, and measure AI referrals in GA4 (Search Console can’t see them). The full method: Generative Engine Optimization (GEO).
The takeaway
- llms.txt = a curated markdown map of your site for AI, at
yoursite.com/llms.txt. - Complements (doesn’t replace) robots.txt + sitemap.xml.
- Curate your best pages; keep it short; optionally add
llms-full.txt. - Young standard — a cheap, future-friendly bet, not a magic switch.
It costs ten minutes and signals you’re building for the AI-search era. Add it, then put your real effort into being the answer — the full playbook is in GEO.