Skip to main content

FREE TOOL

llms.txt Generator

Import your sitemap. Edit with live preview. Export a valid llms.txt.

Help AI tools and agents find the pages that matter on your site. No account, and the editor never leaves your browser.

Build
Import from sitemap

Paste a site URL or sitemap.xml to pre-fill the sections, or build by hand below.

Site name (H1)
Summary (blockquote)
Details (optional free text)
llms.txt
# Acme Docs

> Acme is a hosted API for sending transactional email. This file helps AI tools find the docs that matter.

Start with the Quickstart, then the API reference. The Optional section can be skipped for a shorter context window.

## Docs

- [Quickstart](https://acme.com/docs/quickstart): Send your first email in five minutes.
- [API reference](https://acme.com/docs/api): Every endpoint, parameter, and response.
- [Authentication](https://acme.com/docs/auth): API keys and OAuth.

## Optional

- [Changelog](https://acme.com/changelog): Release history.
- [Status](https://status.acme.com): Live uptime.
Save as llms.txt at the root of your site (https://yoursite.com/llms.txt).

Your llms.txt is only as good as the docs behind it Export free above · connect a repo when you want Moxie to keep it accurate

Import from your sitemap

Paste your sitemap.xml URL and the generator pulls in your pages, groups them into sections, and fills in titles automatically.

Spec-compliant output

Produces a valid llms.txt: H1 title, summary blockquote, and grouped link lists with the special Optional section.

Shareable & portable

The whole document lives in the URL. Send the link, or export a clean llms.txt to drop at the root of your site.

Private by default

The editor runs in your browser. Sitemap import only fetches the public pages you point it at - nothing is stored.

What goes in an llms.txt

An H1 title

The name of your site or project. It is the one required element of the spec.

A summary blockquote

One line telling an AI tool what your site is, so it can decide what to read.

Curated link sections

H2 sections (Docs, API, Guides) holding the pages worth reading, each with a short note.

An Optional section

A trailing section whose links can be skipped first when context is tight.

Already have a file? Run it through the llms.txt validator to check it against the spec.

llms.txt vs sitemap.xml

A sitemap.xml is written for search-engine crawlers. It lists every indexable URL on your site in machine-readable XML so bots like Googlebot can discover pages and decide how often to re-crawl them. It says nothing about which pages matter most or what they contain.

An llms.txt is written for large language models. It is a curated Markdown file that names your most important pages, groups them into sections, and adds a one-line summary of each - so an AI agent working inside a limited context window can decide what to read first without crawling your whole site. Where a sitemap optimizes for coverage, llms.txt optimizes for relevance and comprehension.

The two are complementary, not competitors: keep the sitemap.xml for SEO crawlers and add an llms.txt for AI answer engines. Both live at the root of your domain.

Primary audience

llms.txt

AI agents and large language models

sitemap.xml

Search-engine crawlers

Format

llms.txt

Markdown (human-readable)

sitemap.xml

XML

Purpose

llms.txt

Curate the pages that matter, each with a summary

sitemap.xml

List every indexable URL for discovery

Includes summaries

llms.txt

Yes - one line of context per link

sitemap.xml

No - URLs and metadata only

Served at

llms.txt

/llms.txt

sitemap.xml

/sitemap.xml

Frequently asked questions

Built for the AI-agent era

Your llms.txt is only as good as the docs behind it

Export your llms.txt here, then connect GitHub when you want Moxie to keep the linked pages current on every merge and serve that context to agents over MCP.

Export free above · connect a repo when you want Moxie to keep it accurate