Free tool

LLMs.txt Generator

Write an llms.txt for your site: what to read, what to skip, who to ask.

How it works

What is the LLMs.txt Generator?

The LLMs.txt Generator is a free tool that writes an llms.txt file for your website from your sitemap or a list of URLs you paste. It groups up to 50 links into sections by their first path segment, adds your site name, summary and contact, and gives you the file to copy or download.

How to use the LLMs.txt Generator

  1. Enter your site name and site URL. Add a one-line summary and a contact email or URL if you want them in the file.
  2. Under Pages to list, choose From my sitemap to pull the URLs automatically, or I will paste them and enter one URL per line.
  3. Press Generate LLMs.txt.
  4. Review the file and the count of links in each section, edit the link titles, then copy it or download it as llms.txt.

How do I create an llms.txt file?

Write a markdown file with an # H1 site name, a one-line summary in a > blockquote, and ## H2 sections of links, then publish it at /llms.txt. This generator writes that first draft for you.

It groups links by their first path segment, so /docs/... becomes a Docs section and root-level pages go under Pages. Link titles come from the last part of each URL. A contact becomes its own ## Contact section, and the file ends with a last-updated line.

It lists up to 50 links. To choose exactly which pages appear, paste the URLs instead of reading them from your sitemap.

Which pages should go in llms.txt?

The pages you would send someone who asked what your product does. Documentation, pricing, the API reference, and the two or three pages that explain the product. Not tag archives, pagination, author pages or search results.

Sitemap discovery is the fast way to a first draft: generate it, then remove any page you would not send a reader. Pasting the URLs gives you full control over the list, which suits a file you write once and keep.

How do I add llms.txt to my website?

Upload the file to the root of your domain so it loads at /llms.txt, served as text/plain or text/markdown. Open it in a browser: you should see raw markdown, not a styled page and not your 404 page. Hosts with catch-all routing are the usual problem, because they return 200 with the wrong content.

Edit the generated titles before you publish. They are built from URL slugs, so rewrite them in your own words, and add a short description after each link to tell a reader which page to open.

Questions

How many links should an llms.txt file have?
An llms.txt file works best with ten to thirty links for most sites. The format sets no limit, but the file is meant to be read in one pass, and a hundred links defeats that.
Should I generate llms.txt from my sitemap or paste the URLs?
Generate llms.txt from your sitemap for a quick draft, and paste the URLs when you care about the result. A sitemap lists every page that exists, and llms.txt is meant to list only the ones worth reading.
What should an llms.txt file contain?
An llms.txt file should contain your site name as an H1, a one-line summary, and sections of links to your most useful pages, each with a short description. Keep it to pages that explain what you do, such as docs, pricing and product pages.
Do I need an llms-full.txt as well?
You need an llms-full.txt only if your documentation is what people come for. It puts the full text of every listed page into one file, which is a real maintenance job and usually a build step rather than something written by hand.
Does llms.txt help SEO?
There is no evidence that llms.txt improves rankings in Google or citations in AI answers, and no major provider has confirmed reading it. Publish it because it is a quick job with no downside, not as a visibility strategy.

AI Visibility Tools

More in AI Visibility Tools

AI Brand Visibility Checker

Ask the answer engines about your brand and see which name you, which name a competitor, and which name nobody.

Analyze visibility

ChatGPT Visibility Checker

How often ChatGPT names your brand or your site when asked the questions your buyers ask.

Check ChatGPT visibility

Grok Visibility Checker

How often Grok names your brand or your site when asked the questions your buyers ask.

Check Grok visibility

Ready when you are

Before your next buyer asks AI about you, ask AI about yourself

One check, four engines, about twenty seconds. We show you the answers before we ask for anything.