llms.txt Generator and Format Guide
Create an llms.txt file in the llmstxt.org format: site name, summary, details and sections of links with notes, plus an Optional section. Live preview, URL checks, copy or download.
Create an llms.txt file in the llmstxt.org format: site name, summary, details and sections of links with notes, plus an Optional section. Live preview, URL checks, copy or download.
llms.txt is a Markdown file at your site root that gives AI assistants a short, hand-picked guide to your most useful pages. An XML sitemap lists every URL for search engines to crawl. They do different jobs, so llms.txt does not replace your sitemap, and Google Search does not use it.
The tool above writes an llms.txt file in the format proposed at llmstxt.org in 2024. You fill in the site name, a one-line summary, an optional paragraph of details and as many sections of links as you need. The preview updates as you type, and you can copy the result or download it as llms.txt.
Each link needs a full URL that starts with https://. If you paste a relative path such as /docs or a plain http address, the field gets a hint so you can fix it before you publish. Links left without a URL are not written to the file.
The format is ordinary Markdown with a fixed order. Only the first line is required.
| Part | Markdown | Required | What to write |
|---|---|---|---|
| Name | # Site name | Yes | Your site, product or project name |
| Summary | > One line | No, but recommended | What the site is and who it is for |
| Details | Plain paragraphs | No | Key facts an assistant should know, such as currency or audience |
| Sections | ## Docs | No | Groups of related links |
| Links | - [Title](https://…): note | No | One page per line, with a short note after the colon |
| Optional | ## Optional | No | Secondary links an AI tool may skip |
Here is a small, complete example you can adapt:
# Example Docs
> Example is a hosted invoicing API for small businesses.
All endpoints use JSON and need an API key. Prices are in USD.
## Docs
- [Quick start](https://example.com/docs/quick-start): Create an account and send your first invoice
- [API reference](https://example.com/docs/api)
## Optional
- [Changelog](https://example.com/changelog)You need a sitemap. llms.txt is an extra. The two files answer different questions:
For a longer side-by-side comparison, including what each file can and cannot do, read llms.txt vs sitemap.xml.
Google has said publicly that Google Search does not use llms.txt, so it does not change rankings or crawling. For AI assistants the picture is less clear. Some developer tools and documentation platforms support the format, but the large AI companies have not made firm public commitments to read it, and the proposal is not an official standard.
That makes llms.txt a cheap experiment rather than a ranking tactic. It takes a few minutes to write, it does no harm, and it gives any tool that does look for it a clean summary instead of cluttered HTML. Do not expect traffic changes you can measure.
The proposal also suggests offering clean Markdown copies of key pages, for example at the same URL with .md added. That step is optional and only worth it if your platform can generate them automatically. If you are already reviewing how crawlers see your site, robots.txt and XML sitemaps explained covers the files search engines do rely on.
A sitemap is an XML list of every URL you want search engines to crawl and index. llms.txt is a short Markdown summary of your best pages, written for AI tools to read. Keep your sitemap either way.
No. Google has said its search does not use llms.txt, so it does not affect rankings. It is an optional, low-cost extra aimed at AI assistants.
An H1 with the site name, an optional blockquote summary, optional paragraphs, then H2 sections that list links as Markdown bullets with an optional note after a colon.
Links an AI tool can skip when it needs a shorter context, such as changelogs, company history or older guides.
No. It contains no rules. To stop AI crawlers such as GPTBot from fetching your pages, add Disallow rules for them in robots.txt.
A convention some documentation platforms use: one file with the full text of the docs. It grew up around the llms.txt proposal rather than being part of it.
In the root of your domain, so it opens at https://example.com/llms.txt, next to robots.txt.
No. The XML sitemap lists every URL for search engines; llms.txt is a short, curated Markdown guide to your most useful pages for AI tools.