# llms.txt generator

Source: https://getgtmos.com/tools/llms-txt-generator
Last updated: 2026-10-21

Enter your site name, a one-line summary and your key pages, and the generator builds an llms.txt file in the format proposed at llmstxt.org. It checks every link has a title and a full URL, flags gaps, and lets you copy or download the file.

## What this tool does

The llms.txt generator builds a correctly formatted llms.txt file for your website. You enter your site or product name, a short summary, optional detail, and sections of key links with short descriptions. The generator writes the file as you type, checks it for common problems, and lets you copy it or download it ready to publish.

## When to use it

Use the generator when you want AI tools and agents to find a clean summary of your site without having to work it out from your navigation. Good moments include:

- Soon after launch, once your core pages (product, pricing, docs) are stable.
- When you add or retire important pages and the existing file is out of date.
- When you publish Markdown versions of key pages and want to point to them.
- As part of wider work on [answer engine optimisation](/glossary/answer-engine-optimization), alongside structured data and clear, quotable copy.

## How it works

The generator follows the format described in the community proposal at [llmstxt.org](https://llmstxt.org). The file is Markdown, in this order:

1. An H1 with your site or product name.
2. A blockquote with your summary, the line most likely to be quoted.
3. Optional detail paragraphs, in plain sentences.
4. One or more H2 sections, each a list of links written as `- [Title](URL): description`.
5. An `## Optional` section, the proposal's reserved name for links an AI tool can skip when context is short.

**Cleaning.** Line breaks and repeated spaces inside names, summaries, titles and descriptions are collapsed to single spaces so each entry stays on one line. Empty links and sections with no complete links are left out of the file.

**Validation.** The name and summary are required. Every link you start must have a title and a full URL beginning with `http://` or `https://`. You get a warning when a URL appears more than once, when there are no links at all, when the summary runs past 400 characters, and when a link has no description, because a short note helps an AI tool pick the right page.

**What it does not do.** The generator does not crawl your site, check that your links load, or create Markdown versions of your pages. llms.txt is a proposal, not an official standard: support varies by AI tool, and search engines do not need the file to index you. The generator also cannot make up for a robots.txt file or firewall rule that blocks AI crawlers.

**Where your data goes.** The file is generated in your browser. Nothing you type is sent or stored. If you have accepted analytics cookies, we record that the tool was used, never what you entered.

## A worked example

Here is a sample input for a fictional scheduling product, Acme Rota, and the file the generator produces.

- **Name:** Acme Rota
- **Summary:** Acme Rota is shift-scheduling software for clinics with 10 to 200 staff.
- **Section "Product":** Features, and a Markdown pricing page
- **Section "Docs":** Getting started
- **Optional:** Blog, with no description

```markdown
# Acme Rota

> Acme Rota is shift-scheduling software for clinics with 10 to 200 staff.

## Product

- [Features](https://example.com/features): What the scheduler does
- [Pricing](https://example.com/pricing.md): Plans and what each includes

## Docs

- [Getting started](https://example.com/docs/start): Set up your first rota

## Optional

- [Blog](https://example.com/blog)
```

The verdict reads "Your llms.txt is ready, with 4 links", with one warning: the blog link has no description.

## How to act on the results

1. **Publish the file** at the root of your domain as plain text, then open `/llms.txt` in a browser to confirm it loads.
2. **Write the summary as a definition.** "Acme Rota is shift-scheduling software for clinics" is easier to quote than a tagline.
3. **Add Markdown versions of key pages** where you can, such as a `.md` copy of your pricing page, and link those.
4. **Check robots.txt and your CDN** so the AI search crawlers you want are not blocked.
5. **Keep it current.** Review the file whenever you add or remove a key page, and check every link monthly.

## Common mistakes

- **Treating llms.txt as a ranking tactic.** It is a convenience for AI tools that read it, not a substitute for crawlable, well-written pages.
- **Listing every page.** The file works best as a short, curated guide. A full sitemap belongs in sitemap.xml.
- **Vague summaries.** "We help teams do more" tells a reader nothing. Say what the product is and who it is for.
- **Relative links.** Use full URLs so the file works wherever it is read.
- **Publishing and forgetting.** A file full of retired pages sends AI tools to dead ends.

## Related tools

Pair the file with structured data from the [schema markup generator](/tools/schema-markup-generator), and make sure your outbound emails reach the inbox with the [DMARC, SPF and DKIM checker](/tools/dmarc-spf-dkim-checker). To sharpen the summary line, it helps to have a clear ideal customer profile from the [ICP builder](/tools/icp-builder). If you want help getting cited by AI answer engines, see our [SEO, AEO and GEO service](/services/seo-aeo-geo).

## Frequently asked questions

### What is llms.txt?

llms.txt is a plain-text Markdown file at the root of a website that gives AI tools a short summary of the site and links to its most useful pages. It was put forward as a community proposal at llmstxt.org. It is not an official web standard, and support varies between AI tools.

### Does llms.txt help my site rank in Google?

You should not expect it to. Search engines do not need llms.txt to index your site. Treat llms.txt as a cheap extra for AI tools and agents that choose to read it, not as an SEO tactic. Crawlable pages, clear content and structured data matter far more.

### Where do I put the llms.txt file?

Save it as llms.txt and serve it at the root of your domain, for example yourdomain.com/llms.txt, as plain text. Opening that URL in a browser should show the file. If your site is built from a CMS, generating the file at build time keeps it current.

### What should go in the Optional section?

The Optional section is a reserved name in the proposal for secondary links that an AI tool can skip when it is short on space. Put supporting material there, such as a blog index, older guides or a glossary. Keep your most important pages in the main sections above it.

### What is the difference between llms.txt and robots.txt?

robots.txt tells crawlers which parts of your site they may access, and it is a long-established convention that most crawlers respect. llms.txt only suggests which pages are most useful and describes them. If robots.txt or a firewall blocks an AI crawler, llms.txt will not help.

### Is anything I type stored?

No. The file is generated in your browser as you type, and nothing is sent to GetGTM or anyone else. You copy or download the result yourself.
