What is llms.txt and do you need one?
llms.txt is a proposed Markdown file that helps AI tools read your site. What goes in it, common mistakes, its limits, and how to check yours free.

llms.txt is a small Markdown file at the root of a website that tells AI tools what the site is and which pages matter most. You may have seen it flagged by an audit tool, or noticed that documentation sites and plugins now generate one. This post explains what the file is, what it should contain, and the mistakes we see most. It also covers what the file does not do, so you can decide whether it's worth ten minutes of your time.
What llms.txt is
llms.txt is a proposed standard, written by Jeremy Howard and first published in September 2024. The current version on llmstxt.org is v2, dated August 2026. The idea: web pages are built for people, with navigation, scripts and layout wrapped around the information. When an AI agent or assistant needs to understand a site, a short, curated Markdown file is easier to read than a stack of HTML pages.
The file lives at yoursite.com/llms.txt. The v2 proposal also allows a file at a subpath, such as /docs/llms.txt, which covers only the pages under that path.
llms.txt is different from robots.txt and your XML sitemap:
- robots.txt says which crawlers may access which URLs.
- sitemap.xml lists every indexable page, mainly for search engines.
- llms.txt is a short, hand-picked summary with links, read when an AI tool needs information about your site.
Do you need one?
No, it's not required. It's a proposal, not a rule any AI company has promised to follow, and not every AI tool reads it yet. Adding an llms.txt file will not, on its own, get you cited by ChatGPT or ranked in Google.
What it's good for: it's cheap to add, and it helps the tools that do read it. The llmstxt.org page lists documentation platforms and CMSs that generate one automatically, including Mintlify, GitBook, Yoast SEO, AIOSEO and Wix. It also notes that OpenAI, Anthropic and Gemini publish llms.txt files for their own developer docs.
Our view: if your robots.txt or firewall is blocking AI crawlers, or your content only appears after JavaScript runs, fix those first. They decide whether AI tools can read your site at all. llms.txt comes after.
The format
The specification on llmstxt.org sets out the sections in order:
- An H1 with the name of the site or project. This is the only required section.
- A blockquote (a line starting with
>) with a short summary of what the site is. - Optional paragraphs or lists with more detail (no headings).
- H2 sections with "file lists": Markdown lists where each item is a link
[name](url), optionally followed by:and a note.
By convention, a section called ## Optional holds secondary links that an AI tool can skip when it needs a shorter context.
How to write one
Example (illustrative only, not a real business):
# Example Plumbing Co
> Example Plumbing Co is a family-run plumbing business offering emergency repairs, water heater installation and drain cleaning for homes and small businesses.
We answer emergency calls 24 hours a day. Prices for standard jobs are listed on the Services page.
## Main pages
- [Services and prices](https://example.com/services): Every service we offer, with standard prices
- [Service area](https://example.com/area): Towns we cover and call-out times
- [Contact](https://example.com/contact): Phone, email and booking form
## Optional
- [About us](https://example.com/about): Our history and team
A few guidelines, several taken from llmstxt.org:
- Write the summary for someone who has never heard of you. Say what you do, for whom and where it applies, in plain words.
- Pick your most important pages, not every page. Products or services, pricing, policies, docs, contact.
- Add a short note after each link saying what's on the page.
- Avoid unexplained jargon.
- Test it. llmstxt.org suggests giving an AI agent only your llms.txt and asking it questions about your site.
Then upload the file so it's served at /llms.txt as plain text. On WordPress, Yoast SEO and AIOSEO can generate one. Wix generates one for every site, according to llmstxt.org. On other platforms, put the file wherever your host serves files from the site root.
Common mistakes
Missing the > summary line. The H1 is the only required part, but the blockquote summary is where the file tells an AI tool what you actually do. Our free check scores this, and a missing summary is listed in the full report (paid plans, starting with Pro Monitoring).
Links that aren't in your sitemap, or no longer exist. An llms.txt file is usually written once and then forgotten. Pages get renamed or deleted, and new key pages never get added. Check that every link still loads and points to a current page that your sitemap also lists. Our full-site crawl flags important pages missing from llms.txt. When we crawled our own site, it flagged "Important page missing from llms.txt" (4 pages), which we then fixed. That is shown on our homepage case study.
Headings in the wrong place. The spec only allows an H1 at the top and H2s for link sections. Extra H3s or headings in the detail section break the expected structure for tools that parse it.
Serving HTML instead of text. Some platforms return a styled 404 page or redirect /llms.txt to the homepage. Open the URL in your browser and check that you see plain Markdown.
Treating it as a robots.txt replacement. llms.txt doesn't allow or block anything. If a bot is blocked in robots.txt or by your firewall, an llms.txt file won't change that.
How the free check validates it
Our free check looks at llms.txt as one of its six checks, worth 14 of the 65 technical points. It checks:
- whether
/llms.txtexists, - whether it follows the llmstxt.org format, including the summary line,
- how much of your sitemap it covers.
Your overall score and top issue are free. The llms.txt sub-score and any llms.txt issues are in the full report, part of paid plans starting with Pro Monitoring. If you add your email, the free check also generates an llms.txt file for your site that you can review and upload. A hosted llms.txt that refreshes itself when your pages change is in every paid plan, starting with Starter at $9/mo.
What llms.txt can't do
- It can't make ChatGPT or any other assistant name you.
- It can't get past a robots.txt block or a firewall that returns 403 to AI crawlers.
- It isn't read by every AI tool today.
It's one small, honest signal. Start with the checks that decide whether AI tools can read your site at all, then add llms.txt.
FAQ
Is llms.txt required? No. It is a proposed standard from llmstxt.org, not a requirement, and not every AI tool reads it yet. It is cheap to add and helps the tools that do.
What must an llms.txt file contain? Per the llmstxt.org specification, an H1 with the site name is the only required section. It should also have a blockquote summary, then optional details and H2 sections listing links to key pages.
Does llms.txt replace robots.txt? No. robots.txt says which crawlers may access which URLs. llms.txt is a curated summary with links and does not allow or block anything.
Can AI Visibility Check generate an llms.txt file? Yes. The free check validates your llms.txt as part of your score. Add your email for a generated llms.txt for your site that you can review and upload. The full report is in paid plans, starting with Pro Monitoring.
Check your llms.txt in 30 seconds
Paste your URL into the free check. It's free with no account needed, and we only read public pages. It checks whether your llms.txt exists, whether it follows the format and how much of your sitemap it covers, plus five other checks. You see your score and top issue free, then unlock the full report. The full report is in paid plans, starting with Pro Monitoring.