llms.txt example

Three valid files, annotated line by line

An llms.txt file is short, so the quickest way to learn the format is to read a few complete ones. Below are three valid examples for the most common kinds of site: a software product with documentation, an online store and a blog. Every line is annotated, and each file passes the Crawlnote checker with no fail or warning. The sites in them are fictional; the format follows llmstxt.org.

The shape every file shares

  1. # Name: one H1 on line 1. The only required part.
  2. > Summary: an optional blockquote saying what the site is.
  3. Optional free-form details: Markdown without headings.
  4. ## Section headings, each followed by a list of - [Title](https://absolute-url): note links.
  5. A final section named exactly ## Optional for links a reader can skip.

1. A small SaaS docs site

A product with documentation, an API reference and a changelog. Sections follow how a reader looks things up, and the changelog sits under Optional.

LineIn the fileWhat it does
1# BrightCalThe H1: the project name. Required, exactly one, and it must come first.
3> BrightCal is a scheduling API for booking software: create calendars, check availability and confirm bookings over HTTPS.The summary blockquote (optional): one or two sentences saying what the project is.
5Authentication uses API keys sent in the Authorization header. All times are UTC.Free-form details (optional): any Markdown except headings. Facts a reader needs before following links.
7## DocsAn H2 section. Each section holds a list of links; name it after what the links are.
9- [Quickstart](https://docs.brightcal.test/quickstart): Create a calendar and confirm a first booking in five minutesA link item: a Markdown link with an absolute URL, then a colon and a note on what the page answers.
10- [Authentication](https://docs.brightcal.test/auth): API keys, key rotation and request signingSame pattern. Notes are written for a reader who has not seen the site.
11- [Availability](https://docs.brightcal.test/availability): How free slots are calculated from rules and existing bookingsOne topic per link, one line per link.
13## API referenceA second H2 section, kept apart because readers use it differently from the guides.
15- [Bookings endpoint](https://docs.brightcal.test/api/bookings): Create, move and cancel bookingsLink to the page that answers the question, not to the site home.
16- [Errors](https://docs.brightcal.test/api/errors): Status codes and error bodiesFinal URLs only: link the address that answers 200, not one that redirects.
18## OptionalA section named exactly "Optional" marks links a reader can skip when it needs less context. Keep it last.
20- [Changelog](https://docs.brightcal.test/changelog): Release notes for every API versionUseful, but not needed to use the API, so it goes here.
Copy the plain file
# BrightCal

> BrightCal is a scheduling API for booking software: create calendars, check availability and confirm bookings over HTTPS.

Authentication uses API keys sent in the Authorization header. All times are UTC.

## Docs

- [Quickstart](https://docs.brightcal.test/quickstart): Create a calendar and confirm a first booking in five minutes
- [Authentication](https://docs.brightcal.test/auth): API keys, key rotation and request signing
- [Availability](https://docs.brightcal.test/availability): How free slots are calculated from rules and existing bookings

## API reference

- [Bookings endpoint](https://docs.brightcal.test/api/bookings): Create, move and cancel bookings
- [Errors](https://docs.brightcal.test/api/errors): Status codes and error bodies

## Optional

- [Changelog](https://docs.brightcal.test/changelog): Release notes for every API version

2. An e-commerce store

A shop with product categories, delivery and returns information, and support pages. Categories and policies are the pages shoppers ask about, so they get their own sections.

LineIn the fileWhat it does
1# Fieldhouse OutdoorThe H1: the store name.
3> Fieldhouse Outdoor sells hiking boots, packs and camping gear, with free returns within 30 days.The summary: what the store sells and one fact a reader would want first. Keep every claim true and current.
5## ShopA section for product categories: the pages that list what is for sale.
7- [Hiking boots](https://fieldhouse.test/boots): Men's and women's boots, sorted by terrain and waterproofingA category page described by what a shopper finds on it.
8- [Backpacks](https://fieldhouse.test/packs): Day packs and multi-day packs, with capacity in litresMention the detail that tells categories apart.
9- [Tents and shelters](https://fieldhouse.test/tents): One- to four-person tents, with weight and season ratingUse the final category URL, not a filtered or paginated one.
11## Orders and returnsPolicy pages in one section, so a reader can find the rules before answering a customer question.
13- [Delivery](https://fieldhouse.test/delivery): Delivery options, costs and typical times by regionLinks to the policy itself, in plain words.
14- [Returns](https://fieldhouse.test/returns): How to return an item within 30 days and when a refund arrivesThe note names the number a reader will look for.
15- [Size guide](https://fieldhouse.test/size-guide): Boot and clothing sizes with measuring instructionsOne line per page; no marketing language.
17## OptionalPages that are fine to skip.
19- [About us](https://fieldhouse.test/about): Who runs the store and where it is basedBackground, not needed to answer product questions.
20- [Contact](https://fieldhouse.test/contact): Email address and opening hours for supportContact details go last: useful, but not core.
Copy the plain file
# Fieldhouse Outdoor

> Fieldhouse Outdoor sells hiking boots, packs and camping gear, with free returns within 30 days.

## Shop

- [Hiking boots](https://fieldhouse.test/boots): Men's and women's boots, sorted by terrain and waterproofing
- [Backpacks](https://fieldhouse.test/packs): Day packs and multi-day packs, with capacity in litres
- [Tents and shelters](https://fieldhouse.test/tents): One- to four-person tents, with weight and season rating

## Orders and returns

- [Delivery](https://fieldhouse.test/delivery): Delivery options, costs and typical times by region
- [Returns](https://fieldhouse.test/returns): How to return an item within 30 days and when a refund arrives
- [Size guide](https://fieldhouse.test/size-guide): Boot and clothing sizes with measuring instructions

## Optional

- [About us](https://fieldhouse.test/about): Who runs the store and where it is based
- [Contact](https://fieldhouse.test/contact): Email address and opening hours for support

3. A blog

A personal or company blog. List the pillar posts that answer real questions, not every post: tag pages, archives and duplicates stay out.

LineIn the fileWhat it does
1# TrailnotesThe H1: the blog name.
3> Trailnotes is a blog about long-distance walking: route guides, gear tests and planning checklists.The summary: the topic and the kinds of posts.
5## Start hereA short first section for the posts a new reader should open first.
7- [How to plan a first long-distance walk](https://trailnotes.test/plan-your-first-walk): A step-by-step plan covering distance, food and kitA pillar post, described by what it covers.
8- [The packing list I use](https://trailnotes.test/packing-list): A full gear list with weightsThe note says what is inside the post.
10## Route guidesPosts grouped by topic, one H2 per topic.
12- [The coast path in ten days](https://trailnotes.test/coast-path-ten-days): Daily distances, water points and places to sleepSpecific titles and specific notes.
13- [A winter crossing of the hills](https://trailnotes.test/winter-crossing): Route choices and safety checks for short daysLink only posts you would send a reader to today.
15## Gear testsAnother topic section.
17- [Rain jackets compared](https://trailnotes.test/rain-jackets): Six jackets worn for a season, with weight and breathability notesEach note answers "what will I learn here?".
19## OptionalLinks that can be skipped.
21- [All posts](https://trailnotes.test/archive): The full archive, newest firstThe archive is complete but long, which is what Optional is for.
Copy the plain file
# Trailnotes

> Trailnotes is a blog about long-distance walking: route guides, gear tests and planning checklists.

## Start here

- [How to plan a first long-distance walk](https://trailnotes.test/plan-your-first-walk): A step-by-step plan covering distance, food and kit
- [The packing list I use](https://trailnotes.test/packing-list): A full gear list with weights

## Route guides

- [The coast path in ten days](https://trailnotes.test/coast-path-ten-days): Daily distances, water points and places to sleep
- [A winter crossing of the hills](https://trailnotes.test/winter-crossing): Route choices and safety checks for short days

## Gear tests

- [Rain jackets compared](https://trailnotes.test/rain-jackets): Six jackets worn for a season, with weight and breathability notes

## Optional

- [All posts](https://trailnotes.test/archive): The full archive, newest first

Write yours

Paste your domain into the llms.txt generator and it drafts a file like these from your sitemap, then edit the notes. When you have a file, run the llms.txt checker: it tells you the rule and the line for anything that breaks, and every message is explained here. For real files from large public sites see llms.txt examples, and for the format rule by rule read what is llms.txt; to see how it differs from robots.txt, read llms.txt vs robots.txt.

Frequently asked questions

Can I copy one of these files?

Use them as a pattern. The sites, names and addresses are made up, so replace every line with your own pages. The structure (one H1, an optional summary, H2 sections of links, an Optional section last) is what carries over.

How many links should the file have?

As few as answer real questions: usually 5 to 30 for a small site. The generator writes the first 25 pages it finds in your sitemap, and you can trim from there.

Does the file name have to be llms.txt?

Yes, and it goes at the root of the site: https://yoursite.com/llms.txt, served as plain text with a 200 answer.

Will adding one improve my rankings?

llms.txt is a proposal, not a standard every service follows. Some services read it, others do not, and some major search engines have said they do not use it. Crawlnote makes the file correct; it cannot make anyone read it, and it does not promise rankings or traffic.