Skip to content

llms.txt generator and validator

Write an llms.txt file for your website in a few minutes, or check the one you already publish. Type the site name, a one-line summary and the pages that matter, grouped under headings, or paste your sitemap.xml or a list of URLs and let the tool group them by folder. The file follows the format in the llms.txt proposal and downloads ready to upload. One thing to know before you start: no AI company has promised to read it.

Quick answer

An llms.txt file is a Markdown file at the root of a site, such as example.com/llms.txt, that gives AI assistants a short map of it: an H1 with the site name, a one-line summary in a blockquote, then H2 sections listing links as - [name](url): notes. To make one, fill in the generator or paste your sitemap, download llms.txt and upload it to the root of your site. It is a proposal, not a standard any AI company has agreed to follow.

Runs in your browser, nothing is uploaded

Based on The /llms.txt file, v2 (llmstxt.org, modified 10 Aug 2026) Β· Page updated 23 October 2026

Editor: Abuzar, founder of NeedMyToolsHow we check facts

llms.txt is a proposal from llmstxt.org. No AI company has promised to read it, and it will not lift your rankings. It is a short, tidy summary of your site that may help assistants and tools that look for one.

About your site

Start each section with a line such as ## Docs. Then one link per line: a bare URL, Title | URL | notes, Title, URL, or a Markdown link. Links before the first section go under "Pages".

Only choose this if your site really serves a .md copy at each of those addresses.

Your llms.txt

0 sections, 0 links, 0.0 KB

Upload it to the root of your site so it opens at https://yourdomain/llms.txt.

Checks

  • ErrorAdd the site or project name: the H1 is the only part the proposal requires.
  • NoteNo summary blockquote under the H1. It is optional, but it is the first thing an agent reads.
  • NoteNo ## sections with links yet.

llms-full.txt outline (optional)

Not part of the proposal. An outline with one heading per linked page and a marked place for its text; paste each page's content before you publish it.

Optional: point your pages to the file with this tag in the head, as version 2 of the proposal suggests.

<link rel="describedby" href="/llms.txt">

A working example: our own /llms.txt

How to use the llms.txt Generator & Validator

  1. On the Generate tab, type your site or project name and a one-sentence summary of what it is and who it is for.
  2. Add any short notes an assistant should know, such as the countries you serve or how prices are shown. Headings are not allowed here, so they are turned into bold text.
  3. List your key pages under "## Section" lines, one per line, in any shape: a bare URL, "Title | URL | notes", or a Markdown link. To start from your sitemap, use the Import tab and press the button to bring the grouped pages back here.
  4. Read the checks under the file, then copy it or download llms.txt and upload it to the root of your site, next to robots.txt.
  5. To check a file you already have, paste it on the Validate tab, read each error and warning with its line number, and press Edit in the generator to fix it.

What llms.txt is, and where the idea comes from

llms.txt is a proposal written by Jeremy Howard and first published on 3 September 2024; version 2 is dated 10 August 2026, and we read it on 23 October 2026. It suggests one Markdown file per site, or per folder, that tells an AI agent what the site is and where the useful pages are. In version 2 a file covers the pages under its own path, so /docs/llms.txt describes only the /docs/ folder, and the most specific file applies. The proposal also suggests offering a clean Markdown copy of each important page at the same address with .md added, and pointing pages to their llms.txt with a rel="describedby" link or an HTTP Link header. The file is meant to be read on demand, when an assistant needs it while helping someone, so it should stay short enough to fit in a model's context. The detail belongs in the linked pages.

Will AI assistants read it? No company has promised to

Be honest with yourself and with clients: on 23 October 2026 we could not find a statement from any AI company that its crawlers or assistants read llms.txt when they choose, cite or rank pages. Some AI companies publish llms.txt files for their own developer documentation, but publishing one is not the same as promising to use yours. Google is explicit for its own search: its guide to AI features says there are no extra requirements to appear in AI Overviews or AI Mode, and that you do not need new machine-readable files or AI text files to appear in them. So treat llms.txt as a cheap, tidy summary that may help agents and tools that look for it, and that also helps people who open it, not as a way to rank. It does not replace robots.txt, which is where you allow or block crawlers, or your sitemap, which lists pages for search engines.

