llms.txt generator

Write a spec-valid llms.txt from your sitemap

How the file is written

  1. Find the pages

    robots.txt Sitemap: lines, then /sitemap.xml and /sitemap_index.xml. No sitemap: the links on your home page.

  2. Read 25 of them

    Home page first, then top-level pages before deeper ones, 5 at a time. Title and meta description (or first paragraph) from each.

  3. Write the file

    H1 from your site name, a summary from your home page, H2 sections by path, legal pages under Optional.