# llms.txt Generator

Create a first llms.txt file for a website from its sitemap. Enter the site or sitemap URL, and the tool reads sitemap.xml (or the sitemap named in robots.txt), takes the title and description from the home page unless you enter them, groups the pages by their first path segment and writes a Markdown file in the llms.txt format with one link per page.

## Frequently asked questions

### What is llms.txt?

llms.txt is a proposed convention, published at llmstxt.org, for a Markdown file at the root of a website that gives language models a short overview and a curated list of the most useful pages. It has an H1 title, an optional blockquote summary and H2 sections with link lists.

### Where does the tool find the pages?

It reads /sitemap.xml on the site, or the sitemap URL you enter. If that is missing, it uses the first Sitemap line of robots.txt. For a sitemap index it reads the first three child sitemaps. Only pages on the same origin are listed.

### How are pages grouped and named?

Pages are grouped by the first segment of their path, so /docs/install and /docs/config end up in a Docs section, and pages directly below the root go into a Pages section. Link names come from the last path segment with hyphens turned into spaces, so review and edit them before you publish.

### How many links does the file contain?

As many as you choose, between 5 and 300, taken in sitemap order. An llms.txt file is meant to be a short guide, so a focused list of your most important pages is usually more useful than every URL.

### Should I publish the result as it is?

Use it as a starting point. Add one-line notes after the links that explain what each page covers, remove pages that do not help, and move secondary links into a section called Optional, which tools may skip when they need a shorter context.

### Where do I put the file?

Save it as llms.txt in the root of your site so it is served at https://your-domain/llms.txt as plain text. Check it afterwards with the llms.txt Validator.

Your ad here?

[Email us](mailto:hi@dennn.is?subject=Advertising%20on%20OneClick%20Pro)

[Ad 433 tools for your AI agents through one MCP server.](https://multitaskai.com/?ref=oneclickpro)
