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.
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?
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.
| 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 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.
Terms used here
Guides
- What is llms.txt? The spec, who reads it and what the evidence saysllms.txt is a Markdown file at /llms.txt that points AI tools to your key pages. What the spec says, who actually requests it and whether it changes citations.
- How to track visitors from ChatGPT, Perplexity and other AI assistantsHow to see visits sent by AI assistants: the referrers and UTM tags to look for, why much of it shows as direct, and how to log AI crawlers.
- The best AI visibility tools, split by what they actually measureAI visibility tools do two different jobs: tracking mentions in AI answers, or measuring AI crawlers and AI-referred visits. Twelve tools, priced and compared.
More free tools
All free tools- robots.txt generatorAllow or block each AI crawler, add private paths and a sitemap, and copy or download the robots.txt file.
- AI crawler checkerEnter a domain or paste a robots.txt file and see which AI crawlers it allows, with the rule that decides each one.
- UTM builderTag one link or hundreds with UTM parameters, check them for mistakes, export a CSV and see which channel each counts as.
- UTM checkerPaste a link and see which UTM tags are missing, which have capitals, and which are fine.
- UTM naming checkerClean a list of campaign names or links: lowercase, spaces to underscores, and a note of each change.
- GA4 URL testerSee the GA4 channel group for a tagged link, and the CrispStats channel beside it.
- UTM link testerCheck a tagged link for missing tags and messy spelling, and see both channel names before you send it.
- Traffic source classifierPaste a referrer or a tagged link and see which channel and source the visit counts as, and why.