AI
llms.txt for B2B websites: what it does, what it doesn't, and how to write one
llms.txt is a Markdown file at the root of a website that gives AI systems a short description of the company and a curated list of its most important pages. Jeremy Howard of Answer.AI proposed it in September 2024. It is cheap to write and useful to AI agents and tools that read it, but no major AI search engine has documented it as a ranking or citation input. A B2B company should write one in an hour, then put the real effort into crawler access, server-rendered pages and passages an AI can quote.
Key Takeaways
- llms.txt is a plain Markdown file at /llms.txt: a title, a short summary and lists of links with one-line descriptions.
- It helps AI agents and tools that fetch it. No AI search engine has said it cites pages because of it, so treat it as a low-cost extra.
- Write the summary as the paragraph you would want an AI assistant to repeat about your company.
- Crawler access, server-rendered HTML and quotable passages matter far more for AI citations.
What llms.txt is
llms.txt is a proposed standard, published at llmstxt.org (opens in a new tab), for a Markdown file at the root of a site (example.com/llms.txt). It exists because HTML pages are full of navigation, scripts and layout that waste a language model's limited context. The file gives the model a short, curated map instead.
The format is deliberately simple:
- An H1 with the company or project name. This is the only required part.
- A blockquote with a short summary of what it is.
- Optional paragraphs with more detail.
- H2 sections of links, each one a Markdown link to the page followed by a colon and a one-line description.
- An optional section titled Optional, for links a model can skip when it is short of space.
Some sites also publish llms-full.txt, one file with the full text of their key pages. That convention was popularised by documentation platforms and sits outside the original proposal.
Does it help with AI search?
Be clear about what it does. At the time of writing, none of the major AI search products (ChatGPT search, Perplexity, Google AI Overviews, Microsoft Copilot) has documented llms.txt as something that decides which pages get cited, and Google staff have said publicly that Google Search does not use it.
It earns its place with agents and developer tools. An AI agent asked to research your company, or a buyer's analyst pointing an assistant at your site, gets a clean, accurate summary instead of a page of markup. That is why so many developer documentation sites publish one.
So the fair summary is that it costs an hour, carries little risk, and will not rescue a site that AI crawlers cannot read.
How to write one for a B2B company
Most B2B sites need five parts. Keep the whole file to a few hundred lines at most.
- H1 and summary. The company name, then one paragraph stating your category, who you serve and what you do, in plain words. Write it as the paragraph you want an assistant to repeat when someone asks who you are.
- Key facts. Founded, location, category, buyers served, how to start (a call, a trial) and contact. Short lines and no adjectives.
- Services or product. One link per service, each with a self-contained description naming the deliverable and how it is sold.
- Proof. Case studies with the number in the description. '78 downloads and 3 tier-1 meetings from one checklist' gives a model something to cite. 'A successful lead magnet campaign' gives it nothing.
- Resources. Your strongest guides, then an Optional section for the rest.
Ours opens with: 'Clarafold is an AI-enabled B2B go-to-market (GTM) company. It diagnoses where a company's go-to-market is stuck, then designs, builds and operates the agentic workflows and connected systems that fix it.' You can read the full file. It is generated from the same data as the website, so it cannot drift from what the pages say.
Mistakes to avoid
- Marketing language. 'Leading', 'innovative' and 'best-in-class' give a model nothing to quote. Facts and numbers do.
- Claims the pages do not support. If llms.txt says something your site does not, an assistant that checks the page will trust the page. Generate both from one source if you can.
- Links to pages AI crawlers cannot read. A page that only renders with JavaScript, or that robots.txt blocks, sends the model to an empty page.
- Treating it as a sitemap. It is a shortlist. Twenty to fifty well-described links beat five hundred bare ones.
What matters more than llms.txt
If AI assistants never mention your company, llms.txt is rarely the reason. Check these, in this order:
- Crawler access. robots.txt and your CDN or firewall must let in the AI crawlers you want to be found by, such as OAI-SearchBot and GPTBot (OpenAI), PerplexityBot and ClaudeBot.
- Server-rendered content. Many AI crawlers do not run JavaScript. In one audit, all 28 pages of a site came back empty to AI crawlers because the content was built in the browser, and that single root cause explained most of a 32/100 readiness score (case study 08).
- Quotable passages. Assistants tend to cite self-contained paragraphs that answer one question directly. Put a direct answer at the top of each important page (more on this).
- Structured data and entity signals. Organization and Article schema, one consistent company description everywhere, and mentions on sites AI models already trust.
We run these checks every month for clients through AI Search Visibility, starting with a free audit.
Put It To Work