Updated
How to Create and Check an llms.txt File (with Real Examples)
1. A minimal valid file
# Example Inc
> Example Inc makes invoicing software for small businesses in Europe.
## Docs
- [Quick start](https://example.com/docs/start): set up an account and send a first invoice
- [API reference](https://example.com/docs/api): REST endpoints, authentication, rate limits
## Optional
- [Changelog](https://example.com/changelog): release notesThe proposal at llmstxt.org requires the H1 title; the summary, the free text and the H2 sections of links are recommended. A section named Optional marks links a tool can skip when its context is short.
2. What real sites publish
We fetched six files on 2 December 2026 and checked them with the rules above:
- llmstxt.org: 1 KB, 1 section, 3 links.
- docs.apify.com: 26 KB, 19 sections, 142 links, served as
text/markdown. - developers.cloudflare.com: 16 KB, 9 sections, 112 links; each product links to its own llms.txt.
- docs.stripe.com: 97 KB, 27 sections, 533 links, but no
>summary line under the title. - python.org: HTTP 404, no file.
Big documentation sites keep llms.txt as an index and put the full text in separate Markdown pages or in llms-full.txt.
3. Check your file in one minute
curl -sI https://yoursite.com/llms.txt | grep -iE '^(HTTP|content-type)'
curl -s https://yoursite.com/llms.txt | head -n 5
curl -s https://yoursite.com/llms.txt | grep -cE '\[[^]]+\]\([^)]+\)'You want HTTP 200, a text/plain or text/markdown content type, a first line starting with # , and a link count above zero.
4. Common mistakes
- Soft 404: the site answers /llms.txt with its HTML home page and HTTP 200. Tools then read a web page, not your file.
- No title: the first line is text or a link instead of
# Name. - Bare URLs: links without
[text](url)cannot be parsed as a list of pages. - Stale links: pages renamed since the file was written. Regenerate it with your site build.
- Hidden instructions: llms.txt describes your site; text telling an AI what to do or recommend is prompt injection and gets ignored or penalised.
5. Check many sites at once
Plainprobe Website SEO & AI Readiness Audit fetches /llms.txt on each site, reports whether it is present and valid (title, summary, sections, link count) and flags soft 404s, together with robots.txt rules for AI crawlers, metadata and broken links, for a list of sites at $0.003 per page. See also Is your website ready for AI crawlers?
Limits to keep in mind
- llms.txt is a proposal; adding it does not guarantee any AI assistant will read or cite your site.
- It does not control access: use robots.txt for that.
FAQ
What is an llms.txt file?
A Markdown file served at /llms.txt that gives language models a short summary of a site and links to its most useful pages. The format is a proposal from llmstxt.org, not an official standard.
What must an llms.txt file contain?
Only one thing is required by the proposal: an H1 title on the first line. In practice add a one-line summary as a blockquote (> ...) and at least one H2 section with Markdown links to your key pages, each with a short note on what it covers.
Where do I put llms.txt?
At the root of the domain, like robots.txt: https://example.com/llms.txt. Serve it as text/plain or text/markdown with HTTP 200. Documentation sites often add a second, larger file, llms-full.txt, with the full text.
Do ChatGPT, Claude or Perplexity read llms.txt?
No AI company has committed to reading it for search or citations. It is mostly used by coding assistants, documentation tools and agents that fetch it on purpose. It is cheap to add, but it does not replace a crawlable site and a robots.txt that lets AI crawlers in.