llms.txt Generator
Build a spec-compliant llms.txt from your sitemap or by hand, then download it for your site root.
An llms.txt file is a markdown map of your site for AI agents: a name, a one-line summary, and sections of links with short descriptions. Writing it by hand for a site with a few hundred pages is tedious, so this tool reads your sitemap, or takes the pages you type in, and drafts it for you. Nothing is stored. The output is yours to edit and publish. At Layer3Labs, we ship one on this site and on the properties we run. Once the file is live, our free AI visibility checker confirms it loads and shows how ready the rest of your website is for AI search, and the free llms.txt checker tests the file against the format line by line.
Generate Your llms.txt
Pick the Preset Closest to Your Site
Add Your Pages
How to Use the llms.txt Generator in Four Steps
You make an llms.txt file by choosing a site preset, adding your key pages, describing your site, then checking and downloading the file.
- Pick a preset. Select the preset that matches your site, such as Software / SaaS, Online store or Agency / services firm, to load its sections and path-sorting rules.
- Add your pages. Import up to 60 pages from a sitemap, paste a list of URLs, or fill in rows manually with your page titles and descriptions.
- Describe your site. Type the site name for the H1, a one- or two-sentence summary, and any key facts.
- Check it, then download. Fix anything the live checks flag, such as placeholder copy or empty starter rows, then save llms.txt and upload it to your server root so it resolves at yourdomain.com/llms.txt.
Read our platform installation guide for host-specific upload instructions, and verify the live file using the llms.txt checker.
What the Generator Builds
The generator writes a plain-text markdown file in the llms.txt format, laid out with the sections of the preset you pick.
The output follows the llms.txt format that Jeremy Howard published on September 3, 2024 and revised as v2 in August 2026. Under the proposal, the file sits at the root path /llms.txt and should be small enough to fit in context, with detail behind the links. The proposal names no required HTTP (Hypertext Transfer Protocol) content type, and sites commonly serve the file as text/plain or text/markdown. An H1 heading containing the site or project name is the only required part of the document.
- H1 site name: The name of your website or project, rendered as the single required top-level H1 heading at the start of the file.
- Blockquote summary: A concise summary of your platform or business, positioned immediately beneath the H1 heading inside markdown blockquote syntax.
- Key facts: One fact per line, placed under the blockquote as detail text. The generator strips any heading you type there, because the format allows no headings in that part of the file.
- H2 sections: Category headings holding markdown links written in the standard
- [name](url)format, and an optional note after each link. Imported pages use their own meta description as the note, and you can type or edit any note. - Optional section: Every preset adds an H2 named Optional last, for secondary pages such as privacy policies, terms and careers. The llms.txt proposal treats it as a convention: an agent can skip those links when it needs a shorter context.
| Preset | Sections it creates |
|---|---|
| Software / SaaS | Product, Docs, Pricing, Guides, Comparisons, Company, Optional |
| Docs / developer tool | Getting Started, Guides, API Reference, Examples, Changelog, Optional |
| Online store | Shop, Collections, Help and Policies, Guides, Company, Optional |
| Local business | Services, Locations, Pricing, About, Contact, Optional |
| Blog / publisher | Start Here, Topics, Articles, About, Optional |
| Agency / services firm | Services, Case Studies, Industries, About, Contact, Optional |
llms.txt Best Practices
A good llms.txt file sits at the root path, follows the H1, summary and link-list layout, and gives every link a full URL and a short note.
- Publish at the root path. The file sits at the root path
/llms.txt, though a site section can have its own. - Keep the file small enough to fit in context. The proposal states the file should be small enough to fit in context, with detail behind the links.
- Follow the llms.txt layout. Start with a single H1 containing your project name, followed directly by a blockquote with a short summary.
- Omit headings from the key-facts section. Place background details in paragraphs or lists without headings, because the format allows no headings there.
- Use full URLs for every entry. Write each link as a full URL, such as https://example.com/pricing, so it still works when an agent reads the file away from your site. Enter your site URL and the generator turns /pricing into a full link.
- Add descriptive notes to link rows. Add a few words after each link in the form
- [name](url): notes, so an agent can pick the right page without opening every link. - Place secondary pages under an Optional section. An H2 section named Optional tells an agent which links to skip when working within shorter context limits.
- Serve the file as clean plain text. The proposal names no HTTP content type, but sites commonly serve it as
text/plainortext/markdown. - Update when site sections expand. The generator creates a plain-text file, and the file does not update itself.
The common llms.txt mistakes section of our explainer lists the errors to avoid, and the llms.txt checker tests your live file against the same rules.
How to Install It
Copy the output into a file named llms.txt and put it where your site serves static files: the public/ folder on Astro or Next.js, the web root on a plain host, or the static-files location your platform exposes. Load yourdomain.com/llms.txt in a browser. It should return the plain text with a 200 status. Keep it “small enough to fit in context” and put detail “behind the links,” as the spec puts it. Regenerate it when you add a section. You do not need to touch it for every post.
Does llms.txt Work?
It is a proposal, published by Jeremy Howard in September 2024. The spec page makes no claim about ranking or citations, so treat it as a low-cost map for agents rather than a ranking lever. It costs a few minutes and removes the guesswork for any agent trying to understand your site, which is why we publish one on this site and the properties we operate. The llms.txt explainer walks through what the major engines have said and what belongs in the file.
Frequently Asked Questions
- Pick the preset closest to your site, then enter your site URL, paste a sitemap or URL list, or fill the rows in by hand. When it reads a sitemap, the tool pulls the title, meta description and first heading from up to 60 pages and sorts them into the preset's sections. Edit, move or untick any row, fix what the live check flags, then download llms.txt and upload it to your site root.
- The spec at llmstxt.org requires only an H1 with the site or project name. After that it expects a blockquote with a short summary, optional detail paragraphs, and zero or more H2 sections that each hold a list of markdown links with an optional one-line description. By convention, an "Optional" H2 holds secondary links an agent can skip when it needs a shorter context.
- llms.txt is the index: short, linked, small enough to fit in a model's context. llms-full.txt is a community convention that the spec text does not define: the full page content concatenated into one file. This tool produces the index. The full file is only worth building once the index exists and you know which pages matter.
- It is a proposal from Jeremy Howard, published in September 2024. The spec page makes no ranking or citation claim, so publish it for the agents that read it rather than for a lift. It costs almost nothing to publish and it is the cleanest way to hand an agent a map of your site, which is why we publish one on the sites we operate. Our llms.txt explainer at /guides/llms-txt-explained goes through the evidence.
- Because the file is meant to be small enough to fit in context, and because reading pages takes time. If your site is larger, paste the URLs that matter most, or add the missing pages as rows with the Add a page button.
- No. The crawl runs on our server for the duration of the request, returns the page titles and descriptions to your browser, and keeps nothing.
Want Your Whole Site Readable by AI?
llms.txt points agents at your pages. The bigger win is content stored as files an agent can read and edit. We audit what you have and plan the move.
Book a Consultation