llms.txt
llms.txt is a proposed Markdown file at a website's root that gives AI models a short summary of the site and links to its most useful pages.
Also called: llms.txt file, llms-full.txt, LLM text file
llms.txt is a proposed standard for a Markdown file at a website's root, /llms.txt, that gives AI models a short summary of the site and links to its most useful pages. The proposal is published at llmstxt.org. Think of it as a curated reading list for machines, written in plain text instead of XML.
How it works
The file follows a simple Markdown structure:
- An H1 with the site or project name.
- A short blockquote summary of what the site is.
- Optional notes on how to read the content.
- Sections with H2 headings, each a list of links with a one-line description.
Some sites also offer clean Markdown versions of key pages so a model can read them without navigation, scripts and ads in the way. The idea is to help a model that's already looking at your site find the right pages fast. It's not a ranking signal, and support across AI platforms is unclear, so treat it as a cheap bet rather than a strategy.
Some sites publish two files. The short /llms.txt is the index: summary plus curated links. A longer /llms-full.txt contains the full text of the key pages or docs in one Markdown file, so a tool can load everything in a single request. Developer documentation sites adopted this first, because coding assistants often pull docs straight into their context window while a developer works.
The most realistic reader today is not a search crawler. It's an AI agent or assistant that has been pointed at your domain and needs to find the right page quickly, for example when a buyer asks a research tool to compare vendors. A clean index with absolute URLs and plain descriptions makes that job easier.
Example
A short llms.txt for a GTM consultancy might look like this:
# New Theory
> AI-forward GTM, growth and SEO/AEO consultancy for B2B SaaS teams.
## Guides
- [What is GTM engineering](/blog/what-is-gtm-engineering): the operator's guide
- [Programmatic SEO without the spam](/blog/programmatic-seo-guide): how to scale pages safely
## Glossary
- [GTM engineering](/glossary/gtm-engineering): a plain-English definition
Writing it takes about 30 minutes. Keeping it current takes five minutes whenever you publish a cornerstone page.
llms.txt vs robots.txt vs XML sitemap
| File | Audience | What it does |
|---|---|---|
| robots.txt | All crawlers | Allows or blocks access to paths |
| XML sitemap | Search engines | Lists every URL you want indexed |
| llms.txt | AI tools and agents | Curates and summarizes your most useful pages |
Only robots.txt is a control. The other two are suggestions, and they work best when all three agree.
How to set it up
- Pick the ten to twenty pages that best explain what you do: services, cornerstone guides, pricing, key glossary entries.
- Write one plain sentence per link that says what the page answers, not a slogan.
- Use absolute URLs so the file still works when it's copied out of context.
- Serve it at the root. On a Next.js site, a static file in the public folder works, or a route handler that builds it from the same content source as your sitemap so it never drifts.
- Add a reminder to your publishing checklist: when a cornerstone page ships, update the file.
It belongs next to the rest of your generative engine optimization work, not in place of it.
Why it matters for GTM teams
It's low cost and low risk, and it forces a useful exercise: deciding which ten to twenty pages best explain your business. That same list should shape your internal links and entity SEO. Add one if it's cheap for you. Don't expect it to move traffic or citations on its own.
Common mistakes
- Dumping the whole sitemap into it instead of curating.
- Letting it go stale while the site changes.
- Expecting it to drive rankings, traffic or AI citations by itself.
- Blocking AI crawlers in robots.txt while publishing an llms.txt for them.
- Writing marketing slogans as link descriptions instead of saying what each page answers.
- Linking to gated, noindexed or redirected pages that a tool can't actually read.
FAQ
Does Google use llms.txt?
Google has not said it uses llms.txt as a ranking or crawling signal, and its public guidance for appearing in AI features points back to normal SEO practices. Treat the file as a helpful extra for tools and agents that choose to read it, not as a way to influence Google.
What is the difference between llms.txt and robots.txt?
Robots.txt controls access: it tells crawlers which paths they may or may not fetch. llms.txt controls nothing; it suggests which pages are most useful and summarizes them. A crawler blocked in robots.txt will not read your pages no matter what your llms.txt says.
What is llms-full.txt?
It is a companion file some sites publish that contains the full text of their key pages or docs in one Markdown document, rather than just links. It is popular with developer documentation because a coding assistant can load the whole thing into context in one request.
Related
Used in these articles
- ArticleSEO and AI Search Strategy: The Operator's Playbook
- ArticleAI Crawlers Explained: Who Each Bot Is, What It Takes and What to Allow
- Articlellms.txt: What It Is, Who Reads It and Whether to Ship One
- ArticleShopify Sitemap.xml: What's In It and How to Control It
- ArticleAnswer Engine Optimization: A Practical Guide
- ArticleSEO for Next.js Sites on Vercel
Sources