Tool
llms.txt generator and validator
llms.txt is a markdown file at the root of a site that gives language models a clean map of it. Build one here, or paste yours to check it.
Topics
Tool
Start from
One or two sentences. Becomes the blockquote.
Paragraphs with no headings.
Sections
Result
Valid. No problems found.
Rendered
Acme Docs
Documentation for the Acme API: guides, reference and changelog.
Docs
- Quickstart: Install and make a first call
- API reference
Optional
- Changelog
Generated llms.txt
# Acme Docs > Documentation for the Acme API: guides, reference and changelog. ## Docs - [Quickstart](https://example.com/docs/quickstart): Install and make a first call - [API reference](https://example.com/docs/api) ## Optional - [Changelog](https://example.com/changelog)
How it works and assumptions
llms.txt is a Markdown file at the root of a site that gives language models a summary and a curated list of links. The generator writes an H1 with the site name, an optional blockquote summary, optional detail paragraphs and H2 sections of links in the form - [Title](URL): note. A section named Optional marks links a model can skip. The validator checks a pasted file against those rules.
- The format follows llmstxt.org: an H1 with the site name, a blockquote summary, optional paragraphs, then H2 sections that each hold a list of markdown links, optionally with a note after a colon.
- The validator checks for exactly that. It reports errors for a missing H1 or empty links and warnings for a missing summary or an H1 that is not first.
- A section named Optional is allowed and marks links that can be skipped when a model has little room.
- Nothing is fetched. Links are not opened, so a link can pass here and still be broken.
Frequently asked questions
What is llms.txt?
A proposed convention (llmstxt.org) for a Markdown file at /llms.txt that summarises a site and links to its most useful pages for language models and AI assistants.
Where do I publish llms.txt?
At the root of your domain, for example https://example.com/llms.txt, served as plain text or Markdown.
What does the validator check?
That the file starts with a single H1, has a blockquote summary after it, uses H2 sections, lists links as Markdown links with an http, https or root-relative URL, and has no empty sections or text between links.
Does llms.txt guarantee visibility in AI search?
No. Support varies by tool and no search engine has promised to use it.
Related articles
Reading that goes with this tool.
- This site for under a dollar a month: static Next.js on S3 and CloudFront
How lopsum.com is built and hosted: a static Next.js export, a private S3 bucket behind CloudFront, OIDC deploys with no stored keys, first-party analytics and AI-crawler logs in Athena.