llms.txt Generator

Enter your domain and this reads your sitemap, groups the pages into sections, and links the large ones to their index rather than listing every post. What comes back is a curated map of your site rather than a copy of your sitemap.

Enter the domain and the sitemap is found at its usual address, or paste the sitemap URL if yours lives elsewhere. A sitemap index is followed into its child sitemaps forty at a time, taking one of each kind first so that no part of the site is missed, and you may read further batches once the first is in.

Your file will appear here

Reading a sitemap takes a moment, and reading the pages that will appear in the file takes longer, since each one is fetched for its real title and description. When it lands you get a control for every section, so you decide which ones list their pages and which collapse to a single link, and a preview you may copy or download.

A sitemap is an inventory, an llms.txt is a map

The two files answer different questions. A sitemap tells a crawler every URL it may fetch, in whatever order the generator wrote them, with no notion of which pages matter. An llms.txt tells a reader which pages are worth reading. Converting one into the other is therefore a curation problem, not a formatting one, and that is where most generators stop short.

The distance between them is usually the long tail. A site with four hundred blog posts and a dozen product pages has a sitemap that is ninety-seven per cent blog, so a tool that takes pages in the order it finds them produces a file of arbitrary posts and quietly leaves out the pricing page. Linking to the blog once fixes that in a single line, and the space it frees goes to the pages a reader came for.

The same logic runs the other way. On a documentation site the docs are the substance rather than the tail, and collapsing them would empty the file. So the rule is relative: a section collapses when listing it would crowd out the rest, and a site that is one big section keeps its pages listed, because there is nothing for them to crowd out.

What to do with the file

Upload it to the root of your site so it is served at https://yourdomain.com/llms.txt, the same place robots.txt lives. It is a plain text file with no headers to configure and nothing to register.

Then edit it. The descriptions come from your meta descriptions, which were written to earn a click in a search result rather than to explain a page to a reader who has already arrived. Rewriting the dozen entries that matter most will make the file considerably more useful than the generated draft.

The file is a recommendation, not a rule. If you want to control which AI crawlers may read your site at all, that is robots.txt, and the robots.txt generator has presets for the AI user agents. The robots.txt tester will confirm the rules landed, and the sitemap validator will check the sitemap this was built from.

Frequently Asked Questions

What is llms.txt?

A Markdown file at the root of a site, at /llms.txt, that lists the pages worth reading and says in one line what each one covers. The specification asks for an H1 naming the site, an optional blockquote summary, and H2 sections holding lists of links in the form - [Name](url): notes. It was proposed in 2024 as a way to give AI assistants a curated map of a site rather than leaving them to infer one.

Get Google and ChatGPT traffic on autopilot.

Start today and generate your first article within 15 minutes.

No credit card required
Content Plan