Postrex
Start freeDashboard

llms.txt generator

Enter your website. The generator reads its home page and its sitemap and writes a first draft of an llms.txt: the site's name, one line that says what it is, and its pages and articles as lists of links, each under the title the page gives itself. You copy it, edit it and put it on your site.

Updated

Loading the tool …

What an llms.txt is

It is a text file at the top of a website, /llms.txt, that tells an AI assistant what the site is and where its important pages are. The idea comes from a proposal by Jeremy Howard, published on September 3, 2024, which describes it as "a proposal to standardise on using an /llms.txt file to provide information to help agents use a website".

The proposal sets the order of the file: a headline with the name of the site, which is the only part that is required; a quoted line with a short summary; then sections whose headings are followed by lists of links.

What the generator does

  1. It reads your home page for the site's name and its description.
  2. It reads your sitemap. If the sitemap is an index of several files, the one with the articles is read first. At most 40 addresses are taken.
  3. It asks up to 24 of those pages for their title. A page that does not answer is listed under the words of its address.
  4. It writes the file: pages in one section, articles in another.
  5. It tells you whether the site already has an /llms.txt.

Before you publish it

The draft lists what your sitemap lists. Which pages matter is yours to decide:

  • Take out what an assistant does not need: legal texts, tag pages, thank-you pages.
  • Check the names. A page title is written for a browser tab, not for a list.
  • Add a few words after a link where the title does not say what the page answers. The format allows a colon and a note after each link.
  • Save it as llms.txt and put it where your robots.txt is, so that it answers at /llms.txt.

What it cannot promise

  • That anyone reads it. It is a proposal. Its own page does not name the assistants that read the file, and neither can we.
  • The whole site. A site without a sitemap gets a file with its home page only, and a large site gets its first 40 addresses.
  • Pages built by scripts. Titles are read from the page as the server sends it.

We publish such a file ourselves, at https://postrex.com/llms.txt. It is built from our own list of pages, not by this tool.

How often you can use it

5 checks a day without an account, 10 with a free account, 30 on a plan, counted across the three tools that read a website. The address and the result are kept for 30 days; the privacy policy says what is stored.

More free tools

The AI crawler checker shows what your robots.txt says to AI crawlers, and the index checker what keeps a page out of Google. All tools are on the free tools page.

Questions and answers

Where do I put the llms.txt?
At the top of your site, next to robots.txt, so that it answers at /llms.txt. It is a plain text file written in Markdown.
Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers which addresses they may fetch. llms.txt is a guide: it says what the site is and lists the pages worth reading. It allows and forbids nothing.
Does an llms.txt improve my rankings?
The proposal makes no such claim, and we make none. It is meant to help AI assistants that read the file find a site's important pages.