SEO
What is llms.txt? The file that guides AI models through your site
Copy for AI
llms.txt is a text file that maps your best pages for AI models.
You place it in the root of your website. The name echoes robots.txt, and that’s no coincidence: the idea is related, but llms.txt targets large language models instead of classic search crawlers.
The verdict: an llms.txt file is cheap, harmless and worth ten minutes. It won’t get you into AI answers on its own; clear content still does that.
What exactly is llms.txt?
It’s a proposed file format that helps a language model grasp the core of your website fast.
Instead of letting an AI wrestle with your whole site, navigation, scripts and formatting, you offer one tidy document. It says: these are my most important pages, this is what they cover, and this is where to find them.
Where the file lives
It usually sits at yourdomain.com/llms.txt, just like robots.txt.
The llms.txt proposal also allows a subpath such as /docs/llms.txt, covering the pages under that path.
What goes in it
It’s written in markdown, a lightweight markup language that’s easy to read for humans and machines alike.
The structure is short:
- H1 (required): the name of your site or organisation
- Blockquote (optional): a one-paragraph summary of what you do
- H2 sections (optional): lists of links to your core pages, each with a short note
The H1 is the only element the proposal requires. Everything else is up to you.
What one looks like in practice
Here’s an excerpt from our own llms.txt on customerimpact.be. It’s in Dutch, because the Dutch site is our main tree:
# Customer Impact
> Digital marketing bureau in Antwerpen (België) voor B2B: SEO, GEO
> (Generative Engine Optimization / AI-vindbaarheid), leadgeneratie, ...
## Diensten
- [SEO](https://www.customerimpact.be/diensten/seo/): zoekmachine-optimalisatie voor B2B
- [GEO agency](https://www.customerimpact.be/diensten/geo-agency/): zichtbaarheid in ChatGPT, Perplexity en Google AI Overviews
## Kennis
- [Marketing wiki](https://www.customerimpact.be/wiki/): definities van 180+ marketingtermen
The full file is 26 lines, with three H2 sections: services, knowledge and proof.
That’s the point: focus, not volume.
Why it’s built this way
Language models have a limited context window, the amount of text they can take in at once. Our explainer on AI tokens shows how that budget works.
By presenting your key information compactly, you help a model pick up the right things without drowning in noise.
In effect, you do the groundwork the model would otherwise do itself.
Bonus convention: the proposal also suggests a section titled “Optional” for secondary links an agent can skip when it needs a shorter context.
It goes further, too. Pages can offer a clean markdown copy at the same URL, for example page.html.md.
That part is even less widely used.
How does llms.txt differ from robots.txt and sitemap.xml?
Each file serves a different purpose: access, completeness and focus.
The confusion is understandable, so here they are side by side:
| File | For whom | What it does |
|---|---|---|
| robots.txt | Search engine crawlers | Says which pages may or may not be crawled |
| sitemap.xml | Search engine crawlers | Lists all URLs that may be indexed |
| llms.txt | AI language models | Points to your most important content and explains the context |
robots.txt is about access
It’s a gatekeeper that tells crawlers where they may and may not go.
Here’s our own robots.txt, which lets every crawler in:
Our own robots.txt, October 2026: one rule for all crawlers, so every AI bot may read the site.
An llms.txt can’t undo a block in this file. If AI bots are shut out here, read how to allow AI crawlers first.
Want the opposite? Our guide to blocking AI bots in robots.txt covers that.
sitemap.xml is about completeness
Google describes a sitemap as a file that tells search engines “which pages and files you think are important in your site” (Google’s sitemap overview).
In practice it lists everything there is to index. Our guide to creating an XML sitemap shows how.
llms.txt is about understanding and priority
It selects a handful of important pages and gives them meaning, so a model quickly grasps the essence.
Here’s the difference in one picture:
You don’t put everything on the table. You choose what an AI should see first.
Why is llms.txt emerging?
Because more people ask an AI instead of scanning a list of blue links.
When someone asks ChatGPT, Perplexity or an AI overview in Google, you want your brand in the answer. For that, the model has to find your content and read it correctly.
Here’s what that looks like in Perplexity, which shows the pages behind each answer:
Perplexity’s sources panel for our own test prompt, 17 October 2026: 10 web pages behind one answer.
Ten pages made the cut. Yours only joins if the model can find and parse it.
Modern sites are messy for machines
Between navigation, banners, scripts and style files, the actual content often hides.
llms.txt tries to lay a clean, machine-readable path through it. It fits a broader movement of optimising content for AI, which you’ll see in generative engine optimization and answer engine optimization.
It’s a proposal, not a standard
Jeremy Howard proposed llms.txt on 3 September 2024. It’s gaining recognition, but not every AI company supports it.
There’s no guarantee that ChatGPT, Gemini or Claude actively read the file today. Some tools and crawlers experiment with it, others ignore it.
Want proof for your own site? Check your server logs for requests to /llms.txt. Our guide to log file analysis shows how.
Google says you don’t need it
Google is explicit about its own AI features. Its guidance on AI Overviews and AI Mode says: “You don’t need to create new machine readable files, AI text files, or markup to appear in these features.”
What Google does need: a page that’s indexed and eligible to show with a snippet.
So anyone promising that one text file puts you everywhere in AI answers is exaggerating.
Should you create an llms.txt already?
For most businesses: yes, it can do no harm, but don’t expect miracles.
Creating one takes little effort, the file is light and it carries no risk.
Want to get started? Follow the step-by-step plan to create and implement an llms.txt, with a worked example. Our broader llms.txt guide covers the background.
Side benefit: if it makes you think sharply about which pages truly form your core, it has value for that reason alone.
Where the real gain sits
The gain doesn’t lie in the file, but in the content it points to.
An llms.txt that links to vague pages helps no one. The real work stays the same:
- Clear, citable content: answer real questions briefly, so a model can lift your answer
- A logical structure: clear headings and short paragraphs help humans and machines alike
- Consistent authority: tell the same recognisable story everywhere
On structure, our guide to structured data for AI shows how to make it machine-readable.
On authority, consistency is also central to modern search engine optimization.
And for the writing itself, see how to write content AI cites.
A cherry on the cake, not a plaster
In other words: llms.txt is a handy layer on a healthy foundation, not a replacement for it.
Build that foundation first. Then an llms.txt is a logical cherry on the cake rather than a plaster on a wound.
Why this matters for B2B
The stakes are real. Decision-makers increasingly do their early research in AI conversations, and that’s where you want to show up.
But the approach that gets you there is the same solid approach that wins in classic search.
We don’t treat SEO as a set of isolated tricks. It’s the acquisition layer of one growth engine, aimed at pipeline and revenue, not vanity scores.
Whether it’s your llms.txt, your structure or your content, an experienced SEO specialist helps you choose well without chasing every hype.
Content first. The file comes second.
The short summary
llms.txt is a light markdown file in your site root that points AI models to your most important pages.
It resembles robots.txt but targets language models, and it chooses focus over completeness.
It’s a promising proposal, not an established standard. So treat it as a useful extra layer.
Rule of thumb: clear, structured, authoritative content still delivers the biggest gain.
Want a quick read on your pages first? The free GEO check shows how ready a page is to be cited by AI.
Want to know whether your site is ready for classic search and AI answers, and where you’re leaving chances on the table? Contact us and we’ll show you where your lead lies.
Free website scan
Enter your website and get an automatic scan within minutes, with concrete technical and SEO improvements. No sales pitch.
We only use your details for your scan. No spam, unsubscribe anytime.