llms.txt is a plain-text file at the root of a website (yourdomain.com/llms.txt) that gives AI tools a short summary of the site and links to its most important pages, written in Markdown. It's a proposed standard, not an official one. It takes about 10 minutes to create, but no major AI search engine has confirmed it affects rankings or recommendations.
That makes llms.txt a low-cost, low-certainty addition. Below is what it is, how to write one and where it fits in your priorities.
Where did llms.txt come from?
The format was proposed in September 2024 by Jeremy Howard of Answer.AI, and is documented at llmstxt.org. The idea: web pages are full of navigation, scripts and ads that make them hard for language models to read within a limited context window. A single, clean Markdown file listing your key pages helps an AI tool find the right content quickly.
It has been adopted mainly by software documentation sites, where developers' coding assistants use it to find the right docs.
What does an llms.txt file look like?
The format is simple Markdown:
- An H1 with the name of the site or project (the only required part).
- A blockquote with a one or two sentence summary.
- Optional paragraphs with key details.
- H2 sections containing lists of links, each with a short note.
- An optional section named Optional for less important links.
Here's a short example for a dental clinic:
# Sunrise Dental Clinic
> Family and cosmetic dental clinic in Gulberg, Lahore, open 7 days.
> Implants, braces, whitening and emergency care.
## Services
- [Dental implants](https://sunrisedental.com/implants): prices, process and aftercare
- [Teeth whitening](https://sunrisedental.com/whitening): options and costs
- [Emergency dentist](https://sunrisedental.com/emergency): same-day appointments
## About
- [Our dentists](https://sunrisedental.com/team): qualifications and experience
- [Reviews](https://sunrisedental.com/reviews): patient reviews
## Optional
- [Blog](https://sunrisedental.com/blog)
You can see a live example on this site at /llms.txt.
How do you create llms.txt?
- List your 5 to 15 most important pages: services or products, pricing, about, contact, key guides.
- Write a one-line note for each that says what a reader will find there.
- Write a factual summary of your business in the blockquote: what you do, for whom and where.
- Save it as
llms.txtin plain text (UTF-8). - Upload it to your site's root folder, so it opens at yourdomain.com/llms.txt. On WordPress, several SEO plugins can generate it for you.
- Update it when you add or remove important pages.
Some sites also publish llms-full.txt, which contains the full text of key pages in one file. That's mostly useful for documentation.
How is llms.txt different from robots.txt and sitemap.xml?
| File | Purpose | Who reads it | Controls access? |
|---|---|---|---|
| robots.txt | Tells crawlers what they may visit | All major search and AI crawlers | Yes |
| sitemap.xml | Lists every URL for indexing | Search engines | No |
| llms.txt | Summarises key pages for AI tools | Some AI tools, unconfirmed for AI search | No |
If you want AI crawlers to be allowed or blocked, that's robots.txt. Our AI crawlers and robots.txt guide covers the exact bot names.
Does llms.txt help AI visibility?
Honestly: not in any proven way, yet. Google has said publicly that it doesn't use llms.txt, and no major AI assistant has confirmed relying on it to choose which businesses to recommend. AI answers are driven far more by:
- what third-party sites say about you,
- whether your pages answer questions clearly,
- whether crawlers can reach and read your site.
That said, llms.txt is quick, harmless and forces you to write a clear summary of your business, which is useful in itself. Our recommendation: add it after the fundamentals, not instead of them.
Who should add an llms.txt file?
Some sites get more out of llms.txt than others:
- Software and API documentation: the strongest case. Developers use AI coding assistants that can read llms.txt to find the right docs, and many documentation platforms now generate the file automatically.
- Sites with complex structure: if your important pages are buried in menus, llms.txt gives AI tools a direct reading list.
- Small business websites: optional. A short file does no harm, but you'll get far more from reviews, directory listings and clear service pages.
What should you avoid in llms.txt?
- Marketing fluff. Write the blockquote summary as facts: what you do, where and for whom.
- Listing every page. That's what sitemap.xml is for. Keep llms.txt to the pages that matter most.
- Contradicting your website. Prices, services and locations in the file should match your pages exactly.
- Treating it as a robots.txt replacement. It can't block or allow any crawler.
How do you check your llms.txt works?
Open yourdomain.com/llms.txt in a browser. You should see plain text, not a 404 page or your homepage. Check that every link opens the right page, that the file is served as text rather than downloaded, and that robots.txt doesn't block the URL. Then ask an AI assistant with browsing to summarise your file: if its summary matches your business, the file is doing its job.
The takeaway
llms.txt is a helpful map, not a ranking factor. Spend 10 minutes creating one, then put your real effort into the things AI demonstrably uses. A free AI visibility audit checks for llms.txt alongside 17 other factors and shows which ones matter most for your site.
Frequently asked questions
Does Google use llms.txt?
No. Google has said it doesn't use llms.txt for Search or AI Overviews. Its AI features rely on the normal search index, robots.txt and page content.
Does ChatGPT read llms.txt?
OpenAI hasn't confirmed that ChatGPT uses llms.txt when deciding what to recommend or cite. AI tools may read it if they fetch it, especially coding assistants and documentation tools, but there's no confirmed ranking benefit.
Where do I put llms.txt?
In the root of your website, so it opens at yourdomain.com/llms.txt, the same place as robots.txt. It must be a plain-text file written in Markdown.
Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers which pages they may or may not visit. llms.txt doesn't block or allow anything; it's a short summary and reading list of your most important pages for AI tools.