llms.txt generator

Describe your site or import your sitemap, then copy or download a ready-to-publish llms.txt.

llms.txt

What an llms.txt file must contain

Only one part is required: an H1 with the name of your site or project. Everything else is optional, but the llmstxt.org proposal (v2, modified 10 August 2026) fixes the order of the sections:

  1. An H1 with the name of the site or project (required).
  2. A blockquote with a short summary that holds the key facts needed to read the rest of the file.
  3. Optional paragraphs or lists, with no headings, that explain the project and how to read the linked files.
  4. Optional H2 sections, each a markdown list of links in the form [name](url), optionally followed by : and a note.
  5. By convention, an H2 named Optional for secondary links an agent can skip when it needs a shorter context.

Serve it at /llms.txt. The proposal also allows a file at a subpath such as /docs/llms.txt; it covers the URLs under that path, and agents use the most specific file. A worked example for a small analytics product:

# Example Analytics

> Cookieless web analytics with EU hosting. One script tag, no consent banner.

Pricing and limits are on the pricing page. Docs pages are the source of truth for setup.

## Docs

- [Install](https://example.com/docs/install): add the script tag
- [API](https://example.com/docs/api): read stats over HTTP

## Optional

- [Changelog](https://example.com/changelog)

llms.txt does not control access. To decide which AI crawlers may fetch your pages, use robots.txt: the AI robots.txt generator writes the rules, and the AI bots directory lists every crawler token.

Frequently asked questions

What is llms.txt?

llms.txt is a plain markdown file served at /llms.txt that gives AI agents a short, curated map of your site: a name, a one-line summary and links to your most useful pages.

Does llms.txt control what AI bots can do?

No. It is a hint for discovery, not an access control. Use robots.txt and edge rules to restrict crawlers.

Where do I publish it?

Serve the file at the root of your domain: https://example.com/llms.txt, as text/plain or text/markdown.

See which AI agents actually crawl your site

Glyphex shows every AI and search crawler hit, verified against published IP ranges.

Try Glyphex