Skip to content

How to Write an llms.txt File (and Why It Matters for GEO)

A practical guide to llms.txt: what it is, what to put in it, and how it helps AI engines understand and cite your site.

llms.txt is a simple proposal with an outsized payoff for GEO: a single Markdown file at the root of your domain (/llms.txt) that hands AI engines a clean, curated map of what your site is about and which pages matter most.

Think of it as robots.txt’s helpful cousin. Where robots.txt says what crawlers can’t do, llms.txt says what your site is — in language a model can parse instantly.

Why it helps

AI engines have to infer what your business does from messy HTML, navigation, and marketing copy. llms.txt removes the guesswork: a concise summary plus a hand-picked list of your best pages. It’s one of the fastest technical GEO wins available — minutes to write, and it improves how confidently engines can describe and cite you.

The format

The file is just Markdown, with a loose convention:

# Your Company

> One-paragraph summary of what you do and who you serve.

A few sentences of additional context — your positioning,
key facts, pricing ranges, and what makes you distinct.

## Services

- [Service A](https://example.com/service-a): One-line description.
- [Service B](https://example.com/service-b): One-line description.

## Core pages

- [About](https://example.com/about): Who you are.
- [Pricing](https://example.com/pricing): Transparent pricing.

## Contact

- Email: hello@example.com

What to put in it

  1. An H1 with your brand name.
  2. A blockquote summary — the single most important sentence about your business.
  3. A short context paragraph — key facts an AI should know: what you do, who you serve, pricing ranges, your differentiator.
  4. H2 sections of curated links — your services, core pages, and best content, each with a one-line description. Use absolute URLs.
  5. Contact details.

Tips that matter

  • Curate, don’t dump. This isn’t a sitemap. List the pages you most want cited.
  • Lead with facts. Concrete claims and numbers are more quotable than adjectives.
  • Keep it current. Outdated info here is worse than none — models may repeat it.
  • Mirror your schema. The facts in llms.txt should match your JSON-LD and on-page content.

It’s necessary, not sufficient

llms.txt makes your site easier to understand, but it won’t single-handedly win the answer. It works alongside extractable content, structured data, and presence in the sources engines cite. We treat it as table stakes in every technical readiness audit — and yes, this site ships one.

See where you stand in AI answers

We’ll run your domain through our tracker and send back a free one-page visibility snapshot — no call required.