llms.txt Generator

llms.txt is a Markdown file at the root of a site that gives language models a short, curated map of its most useful pages. The proposed format needs only an H1 with the site name; a blockquote summary and H2 lists of links with notes follow. Paste your sitemap here and download a ready file.

The parts of an llms.txt file, in order
PartMarkdownRequired
Site or project name# NameYes, the only required part
Short summary> One or two sentencesNo
DetailsParagraphs or lists, no headingsNo
File lists## Section, then - [name](url): notesNo
Optional section## OptionalNo; marks links agents may skip

Updated

The tool cannot fetch your site, because a static page in your browser is not allowed to read other domains. Instead, open your sitemap.xml in a tab, copy everything, and paste it below; the URLs are pulled out for you.

Generate and check llms.txt

Fill in your site name and one-line summary, then paste URLs or the contents of your sitemap.xml. The tool groups the links by section, lets you add notes, writes the file and checks it against the published format. Paste an existing file into the checker to review it.

A complete example

An example file for an invented bakery, showing every part of the format.

llms.txt for a small business

One H1, a summary, a line of detail, two link sections and an Optional section for lower-priority pages.

# Harbor Bakery

> Neighbourhood bakery in Halifax selling sourdough, pastries and coffee, with next-day pickup orders online.

Open Tuesday to Sunday. All prices are in Canadian dollars.

## Shop

- [Menu and prices](https://harborbakery.example/menu): every bread and pastry with current prices
- [Order for pickup](https://harborbakery.example/order): how next-day pickup works and the 8pm cut-off

## About

- [Visit us](https://harborbakery.example/visit): address, opening hours and parking
- [Allergens](https://harborbakery.example/allergens): which items contain nuts, dairy or gluten

## Optional

- [Blog](https://harborbakery.example/blog): baking notes and seasonal specials

Check it is served as text

After uploading, this request should return status 200 and a text content type.

curl -sI https://yourdomain.com/llms.txt | grep -iE "^(HTTP|content-type)"

What the format asks for

The proposal published at llmstxt.org puts the file at /llms.txt and writes it in Markdown, because language models read Markdown easily. A file in a subfolder, such as /docs/llms.txt, covers the pages under that path.

After the H1 comes an optional blockquote summary, then optional detail text, then any number of H2 sections. Each section is a list where every item is a Markdown link, optionally followed by a colon and a note about what the page holds. A section titled Optional collects links an agent can drop when it is short on space.

The same proposal suggests offering clean Markdown copies of key pages at the same URL with .md added. That is a separate step; the generator only writes the index file.

What it will and will not do for you

llms.txt is a proposal, not a standard that search engines have committed to. Adding one is cheap and harmless, and it gives tools that do read it a clean summary, but there is no published evidence that it changes rankings or guarantees citations in answers.

Focus the file on pages that answer real questions: product or service pages, pricing, documentation, policies. Leave out tag archives, login pages and thin listings, the same pages you would keep out of a sitemap.

How it works

  1. Enter the site name and a one or two sentence summary of what the site offers.
  2. Paste your sitemap.xml contents or one URL per line. Lines written as url | title | note keep your own titles and notes.
  3. Links are grouped by their first folder. Rename a section, move it to Optional, or remove links you do not want listed.
  4. Copy or download the file, upload it to your site root as llms.txt, and paste it into the checker to confirm the structure.

Tips

Frequently asked questions

Where do I put llms.txt?

At the root of your domain, so it loads at https://yourdomain.com/llms.txt, served as plain text. On most hosts that means uploading it to the same folder as robots.txt.

Is llms.txt the same as robots.txt?

No. robots.txt tells crawlers what they may fetch. llms.txt does not grant or block anything; it is a reading list that points to your most useful content with short descriptions.

Why can't the tool crawl my site?

Browsers stop a page on one domain from reading pages on another unless that site allows it, and this tool runs entirely in your browser. Pasting your sitemap gives it the same list of URLs without any server in between.

Does llms.txt help me get cited in AI answers?

It may help tools that look for it understand your site, but nobody has published proof that it changes how often a site is cited. Treat it as a low-cost addition to clear, well-structured pages, not a replacement for them.

Related: robots.txt generator, Sitemap checker, Meta tag generator, Markdown cheat sheet.

Start for free or see all free tools. We.Inc is free to start, with no card needed. AI building is on paid plans from $20 a month.

More in Free Tools

We.Inc is an AI-powered website builder you can resell under your own brand. Launch a branded client dashboard, bill on Stripe Connect, and deliver AI-generated websites in minutes. White-label plans start at $99 a month for 25 client sites, with a 7-day free trial and no per-site fees.

Product

Who It's For

Features

Resources

Company

View Sitemap