What Is llms.txt and How to Create One
More people now ask ChatGPT, Claude or Perplexity instead of searching. llms.txt is a small text file that gives those AI assistants a short, clean guide to your site: what it is and which pages matter. It takes ten minutes to write, and costs nothing to add.
Website & SEO · 2026-11-26 · 6 min read
What llms.txt is
llms.txt is a plain Markdown file at the root of a website, at /llms.txt. It was proposed in 2024 (llmstxt.org) as a “README for AI”: a short description of the site and a curated list of links to its most useful pages, written so a language model can read it quickly instead of wading through menus, scripts and cookie banners.
Think of it next to the files you already know: robots.txt says what bots may read, sitemap.xml lists every page for search engines, and llms.txt tells AI assistants which pages are worth reading and what each one is for.
The format
- An H1 with the name of the site or project (the only required part).
- A blockquote (a line starting with “>”) with a one- or two-sentence summary.
- Optional plain paragraphs with anything an assistant should know.
- H2 sections, each with a list of links: “- [Page name](URL): what it covers”.
- Optionally a section called “## Optional” for pages that can be skipped when space is short.
# Acme Analytics
> Acme is a web analytics tool for small online shops: traffic, sales and
> where visitors drop off, without cookies.
## Product
- [Features](https://acme.example/features): dashboards, funnels and alerts
- [Pricing](https://acme.example/pricing): free plan and two paid plans
## Docs
- [Install the script](https://acme.example/docs/install): Shopify, WordPress, plain HTML
- [API](https://acme.example/docs/api): export data as JSON or CSV
## Optional
- [Blog](https://acme.example/blog)Tip: Write the summary for a stranger: what you do, for whom, in plain words. That sentence is what an assistant is most likely to repeat about you.
Where to put it
Serve it at https://yoursite.com/llms.txt as plain text (not an HTML page). Most hosts let you drop a file in the site root: the public folder in React, Next.js or Vite, the theme or a plugin in WordPress, or a static file setting in Webflow and Framer. Some sites also publish llms-full.txt, with the full text of the important pages in one file.
What it does, and what it does not
- It helps assistants that read it find your key pages and describe you correctly, especially for documentation and product pages.
- It does not block anything. To keep a bot out, use robots.txt; llms.txt is only a guide.
- It is not a ranking switch. No major AI search engine has said it ranks sites by llms.txt. Treat it as cheap, low-risk housekeeping, like a good meta description.
Read: which AI bots to block or allow in robots.txt →
The other files AI tools look for
| File | Where | What it is for |
|---|---|---|
| robots.txt | /robots.txt | Which bots may read which parts of the site |
| sitemap.xml | /sitemap.xml | Every page you want found, for search engines |
| llms.txt | /llms.txt | A short guide to your site for AI assistants |
| security.txt | /.well-known/security.txt | How to report a security problem (RFC 9116) |
| mcp.json | /.well-known/mcp.json | Where your MCP server is, if you offer one to AI assistants |
A common mistake: on many modern sites, any address that does not exist returns “200 OK” with the home page. Tools that look for /llms.txt or /.well-known/security.txt are then told the file exists and get a web page instead. Make sure missing files return a real 404.
Check yours in one minute
Our free AI-Readiness Checker reads your robots.txt, sitemap, llms.txt and /.well-known/ files, maps which search and AI bots can read each section, and writes an llms.txt draft from your own pages that you can edit and upload.
Run the free AI-readiness check →
Frequently asked questions
Is llms.txt an official standard?
It is a community proposal (llmstxt.org), not a W3C or IETF standard. Many developer tools and documentation sites publish one, and it is easy to add.
Does llms.txt improve SEO?
Not directly: Google does not use it for rankings. It may help AI assistants that read it describe your site and link to the right pages.
What is the difference between llms.txt and robots.txt?
robots.txt tells bots what they may or may not crawl. llms.txt does not allow or block anything; it is a short guide to your most useful pages.
How long should llms.txt be?
Short: a title, a one-line summary and a few sections of the 10 to 40 pages that matter most. Put the full text in llms-full.txt if you want to offer it.