# llms.txt generator

Updated 2026-11-23

Build an llms.txt file in the llmstxt.org format: a name, a summary and sections of annotated links, checked as you type. Copy or download it, free.

The interactive tool runs in the browser at /tools/llms-txt-generator.

## How does the llms.txt generator work?

Fill in your site's name, a one-sentence summary and sections of links, and the tool writes an [llms.txt](/glossary/llms-txt) file in the shape the llmstxt.org proposal describes, updating as you type. Copy it or download it, then publish it at `/llms.txt` on your site. It runs in your browser and sends nothing you type anywhere.

It checks the file while it builds it. The name is required; every link needs a title and a full address, or a path such as `/pricing` once you give the site address. Line breaks inside a title or a note are folded into one line, brackets in link titles are escaped, and a heading typed into the details is written as plain text, so nothing you type can break the Markdown or start a section by accident.

## What goes in an llms.txt file?

| Part | Markdown | Required | What it holds |
| --- | --- | --- | --- |
| Name | `# Name` | Yes | The site or project name. The only required part. |
| Summary | `> Summary` | No | A short description with the facts needed to read the rest. |
| Details | Paragraphs or lists | No | Notes on the project or on how to use the links. Any Markdown except headings. |
| File lists | `## Section`, then `- [Title](url): note` | No | Links to the pages worth reading, each with an optional note after a colon. |
| Optional | `## Optional` | No | Secondary links an agent may skip when it needs a shorter context. |

The parts come in that order. The format was proposed by Jeremy Howard in September 2024 and is described at [llmstxt.org](https://llmstxt.org). The proposal also suggests serving a clean Markdown copy of each page at the same address with `.md` added, and lets a file sit under a subpath, such as `/docs/llms.txt`, to cover only that part of a site.

## A worked example

The example in the tool is CrispStats's own site, cut down to five links. It produces this file:

```markdown
# CrispStats

> Privacy-first web analytics with a live globe, revenue attribution, funnels, web vitals and AI traffic. One tiny script, no cookies, every feature on every plan.

## Docs

- [Quickstart](https://docs.crispstats.com/quickstart): add a site, install the script and confirm the first visit
- [REST API reference](https://docs.crispstats.com/api-reference/introduction): the read-only API

## Free tools

- [UTM builder](https://crispstats.com/tools/utm-builder): tag a link and see the channel it lands in

## Optional

- [Pricing](https://crispstats.com/pricing)
- [Changelog](https://crispstats.com/changelog)
```

Three things to notice. The summary is a single line. Each link is a full address, with a note after the colon that says what the page is for, so an agent can choose without opening it. The least important links sit under Optional, at the end. The paths `/pricing` and `/changelog` were typed as paths and resolved against the site address. Our complete file is at [/llms.txt](/llms.txt), and every page in one Markdown file is at [/llms-full.txt](/llms-full.txt).

## How do you check the result?

- **One H1, first.** The name heading opens the file. Anything above it breaks the shape.
- **Every link opens.** Try a few. A dead link sends an agent nowhere, and a page behind a login is no use to it.
- **Notes say why, not what.** "install the script and confirm the first visit" helps an agent choose; "quickstart page" only repeats the title.
- **Short beats complete.** It is a curated map, not a second sitemap. Keep the pages that answer the questions people actually ask.
- **Optional goes last.** The tool warns if it is not, and if two sections share a name.

## Does llms.txt actually work?

It is a proposal, not a web standard, and whether to read it is up to each AI tool: nothing obliges a crawler or an assistant to fetch it. It also controls nothing. Allowing or blocking an [AI crawler](/glossary/ai-crawler) is still the job of robots.txt, which the [robots.txt generator](/tools/robots-txt-generator) writes and the [AI crawler checker](/tools/ai-crawler-checker) tests. Treat llms.txt as a cheap, optional map for the agents that look for one.

| File | What it is for | Controls access |
| --- | --- | --- |
| `robots.txt` | Which crawlers may fetch which paths | Yes, as a request crawlers choose to follow |
| `sitemap.xml` | Every URL you want search engines to find | No |
| `llms.txt` | A short, annotated list of the pages worth reading | No |

## How CrispStats uses llms.txt

CrispStats publishes its own [/llms.txt](/llms.txt) and [/llms-full.txt](/llms-full.txt), built from the same lists as the sitemap so they cannot drift from the pages, and answers every listed page as Markdown at its address plus `.md`. If your edge or middleware forwards AI crawler hits, the [AI traffic](/features/ai-traffic) report lists the paths each crawler fetched most, so you can see whether anything requests your llms.txt at all. Visitors who then click through from an assistant are counted separately, as [AI referrals](/glossary/ai-referral). The guide to [tracking visitors from ChatGPT and Perplexity](/blog/track-ai-traffic-chatgpt-perplexity) covers that side, and [AI visibility](/analytics/ai-visibility) shows both reports together.

## Frequently asked questions

### Is this llms.txt generator free?

Yes. It runs entirely in your browser, needs no account and sends nothing you type to a server.

### Where do I put the llms.txt file?

At the root of your site, at /llms.txt, served as plain text. The proposal also allows a file under a subpath, such as /docs/llms.txt, that covers only that part of the site.

### Is llms.txt mandatory?

No. It is an optional proposal from 2024, not a web standard, and no crawler needs it to read your site. It is cheap to publish and easy to remove, so the cost of trying it is low.

### Does llms.txt replace robots.txt or a sitemap?

No. robots.txt says what crawlers may fetch, a sitemap lists every URL you want found, and llms.txt points to the few pages worth reading. They do different jobs, so keep all three.
