Form or sitemap · Live preview

llms.txt generator

Enter your site URL to draft an llms.txt from its sitemap, or fill in the form by hand. Review the draft before you publish it.

Last updated:

Generator

Curated mode deterministically selects up to 30 useful candidates. Full inventory is available for advanced review, but a sitemap dump is not a finished llms.txt.

Sections

Preview

      

What the generator produces

The output is a Markdown draft in the llms.txt format: an H1, a blockquote summary, then H2 sections of links. Nothing is written by a language model.

  • Sitemap mode. An edge function looks for /sitemap.xml, /sitemap_index.xml, /sitemap-index.xml and the Sitemap: lines of robots.txt, and reads up to 5 child sitemaps of an index.
  • Curated draft. Up to 30 links spread over up to 6 sections, grouped by the first path segment of each URL.
  • Full inventory. Up to 300 URLs, in up to 15 sections of up to 30 links each.
  • What stays to write. Link names are derived from URL slugs, the summary is a placeholder to replace, and the note after each link is left empty for you.

What it checks

Each change to the form runs the preview through the same parser as the llms.txt validator. The line under the preview shows PASS or FAIL, the size in bytes and the count of errors and warnings. While an error remains, such as a missing project name, a link without a name or URL, or a URL that is not absolute HTTP(S), Copy, Download and Validate output stay disabled. This is the report the validator returns for a published file:

PASS

errors: 0 · warnings: 0 · notes: 0

Titlellmtxt.info
Sections / links9 / 65
Bytes / lines9899 / 100

No diagnostic: the parser raised no error, warning or note on this file.

Report produced by this validator when the site was built, on /llms.txt, the file llmtxt.info publishes. Enter llmtxt.info in the URL field to run the same check.

Questions about generating a file

How do I generate an llms.txt file?

Enter your site URL at the top of this page and select Generate from sitemap, or fill in the name, summary and sections by hand. Edit the draft, then copy or download it and publish it at /llms.txt on your site. How to create llms.txt covers the publishing step.

Is the generated file ready to publish?

Not as it stands. A sitemap lists every page, and the draft keeps URL-derived names and empty notes. Remove the links a reader does not need, write the summary and the notes, then compare the result with the best-practice rules and with published files.

What if my site has no sitemap?

Sitemap mode needs a public sitemap. Without one, use the form: add sections and links by hand and the preview updates as you type.

Tips

  • Keep the summary factual: one or two sentences, no marketing claims.
  • Group items by product surface (Product, Pricing, Developers), not by content type.
  • One short note per item after the colon, disambiguation, not selling.
  • Use absolute URLs (https://yourdomain.com/...).
  • You can group supplementary resources in an Optional section. The v2 proposal does not require special handling for it.

Next steps

A generated file is a starting point, not a finished one. Run the result through the validator, then cut it back against the best-practice rules: a sitemap lists every page, and an llms.txt should list the few worth reading. How to create llms.txt covers deployment stack by stack, and real-world examples show how established sites structure theirs.