The format, part by part

The proposal fixes the order of the parts, which is what lets programs as well as language models read the file. Only the H1 is required. The generator writes the parts in this order and the validator checks them:

  • An optional byte order mark, then an H1 with the name of the site or project: # Name
  • A blockquote with a short summary that explains the rest of the file: > Summary
  • Any paragraphs or lists of extra detail, but no headings
  • H2 sections, each holding a file list: - [Link name](https://example.com/page): optional notes
  • By convention, a section called Optional for secondary links an agent can skip; since version 2 it has no special meaning to tools

Starting from a sitemap or a list of URLs

Paste the contents of your sitemap.xml, or any list of addresses copied from a spreadsheet, a crawl export or Search Console. The importer reads every loc entry, including CDATA blocks and &amp; in query strings, drops duplicates, images, scripts and other files that are not pages, and turns relative paths into full URLs when you give the site address. If your URLs start with a language folder such as /en/ or /ar/, it notices and lets you keep one language. Pages are grouped by their first folder, a title is made from each address, and each section is capped at the number you choose, because llms.txt is meant to be a curated short list, not a copy of the sitemap. A sitemap index only lists other sitemaps; the tool shows them so you can paste each one, since it never fetches anything from the web. Rename the titles and add notes before you publish.

llms-full.txt, Markdown copies and our own example

llms-full.txt is not part of the llmstxt.org proposal; some documentation sites publish one as a single file with the full text of every page. The generator gives you an outline of it: each linked page becomes a heading with its URL and a marked place to paste that page's text as Markdown, because a browser tool cannot fetch and convert your pages. If your site already serves Markdown copies, the link option rewrites every URL to the .md form the proposal describes, either page.html.md or page.md, with index.html.md or index.md for addresses ending in a slash. Our own llms.txt is built from this site's page list each time the site is built, and is a working example of an H1, a summary, notes and one section per tool group.

What the validator checks

Errors break the format, warnings are things a program reading the file will skip or misread, and notes are worth a look. The validator never fetches the links; it checks how they are written. To tell crawlers which pages they may fetch, use the robots.txt generator; for a site in several languages, the hreflang tag generator writes the alternate links. Our free SEO tools also cover meta tags and schema markup.

  • No H1, text before the H1, a second H1, or a # without a space after it
  • Headings inside the summary and details, and H3 or deeper headings inside sections
  • List items without a [name](url) link, a bare URL, or a space between ] and (
  • Notes joined with a dash instead of a colon, and plain text inside a file list
  • Empty sections, empty or malformed links, relative and http:// links, and the same link twice
  • An HTML page saved as llms.txt, and files over 100 KB or 500 links, which are too long for a short map

Frequently asked questions

Do ChatGPT, Gemini and Claude use llms.txt?

No AI company has publicly promised that its crawlers or assistants read llms.txt, and Google says you do not need AI text files to appear in its AI features. Some assistants and coding tools may open the file when they look around a site, so it can help, but it is not a ranking signal you can count on.

Is this llms.txt generator free, and is my sitemap uploaded?

The llms.txt generator and validator are free with no sign-up. Everything runs in your browser: the sitemap, URLs and text you paste are not sent to our servers, and the tool does not visit your site.

Where do I upload the llms.txt file?

Put it at the root of your site so it opens at https://yourdomain/llms.txt, as a UTF-8 text file. Version 2 of the proposal also allows a file inside a folder, such as /docs/llms.txt, which then describes only the pages under that folder.

How is llms.txt different from a sitemap.xml?

A sitemap lists every page you want search engines to find. llms.txt is a short, hand-picked guide: a summary of the site and the pages an assistant needs most, with notes, small enough to read in one go. The proposal says a sitemap is not a substitute, because it is usually too long and has no explanations.

How many links should an llms.txt file have?

The proposal sets no number; it asks for concise, clear language and a file small enough to fit in a model's context. Start with the 20 to 50 pages that answer most questions. Our validator warns above 500 links or 100 KB, which is our own rule of thumb, not part of the proposal.