What is llms.txt, and does your website need one?
llms.txt is a small Markdown file that helps AI assistants understand your website. Here is what goes in it, who reads it, and what matters more.
If you have looked into making your website friendlier to ChatGPT, Claude or Perplexity, you have probably come across llms.txt. It is a small file, it takes half an hour to write, and it is one of the easiest things you can do for AI visibility. It is also not magic. Here is what it is and how it fits with everything else.
What llms.txt is
llms.txt is a plain Markdown file at the root of a website, at /llms.txt. It was proposed by Jeremy Howard of Answer.AI in September 2024 as a way to give language models a short, clean overview of a site, without the navigation, scripts and layout that make HTML hard to read.
Think of it as a briefing note for an AI assistant: who you are, what you do, and where your best pages are.
What goes in it
The proposal suggests a simple structure:
- A top-level heading with the name of the site or company.
- A short summary in a blockquote.
- Optional paragraphs with key details.
- Sections with lists of links, each with a one-line description.
- An “Optional” section for links that can be skipped when space is short.
A minimal example for a small studio:
# Example Studio
> Example Studio builds iOS and web apps for small businesses in Sydney, Australia.
## Services
- [iOS apps](https://example.com/services/ios.md): native Swift apps for iPhone and iPad.
- [Web apps](https://example.com/services/web.md): fast web apps and marketing sites.
## Optional
- [Privacy policy](https://example.com/privacy.md)
A common companion is llms-full.txt, a single file with the full text of the site, so an agent can read everything in one request. You can see both on this site: llms.txt and llms-full.txt.
Who actually reads it
This is where expectations need managing. llms.txt is a community proposal, not a standard that the major AI companies have committed to. Google has said it does not use the file for Search. Some AI tools and coding assistants do fetch it when they are pointed at a site, and agent frameworks increasingly look for it, but no one should promise you that adding one will change how often ChatGPT mentions your business.
So why bother? Because it is cheap, it does no harm, and it forces you to write a clear, plain summary of what your business does, which is useful for every reader, human or machine.
What matters more than llms.txt
If you want AI assistants and AI search to understand and cite your site, these matter more:
Content that renders without JavaScript
Many AI crawlers do not run JavaScript. If your main content only appears after a script runs, they see an empty page. Server-rendered or static HTML is the single biggest win.
Letting AI search crawlers in
Check your robots.txt and your firewall or bot protection. If you block OAI-SearchBot, Claude-SearchBot or PerplexityBot, those services cannot cite you. You can still block training crawlers such as GPTBot separately if you prefer.
Structured data
Schema.org markup in JSON-LD tells machines exactly what a page is: an Organization, a Product, an Article, an FAQPage. It also feeds rich results in Google.
Markdown versions of pages
Serving a clean Markdown version of each page, for example /about.md next to /about/, makes your content far easier for agents to read. Link to it from the HTML with <link rel="alternate" type="text/markdown">.
Clear, specific writing
AI assistants quote pages that answer a question directly. A page that says “We build native iOS apps in Swift for businesses in Sydney” is far more useful to an assistant than one that says “We craft digital experiences”.
How to add llms.txt to your site
- Write the file by hand, following the structure above. Keep it under a few thousand words.
- Link to your most useful pages, ideally to Markdown versions of them.
- Put it at the root of your domain and check it loads at
/llms.txtas plain text. - If your site has a blog or docs that change often, generate the file at build time so it never goes stale. This site builds its
llms.txtfrom the same data as the pages, so new articles appear automatically.
Summary
llms.txt is a quick win, not a ranking factor. Add one, keep it accurate, and spend most of your effort on the things that make any reader understand your site: fast server-rendered pages, open access for AI search crawlers, structured data and clear writing.
If you would like help making your website faster and easier for AI agents to read, get in touch.
Frequently asked questions
Where does llms.txt go?
At the root of your domain, so it is reachable at https://yourdomain.com/llms.txt, next to robots.txt and sitemap.xml.
Does Google use llms.txt?
Google has said publicly that it does not use llms.txt for Search. It is aimed at AI assistants and agents, not at traditional search ranking.
Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers what they may fetch. llms.txt is a summary and map of your most useful content, written for language models to read.
Cover image: Image generated with AI (GPT Image) for Chevvi