Skip to content

Draft an llms.txt from your sitemap

Paste your sitemap or a list of page URLs. The generator groups the pages by section and writes the file in the llmstxt.org layout. What you paste stays in your browser.

How the draft is built

The first line is the site name as a heading, and the sentence you give becomes the summary under it. Each page then goes into a section named after the first part of its path, so /docs/quick-start is listed under Docs. A page that sits directly under the root goes into a section called Pages.

The generator takes each link's text from the last part of the URL and replaces hyphens and underscores with spaces. It leaves out the home page and repeated URLs, and stops at 500 pages.

What to change before you publish

The link text is a guess from the URL. Replace it with the real title of each page. A link can also carry a short note after a colon. Add one where the title does not say what the page covers.

Remove the pages a reader would not need, such as sign-in pages, legal pages and tag archives. Then save the file as llms.txt at the root of the site, so that it answers at /llms.txt.

What llms.txt is and is not

llms.txt is a proposal published at llmstxt.org, not a standard. It is a Markdown file that points a language model to the pages of a site worth reading.

It does not tell a crawler what it may fetch. robots.txt does that, as a request that crawlers choose to follow. The robots.txt checker shows what yours says to each AI bot.

More free tools

  • Crawler IP verifier. Checks an IP address from your logs against the reverse DNS domains and address lists that Google, OpenAI, Anthropic and Perplexity publish.
  • User agent parser. Names the bot a user agent string claims to be, with its operator, type and robots.txt token.
  • robots.txt checker. Reads a site's robots.txt and reports what it says to each AI bot, and whether the site has an llms.txt.

See which bots reach your site, and which of them are who they claim to be.

Request a site audit