llms.txt generator

Create a reviewable llms.txt draft from a saved crawl and an explicit page selection. You still decide what belongs in the file (the generator does not know your publishing priorities).

Install and generate the file

Install the CLI once, then run seo start to connect your site and Google data. After setup you can run this generator yourself or ask your agent to run it.

Runafter install

Create an optional llms.txt draft from a saved crawl.

seo llms generate --project example

What the generator creates

Generate an llms.txt draft from useful crawled pages, then review the selected links and wording against the saved crawl before publishing the file.

Best for
The optional format is a deliberate publishing choice.
Needs
Saved or fresh crawl report
You get
Generate an llms.txt draft from useful crawled pages, then review the selected links and wording against the saved crawl before publishing the file.
Use next
Audit an llms.txt file

Every report follows the same rules for missing data and outside estimates.See how report data works.

What you need before you run it

The report uses the information below. Optional sources are only used when you ask for them.

Saved or fresh crawl report

Supplies page URLs, titles, descriptions, and crawl exclusions.

Selection limits and exclusions

Control the maximum URLs, token budget, and paths that should stay out of the draft.

Use a different report for these jobs

These jobs need a different report or a manual review.

You want to draft a small file from links you choose yourself.

Use the browser generator to create, copy, or download a small draft without installing anything. It does not crawl the pages or choose links for you.

Free llms.txt generator

You need to check a published llms.txt file and the pages it links to.

Run the llms.txt audit after publishing. It fetches the live file, parses its entries, checks linked destinations, and compares them with limited crawl candidates.

llms.txt audit

Use the generator with an agent or in code

The command above is enough for most work. These options let an agent, script or application run the same generator with explicit input and structured output.

Use the report catalog when an agent, script or CI job needs predictable JSON instead of the normal terminal output. Check the current input first, then run the generator with the validated parameters.

Check the current input before the agent or script runs the generator.

seo reports describe generate-llms-txt --json

Once the input is valid, run the generator through the report catalog.

seo reports run generate-llms-txt --params '{"reportId":"crawl_example_20260710","maxUrls":50,"tokenBudget":4000,"exclude":["/account/*","/search"]}' --json

What to do next

Review every selected URL and description before publishing the draft. Keep only stable pages you are comfortable recommending, then audit the live file after it is available.

  1. 01Validate the draft against the live site.
  2. 02Re-audit after publishing or changing important URLs.

Sources used by this generator

These primary sources define the provider data or search controls used by the result.