01What is llms.txt Generator & Validator?
llms.txt is a proposed convention for giving language models a short, readable map of a website. The file sits at the root of a site, at /llms.txt, and is written in Markdown so both people and programs can read it. The format is described at llmstxt.org, and it is deliberately small. The only required part is an H1 heading with the name of the project or site. After that comes an optional blockquote with a short summary holding the key facts needed to understand the rest of the file. Next you can add any number of paragraphs or lists with more detail, as long as they contain no headings. The rest of the file is made of sections that each start with an H2 heading and hold a Markdown list of links. Each list item must contain a link in the form [name](url), optionally followed by a colon and a note about the page. One H2 name has a special meaning: a section called Optional holds secondary links that a tool can skip when it needs a shorter context. The Generate tab builds this file from a form. You type the site name, the summary and any detail text, then add sections and links with titles, full URLs and optional notes. A checkbox adds the Optional section. Empty sections and links without a URL are left out, so the output only contains what you filled in. You can copy the result or download it as llms.txt. The Validate tab checks a file you paste in. It confirms that the first line is an H1 and that there is only one, looks for the blockquote summary, and parses every list item under an H2 to make sure it follows the link syntax. Relative or malformed URLs get a warning, because an agent reading the file out of context needs full addresses. It also flags H3 or deeper headings, loose text inside a link section, and sections with no links. Each finding appears as an error, a warning or a passing check with its line number. Both tabs run entirely in your browser. The tool does not fetch the URLs in your file, so it cannot tell you whether a linked page exists; check those yourself before you publish.
Documentation writers, developer relations teams and site owners who want language models and AI agents to find the most useful pages on their site. The tool runs entirely in your browser, so your data never leaves your device.
02How to use llms.txt Generator & Validator
- Open the Generate tab and type your site or project name; it becomes the H1.
- Add a one or two sentence summary for the blockquote and any extra detail text without headings.
- Add H2 sections and fill in each link's title, full URL and an optional note.
- Tick the Optional box for secondary links, then copy or download the file and serve it at /llms.txt.
- Paste the finished file into the Validate tab and fix any errors or warnings it lists.
03Worked examples
- Input:
Generate: Name Acme API; Summary "Billing API for Acme." / "REST + webhooks."; section Docs with Quickstart (https://acme.dev/qs.md, note Start here) and an untitled link https://acme.dev/auth.md; Optional section with Changelog - Result:
# Acme API > Billing API for Acme. > REST + webhooks. ## Docs - [Quickstart](https://acme.dev/qs.md): Start here - [https://acme.dev/auth.md](https://acme.dev/auth.md) ## Optional - [Changelog](https://acme.dev/changelog.md) - Every summary line gets its own "> "; a link with no title uses its URL as the title, and sections with no URLs are dropped.
- Input:
Validate: # Acme ## Docs - [Quickstart](/qs.md) - Auth guide - Result:
OK line 1: H1 found: "Acme" Warning: No blockquote summary (> ...) after the H1. It is optional but recommended. Warning line 5: URL "/qs.md" is relative or invalid. Use a full https:// URL. Error line 6: List item is not in the form - [name](url) or - [name](url): notes. - Input:
Validate: Acme docs # Acme - Result:
Error line 1: The first line must be an H1 (# Name). It is the only required section. Warning: No blockquote summary (> ...) after the H1. … Warning: No H2 file-list sections. … - The H1 must be the first non-blank line; one further down does not count.
- Input:
Validate: # Acme > Summary ## optional - [Changelog](https://a.dev/c.md): history ### Extra - Result:
OK line 1: H1 found: "Acme" OK line 2: Blockquote summary found after the H1. Warning line 8: Headings other than H1 and H2 are not part of the llms.txt format. Warning line 4: Name the section exactly "Optional" so tools recognise it. OK: 1 link parsed correctly. - The Optional section name is case-sensitive.
04Common use cases
- Creating a first llms.txt for a documentation site or API reference
- Checking an llms.txt written by hand or by a static site plugin before deploying it
- Finding relative links that break when an agent reads the file outside your site
- Moving changelogs and other secondary pages into the Optional section to keep the core list short
- Reviewing another project's llms.txt to see how it is structured
05Tips
- Use absolute https:// URLs. A relative path means nothing once the file is read on its own.
- Name the secondary section exactly "Optional"; that name is what tells tools the links can be skipped.
- Keep detail text free of headings. Only the H1 and the H2 link sections should use #.
- The llmstxt.org proposal also suggests offering Markdown versions of pages by adding .md to the URL, which keeps the linked content easy for models to read.
06Related concepts
llms.txt, llmstxt.org, Markdown, AI crawlers, documentation SEO.
Frequently Asked Questions
What is llms.txt Generator & Validator?
llms.txt Generator & Validator is a free, browser-based developer tool on AIDToolStack. Build an llms.txt file for your site or check one against the llmstxt.org format It requires no installation or sign-up and works entirely in your browser.
Is llms.txt Generator & Validator free to use?
Yes. No sign-up, no fees and no usage cap.
Does llms.txt Generator & Validator store my data?
No. It runs in your browser; nothing is uploaded.