GuideUpdated 30 Nov 20265 min read

llms.txt: what it is and how to write one.

llms.txt is a markdown file at the root of your site that tells AI tools what you do and which pages matter. Here is the format, a copy-ready template and the mistakes to avoid.

Short answer

llms.txt is a plain markdown file served at yoursite.com/llms.txt that gives AI tools a short summary of your site and a curated list of its most important pages. It starts with an H1 of your name, a one-line summary in a blockquote, then sections of links with a short note each. It takes ten minutes to write and costs nothing to serve.

What llms.txt is

llms.txt is a proposed standard, introduced by Jeremy Howard in 2024, for giving language models a clean, compact map of a website. Where robots.txt says what crawlers may fetch and sitemap.xml lists every URL, llms.txt says what matters, in the format models read best: markdown.

It lives at the root: https://yoursite.com/llms.txt. Some sites also publish llms-full.txt with the full text of their docs.

The format

  • An H1 with the name of the site or product. This is the only required part.
  • A blockquote with a short summary: what it is, who it is for, what it costs.
  • Optional paragraphs with anything a model should know.
  • H2 sections of links, each as - [Title](url): note.
  • An optional section titled ## Optional for links a model can skip when short on context.

A template you can copy

llms.txtcopy# Acme Invoices

> Invoicing for freelancers who bill clients in several
> currencies. Web and Mac. From $12 a month, 14-day free trial.

Acme sends invoices, tracks payments and handles VAT for
freelancers in the EU and US.

## Product
- [Pricing](https://acme.app/pricing): plans, limits and what is included
- [Features](https://acme.app/features): invoicing, reminders, multi-currency
- [Acme vs Harvest](https://acme.app/vs/harvest): honest comparison

## Docs
- [Getting started](https://acme.app/docs/start): first invoice in 5 minutes
- [API](https://acme.app/docs/api): REST API reference

## Optional
- [Changelog](https://acme.app/changelog)
- [Blog](https://acme.app/blog)

Footnote’s own file is live at usefootnote.app/llms.txt, and the fix kit writes yours from your sitemap and page titles.

Common mistakes

  • Serving it as HTML. It should be plain text or markdown, not a page inside your site template.
  • Dumping every URL. That is what the sitemap is for. Keep llms.txt to the 10 to 30 pages that answer buyer questions.
  • Marketing copy in the summary. “The future of finance” tells a model nothing. Say what it is, who it is for and the price.
  • Blocking it in robots.txt. Check that the AI crawlers are allowed to fetch it.
  • Letting it go stale. Update it when you change pricing or add a key page.

Does it actually help?

Honestly: it is cheap, harmless and increasingly read by AI tools and coding agents, but it is not a switch that makes ChatGPT cite you. Treat it as part of a set with crawler access, server-rendered pages, schema and answer-first content. The free audit checks all of them together.

FAQ

Quick answers.

Where do I put llms.txt?

At the root of your domain, so it loads at https://yourdomain.com/llms.txt, served as plain text.

Is llms.txt an official standard?

It is a community proposal from 2024, not a W3C or IETF standard. It is widely adopted because it is simple and cheap to add.

Does Google use llms.txt?

Google has not said it uses llms.txt for search. Its value is mainly for AI assistants and agents that read it directly.

See what AI says about your site.

Free audit in under a minute, no signup. Tracking is $9 a month at the founding price.

https://