llms.txt Generator (Free)

Give AI assistants a clean map of your site: generate llms.txt and Markdown versions of your pages, then check them, in a minute.

llms.txt Generator (Free) cover

Overview

Create an llms.txt for your site or docs in one command, with Markdown copies of your pages, and check any llms.txt against the format at llmstxt.org (v2, Aug 2026).

python3 -m llmstxt generate --dir public --base https://example.com/ --name "Example" --md --out public/llms.txt
python3 -m llmstxt generate --sitemap https://example.com/sitemap.xml --fetch --name "Example" --out llms.txt
python3 -m llmstxt check https://example.com/llms.txt --links
python3 -m llmstxt headers --base https://example.com/ --server nginx

What you get

The screenshot is real output from the kit’s own commands. Tested from a fresh download of this exact zip: ./run_tests.sh ran 6 tests OK on Python 3.13 and 3.10.

Real terminal output from llms.txt Generator: demo and passing tests

What it does

  • generate from a static build folder (--dir + --base) or a sitemap (--sitemap, file or URL; --fetch reads each page's title and description). It writes the H1, a > summary (your home page's meta description unless you pass --summary), optional details (--details @notes.md) and one ## file list per site section, with each page's description as the link note. --section docs=Documentation renames a section, --optional 'blog/*' moves pages under ## Optional (the section agents can skip), --exclude 'tags/*' leaves pages out. 404 pages and noindex pages are skipped.
  • --md writes a clean Markdown copy next to each HTML file (page.html -> page.html.md, docs/index.html -> docs/index.html.md, the URL scheme the proposal recommends) without navigation, headers, footers or scripts, and links llms.txt to those copies.
  • check a file or URL: H1 first (the only required part) and only one, summary blockquote placement, [name](url): notes list format, relative or duplicate links, empty sections, headings the format doesn't use, ## Optional last, file size, content type. --links requests every link and reports errors, redirects and .md links served as HTML. Exit code 1 on high-severity problems, for CI.
  • headers prints the Link: <page.html.md>; rel="alternate"; type="text/markdown" and rel="describedby" setup for nginx, Apache, Netlify / Cloudflare Pages _headers and HTML <link> tags, so agents can find the Markdown versions and the llms.txt.

Run ./demo.sh for the example site (7 pages, a noindex page and a 404 skipped) and ./run_tests.sh for the tests. Python 3.9+, no dependencies. Live fetching blocks private and local addresses; set LLMSTXT_ALLOW_PRIVATE=1 to use it on a local dev server.

Honest limits

An llms.txt is a proposal, not a search ranking factor; it helps agents and AI assistants that look for it. The Markdown converter handles common page markup (headings, lists, tables, code, links); pages built entirely in JavaScript need --sitemap --fetch against a server-rendered site or your framework's own Markdown output.

Format and license

Zip, 19 KB, v1.0, 22 files. Free to use, modify and share for any purpose, including commercial work, as long as this notice stays in copies. Not affiliated with or endorsed by llmstxt.org or any AI company.

FAQ

Is it free?
Yes, free to use, change and share.
Does llms.txt help Google rankings?
No, it's for AI assistants and agents that look for it; Google Search doesn't use it for ranking.
Does it work with WordPress or JavaScript sites?
Use --sitemap with --fetch against the live site; --dir is for static build folders.
How do I get the files?
Click Download free. The zip downloads straight away: no checkout, no account.
Do I have to sign up for the newsletter?
No. The form is optional and the download works without it.

Get llms.txt Generator (Free)

Free llms.txt generator: build llms.txt from your site folder or sitemap, write Markdown copies of pages, and check any llms.txt and its links.

Pairs well with

Download$19

DMARC Report Analyzer

Read DMARC aggregate reports (.xml, .gz, .zip, .eml, mbox) on your computer: senders, alignment, what p=reject would block, what to fix. $19 once.

View DMARC Report Analyzer
DownloadFree

Email Auth Checker (Free)

Free SPF, DKIM and DMARC checker: SPF 10-lookup limit, DMARC tags and report authorisation, DKIM key size, MTA-STS and TLS-RPT. No account.

View Email Auth Checker (Free)
Download$19

Keyword Cannibalization Checker Skill

Find keyword cannibalization in Search Console data: pages splitting the same query, ranking flips, competing pairs, with merge-or-sharpen advice. $19.

View Keyword Cannibalization Checker Skill

Related