What llms.txt is
llms.txt is a Markdown file at the root of your site, at /llms.txt, that gives AI tools a short, curated map of your most useful pages. It was proposed in 2024 at llmstxt.org. Web pages are full of navigation, scripts and layout that a language model has to work through. One plain text file can say what the site is and where the important content lives.
It's a proposal, not an agreed web standard. Some AI tools and agents look for it, and not every AI provider has said whether it reads the file. Treat it like a sitemap for AI tools: cheap to add, useful to the tools that use it, and no substitute for clear pages that crawlers can read.
The format, line by line
The proposal sets a fixed order:
- # Name: an H1 with your site or product name. This is the only required part.
- > Summary: a blockquote with the key facts needed to make sense of the rest.
- Details (optional): paragraphs or lists with more context. No headings here.
- ## Sections (optional): each H2 holds a list of links written as - Title: notes. The notes are optional.
- ## Optional: a section with this exact name marks links a tool can skip when it needs a shorter context.
The file can also sit in a folder such as /docs/llms.txt to describe just that part of the site.
A worked example
Take Ledgerlark, the made-up invoicing company in the sample. Its file starts with # Ledgerlark, a two-sentence summary of what it does and for whom, and one line about plans and the API. Then come three sections: Product with features, pricing and integrations, Docs with getting started, the API reference and webhooks, and Optional with the blog and changelog. That's 8 links across 3 sections, in 22 lines.
The links were typed as /pricing/ and /docs/api/. The generator writes them out in full, like https://ledgerlark.example/pricing/, because an AI tool reads the file on its own, with no page to resolve relative links against.
What to put in it
- Pages that explain what you sell: features, pricing, integrations and security.
- Docs and guides that answer the questions customers ask most.
- Use-case and comparison pages, if they're accurate and current.
- In Optional: the blog, changelog, careers and anything else that helps but isn't essential.
Leave out login pages, carts, thin tag archives and anything you wouldn't want quoted. Write notes that say what a page covers, not marketing lines. The proposal also suggests offering a Markdown copy of important pages at the same URL with .md added. That's worth doing for docs if your platform makes it easy.
AI crawlers, robots.txt and GEO
llms.txt points tools to content. robots.txt decides which crawlers may fetch it. Most AI companies run more than one crawler, and each does a different job:
- Training crawlers such as GPTBot, ClaudeBot and CCBot collect pages that may be used to train models. Google-Extended and Applebot-Extended are tokens that control how already-crawled content is used for AI.
- Search crawlers such as OAI-SearchBot, Claude-SearchBot and PerplexityBot index pages so assistants can find, cite and link them.
- User fetchers such as ChatGPT-User and Claude-User open a page when a person asks. Some providers say these may not follow robots.txt, because a person requested the page.
For generative engine optimisation (GEO), the search crawlers matter most. Block OAI-SearchBot and ChatGPT search can't read your pages to cite them, and the same goes for PerplexityBot and Perplexity. Many B2B sites block training crawlers and allow search and user fetches, which keeps them eligible for AI answers while opting out of future training. It's a business decision that depends on how you weigh AI visibility against control of your content.
Two cautions. Google-Extended doesn't change Google Search, but it also covers grounding in Gemini answers. And robots.txt is a request that reputable crawlers follow, not access control, so anything truly private needs a login. The robots.txt tab only lists tokens each company publishes in its own crawler documentation.
Publishing and checking
- Download llms.txt and upload it to your site root with your host's file manager, SFTP or a plugin that edits root files, so it loads at yourdomain.com/llms.txt.
- Open that URL in a browser and check it shows as plain text, not a 404 or an HTML page.
- Merge the AI crawler groups into your existing robots.txt. Keep your current rules and Sitemap line. A crawler named in its own group ignores your User-agent: * rules, which is why the generator repeats your private paths in each allowed group.
- Review both files when you launch or retire key pages, and when an AI company documents a new crawler.
Related tools
llms.txt and robots.txt sit alongside other small files that tell outside systems how to treat your domain. If you send email from it, publish SPF with the SPF Record Generator and a policy with the DMARC Generator. Once AI answers start sending visitors, see how they convert with the Lead Conversion Rate Calculator. Want AI assistants to cite your brand? See our generative engine optimisation service, or our SEO services for classic search.