llms.txt Generator
Turn your sitemap into a spec-compliant llms.txt that helps AI agents understand your site. Runs entirely in your browser — nothing is uploaded anywhere.
- Free · no signup
- Live preview
- Runs 100% in your browser
Details / notes (optional, no headings)
Sections
Paste a sitemap above and hit “Parse & build”, or add a section by hand.
Your llms.txt preview appears here — paste a sitemap or add a section to begin.
What is an llms.txt file?
llms.txt is a simple markdown file you place at the root of your site — served at yoursite.com/llms.txt — that gives large language models and AI agents a curated map of your most important pages. Where sitemap.xml lists every URL for search crawlers, llms.txt is hand-picked and human-readable: an H1 title, an optional summary, and sections of links with short descriptions written in plain language for models.
This tool generates one for you. Paste your sitemap.xml or a list of URLs and it extracts every page, groups them into sections by path (for example /docs, /blog, and /api), and derives a readable title from each slug. You refine everything in a live editor — rename sections, reorder links, add descriptions, and flag secondary pages as Optional — then copy or download a spec-exact llms.txt.
How it works
- 1
Paste your sitemap.xml (open yoursite.com/sitemap.xml and copy it) or a plain, newline-separated list of your most important URLs. Everything runs locally in your browser — nothing is uploaded.
- 2
The generator extracts your URLs, groups them into sections by their path — for example /docs, /blog, and /api — and derives a readable link title from each slug.
- 3
Edit anything: set your site name and summary, rename or reorder sections and links, add descriptions, and mark low-priority sections as Optional so AI tools can skip them when context is tight.
- 4
Copy or download the finished llms.txt and upload it to the root of your site so it is served at yoursite.com/llms.txt, right next to robots.txt.
Frequently asked questions
What is an llms.txt file?
llms.txt is a markdown file placed at the root of your website that gives large language models and AI agents a curated map of your most important pages. Instead of guessing from raw HTML, tools like ChatGPT, Claude, and Perplexity can read a clean list of your key URLs with short descriptions. It starts with an H1 title, an optional summary blockquote, and one or more sections of links.
What does this llms.txt generator do?
It turns a sitemap.xml or a list of URLs into a valid llms.txt for you. Paste your sitemap, and the tool extracts every URL, groups them into sections by path (/docs, /blog, /api…), and writes a readable title for each link. You then refine the title, summary, sections, and descriptions in a live editor and copy or download the result. Everything follows the published llmstxt.org spec exactly.
Does llms.txt help SEO, and do AI engines actually use it?
It is best understood as a developer-experience and AI-readability file rather than a ranking factor. Google has said it does not use llms.txt for Search, and adoption is still growing — but a curated llms.txt measurably improves how AI-assisted tools and IDEs consume your site, and it positions you for broader AI-platform support. It is a low-effort, low-risk forward investment, not a magic ranking trick.
How is llms.txt different from robots.txt and sitemap.xml?
robots.txt tells crawlers what they may and may not access. sitemap.xml is a machine-readable list of every URL on your site. llms.txt is different: it is a human-readable, curated markdown map that highlights the pages that matter most and explains them in plain language specifically for LLMs — think of it as a hand-picked table of contents for AI, not an exhaustive index.
What is the Optional section for?
The spec defines a special "## Optional" section whose links can be skipped when an AI tool needs a shorter context. Put secondary or lower-priority pages there so your essential pages are always read first. In this tool, toggle any section to Optional and its links are grouped under a single "## Optional" heading, rendered last — exactly as the spec requires.
Do I also need an llms-full.txt file?
Optional. llms.txt is the concise index. Some projects also publish an expanded llms-full.txt (and llms-ctx.txt / llms-ctx-full.txt) that inline more page content for models that want everything in one request. Start with llms.txt from this tool; add the expanded files later if your audience needs them.
Is my sitemap uploaded anywhere?
No. The generator runs entirely in your browser with client-side JavaScript. Your sitemap and URLs are parsed locally and never sent to a server — which is also why the tool cannot fetch your site for you (browsers block cross-origin requests), so you paste the content in yourself.
More developer tools
Browse the full set of free, browser-based developer tools from jsmanifest, or read the latest JavaScript and TypeScript articles.