Skip to content

llms.txt generator

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.

Start from

Becomes the H1, the only required line.

One sentence an agent reads first. Becomes the > blockquote.

Paragraphs or lists on how to read the links. No headings.

Lets you write links as paths, such as /pricing.

Section 1: Docs

llms.txt

# Site name

Add your site's name to start the file.

Where it goes

Save it as /llms.txt at the root of your site, next to robots.txt. Everything runs in your browser; nothing you type is sent anywhere.

To decide which AI crawlers may read the site at all, use the robots.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 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?

What goes in an llms.txt file?
PartMarkdownRequiredWhat it holds
Name# NameYesThe site or project name. The only required part.
Summary> SummaryNoA short description with the facts needed to read the rest.
DetailsParagraphs or listsNoNotes on the project or on how to use the links. Any Markdown except headings.
File lists## Section, then - [Title](url): noteNoLinks to the pages worth reading, each with an optional note after a colon.
Optional## OptionalNoSecondary 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. 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:

# 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, and every page in one Markdown file is at /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 is still the job of robots.txt, which the robots.txt generator writes and the AI crawler checker tests. Treat llms.txt as a cheap, optional map for the agents that look for one.

Does llms.txt actually work?
FileWhat it is forControls access
robots.txtWhich crawlers may fetch which pathsYes, as a request crawlers choose to follow
sitemap.xmlEvery URL you want search engines to findNo
llms.txtA short, annotated list of the pages worth readingNo

How CrispStats uses llms.txt

CrispStats publishes its own /llms.txt and /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 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. The guide to tracking visitors from ChatGPT and Perplexity covers that side, and AI visibility shows both reports together.

More free tools

All free tools

Tool questions. Straight answers.

What people ask about this tool before they use the number.

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

  • 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.

  • 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.

  • 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.

Not answered here? Write to hello@crispstats.com

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.