llms.txt, Explained
You already have a robots.txt telling search crawlers what to do, and a sitemap.xml listing your pages. llms.txt is the same idea, but for AI assistants — a single file that helps ChatGPT, Claude, Perplexity, and Gemini understand what your site is about and which pages matter.
Here's what it is, why it's becoming important, and how to make one in two minutes.
What is an llms.txt file?
llms.txt is a proposed standard (from llmstxt.org) — a plain markdown file you publish at yoursite.com/llms.txt. It gives large language models a clean, structured summary of your website: a short description of what you do, followed by a curated list of your most important pages.
A minimal example looks like this:
# Acme Plumbing
> Emergency and residential plumbing in Cape Town, available 24/7.
## Key pages
- [Services](https://acme.example/services)
- [Service areas](https://acme.example/areas)
- [Contact](https://acme.example/contact)
That's it — readable by a human, and trivially parseable by an AI.
Why does llms.txt matter?
AI assistants increasingly answer questions by reading websites directly, in real time. But web pages are noisy — navigation, scripts, popups, marketing fluff. An llms.txt cuts through that and hands the model exactly what it needs: who you are, what you offer, and where to look.
The clearer that signal, the better the odds an AI understands your business correctly — and recommends it when someone asks. It's one of the simplest building blocks of Generative Engine Optimization (optimizing to show up in AI answers).
It won't single-handedly make ChatGPT recommend you — recommendations depend on reviews, citations, and reputation too (see how to show up in ChatGPT). But it removes ambiguity, and it's one of the few GEO fixes that's entirely in your control and takes minutes.
How to create an llms.txt file
The fast way: use our free llms.txt generator. Paste your URL and it reads your site, pulls your description and key pages, and produces a valid llms.txt you can copy or download.
By hand: create a markdown file following the structure above — an # H1 title, a > blockquote summary, and ## sections listing your important pages as markdown links.
How to add it to your site
- Generate or write your
llms.txt. - Upload it to your site's root, so it's reachable at
yoursite.com/llms.txt— the same place yourrobots.txtlives.- On static hosts (Vercel, Netlify), drop it in your
public/folder. - On WordPress, place it in the site root via your host's file manager or a plugin.
- On static hosts (Vercel, Netlify), drop it in your
- Visit
yoursite.com/llms.txtto confirm it loads as plain text. - Review the page list and trim anything irrelevant — quality over quantity.
FAQ
Is llms.txt official? It's a community proposal, not yet a formal standard adopted by every AI vendor. But it's low-cost, low-risk, and adoption is growing — exactly the kind of early move worth making.
Where does the llms.txt file go? At your domain root: yoursite.com/llms.txt.
Does llms.txt replace robots.txt or sitemap.xml? No — it complements them. robots.txt controls crawling, sitemap.xml lists URLs for search engines, and llms.txt summarizes your site for AI assistants.
Next: see whether AI engines actually recommend your business today — run a free AI visibility scan.
Is AI recommending you — or your competitors?
Run a free scan across ChatGPT, Claude, Perplexity, and Gemini.
Run my free scan →