---
title: llms.txt generator — build a spec-valid llms.txt from a URL
description: "Free llms.txt generator: enter a URL and get a ready-to-paste, spec-valid llms.txt — pages discovered from your sitemap, named from each page's own title and description."
last_updated: 2026-06-20
canonical_url: https://agent-ready.dev/llms-txt-generator
---

# llms.txt generator

> Free llms.txt generator: enter a URL and get a ready-to-paste, spec-valid llms.txt — pages discovered from your sitemap, named from each page's own title and description.

## What it does

Enter a site URL and the generator builds a first-draft llms.txt for you: it reads your homepage for the site name and summary, discovers your pages from /sitemap.xml (or by crawling homepage links if there's no sitemap), fetches each page for its own title and meta description, and assembles a spec-valid file — an H1 site name, a blockquote summary, and H2 sections of `[name](url): description` links — that you can copy, review, and publish at /llms.txt.

## How it builds your file

1. Reads your homepage for the site name and one-line summary (Open Graph and meta tags).
2. Discovers pages from /sitemap.xml, or falls back to crawling homepage links.
3. Fetches each page for its own title and description — up to 50, the site's actual text, nothing generated.
4. Groups the links into H2 sections by URL path and emits a spec-valid file in the `[name](url): description` format.

Nothing is invented: every name and description is the page's own title/meta text. If your homepage has no summary, the blockquote is left as an editable placeholder.

## Does the output pass the llms.txt checks?

Yes, for the structural checks. The file is built to satisfy the seven content rules the llms.txt validator enforces (L2–L8 of the llmstxt.org spec). Two checks are publish-time steps only you can do (L1, L9), and one is an optional companion file (L10) the generator doesn't build. Run the live file through the validator after you publish to confirm.

| Check | Requirement | Handled by |
|---|---|---|
| L1 | Served at /llms.txt (HTTP 200) (Upload the file to your site root.) | You, at publish |
| L2 | Starts with an H1 (project name) (From the homepage title.) | Generated |
| L3 | Valid, parseable Markdown (Always well-formed by construction.) | Generated |
| L4 | Blockquote summary below the H1 (Replace the placeholder if no summary was found.) | Generated |
| L5 | H2 sections with link lists (Grouped by URL path — reorder to taste.) | Generated |
| L6 | Links as [name](url): description (Descriptions come from each page's meta.) | Generated |
| L7 | Linked URLs are reachable (Only pages that returned HTTP 200 are listed.) | Generated |
| L8 | ## Optional section used correctly (Omitted — it's not required.) | Generated |
| L9 | Content-Type: text/plain (Serve the file as plain text, not HTML.) | You, at publish |
| L10 | llms-full.txt companion (A separate full-content file the generator doesn't build.) | Optional companion |

## After you generate it

Review the summary and sections, publish the file at your site root served as `text/plain`, then validate the live file with the llms.txt validator (<https://agent-ready.dev/llms-txt-checker>) and run a full agent-readability scan (<https://agent-ready.dev/agent-readability-score>).

## Frequently asked questions

### What is an llms.txt generator?

It's a tool that builds an llms.txt file for your site automatically. You enter your URL, and it discovers your pages (from your sitemap.xml, or by following homepage links if there's no sitemap), reads each page's title and meta description, and assembles a spec-valid llms.txt — an H1 site name, a blockquote summary, and H2 sections of [page name](url): description links — that you can copy, review, and publish at /llms.txt.

### Does it make up the page descriptions?

No. Every link name and description comes from the page's own <title> and meta description (or Open Graph tags). Nothing is invented by an AI. If your homepage has no meta description, the summary blockquote is left as a clearly-marked placeholder for you to fill in, rather than fabricated.

### What if my site has no sitemap.xml?

The generator falls back to crawling the links on your homepage to find pages. That's shallower than a sitemap, so you may want to add a few links by hand afterwards. If no pages can be discovered at all, you still get a valid starter template with your site name and homepage that you can extend.

### How many pages does it include?

Up to 50, to keep generation fast and the file readable. llms.txt is meant to be a curated index of your most important pages, not a dump of every URL — so for large sites, treat the output as a strong starting point and trim or reorder it to highlight what matters most to an AI agent.

### What do I do after generating it?

Review the file (especially the summary and section grouping), save it as /llms.txt at your site root served with a text/plain content type, then validate the live file with the llms.txt validator and run a full agent-readability scan to confirm it passes and to find anything else worth fixing.

---

Generate an llms.txt on the web: <https://agent-ready.dev/llms-txt-generator>

## Sitemap

See the full [sitemap](https://agent-ready.dev/sitemap.md) for all pages on agent-ready.dev.
