llms.txt Generator

An llms.txt generator builds a Markdown file that tells AI assistants like ChatGPT and Claude what your website is and which pages matter most. Fill in your site name, a short summary and your key links, check the live preview, then copy or download the finished file.

  • 100% free
  • No sign-up
  • Runs in your browser
  • Updated

One or two sentences. It is written as a quote block under the name.

Plain paragraphs or lists. No headings.

Section 1

Format: Title | https://example.com/page | short note (the note is optional)

Section 2

Format: Title | https://example.com/page | short note (the note is optional)

Optional links

Format: Title | https://example.com/page | short note (the note is optional)

Links
5
Characters
608
Lines
19

Upload the downloaded file to the root of your site so it opens at yourdomain.com/llms.txt. Everything runs in your browser; nothing is uploaded.

Key takeaways

  • llms.txt is a proposed standard from llmstxt.org, not an official web standard, and AI companies have not all confirmed they read it.
  • Only one part is required: an H1 heading with your site name. A summary quote block and link lists make the file useful.
  • The example on this page comes to 14 lines and 469 characters, small enough for any model to read in full.
  • The file is built in your browser. Your links and text are never uploaded.

How to use the llms.txt Generator

  1. 1Type your site or project name and a one or two sentence summary. Example values are already filled in.
  2. 2Add sections such as Docs, Products or Policies. Write one link per line as Title | https://your-site.com/page | short note.
  3. 3Tick Optional on links an assistant can skip when it is short on space, such as a changelog or an archive.
  4. 4Fix any red messages, then press Copy or Download llms.txt and upload the file to the root of your site.

What is llms.txt?

llms.txt is a plain Markdown file, placed at yourdomain.com/llms.txt, that gives large language models a short, curated guide to your website. It is a proposal published at llmstxt.org, in the same spirit as robots.txt and sitemap.xml, but written to be read by AI assistants instead of search crawlers.

Web pages are full of menus, scripts and ads that waste a model's limited context. An llms.txt file skips that: it names the site, summarises it in a sentence or two and links to the pages, ideally Markdown versions, that hold the real detail. The assistant reads the small file first and fetches only the links it needs. You can see how much room a file takes up with our AI token counter.

How is an llms.txt file structured?

A valid llms.txt file has an H1 with the site name, then optionally a blockquote summary, free text without headings, and any number of H2 sections that each hold a Markdown list of links. Only the H1 is required. The order matters: name, summary, details, link sections.

Each list item is a Markdown link, optionally followed by a colon and a note about the page. A section named Optional has a special meaning: by convention it holds secondary links that an assistant can skip when it needs a shorter context. This generator follows that layout exactly, and it will not let you add headings inside the details text, because the specification does not allow them there.

How do I create an llms.txt file?

Create the file in four steps: write a clear summary, group your most useful pages into a few sections, add a short note to each link, and upload the result to your site root. The generator handles the Markdown syntax, so you only decide what to include.

Choose pages that answer real questions: documentation, pricing, product pages, policies and contact details. Ten to thirty links is plenty for most sites. Link to clean Markdown versions of pages when you have them, because they are easier for a model to read than full HTML. Keep the notes short and factual, in the same plain style you would use in the page itself.

Where do I put the llms.txt file?

Put it at the root of your domain so it opens at https://yourdomain.com/llms.txt. The proposal also allows an llms.txt in a subfolder, such as /docs/llms.txt, to cover only the pages under that path. Serve it as plain text or Markdown with a normal 200 response.

On a static host, drop the file into the public folder. On WordPress or Shopify, use a file manager or a redirect to a hosted copy if the platform blocks root files. After uploading, open the address in a browser and confirm that you see the raw text. Your word counter is handy for checking that the summary stays short.

Does llms.txt help you show up in ChatGPT or Google?

Nobody can promise it will. llms.txt is a proposal, and AI companies have not all said that their crawlers or assistants read it. Google does not treat it as a ranking signal for search. Treat the file as a low-cost way to make your site easier for tools that do use it, such as coding assistants that follow documentation links, and not as a ranking trick.

What helps in every case is clear, well-structured content: descriptive headings, direct answers and accurate facts. The same effort improves your pages for people, search engines and AI answers. If you also work with structured data for models, see our AI tools for more.

Worked example

A small llms.txt file, line by line

Here is the output for a fictional company called Example Co, with one Docs section of two links and one optional link. It has 14 lines and 469 characters, and it is the same text the tool shows when you open the page.

# Example Co / / > Example Co makes invoicing software for freelancers. This file lists the pages that explain how the product works. / / Pages marked .md are plain Markdown versions of the website. Prices are in US dollars. / / ## Docs / / - Getting started: Install and first steps / - API reference: Every endpoint with examples / / ## Optional / / - Changelog: Release history

Line 1 is the required H1. Line 3 is the summary as a quote block, line 5 is the free-text details, and each H2 starts a link list. The last section is named Optional, so an assistant with a small context budget can leave out the changelog. A slash ( / ) in the text above marks a new line.

llms.txt parts at a glance

The parts of the file in the order the llmstxt.org proposal expects them.

PartMarkdownRequired?What to write
Name# Site nameYesYour site or project name
Summary> One or two sentencesNoWhat the site is and who it is for
DetailsPlain paragraphs or listsNoNotes on how to read the links. No headings
Link section## Section nameNoA list of Markdown links with optional notes
Optional section## OptionalNoSecondary links an assistant can skip

A link item looks like this: - API reference: Every endpoint with examples

llms.txt compared with robots.txt and sitemap.xml

FileMain readerPurposeFormat
robots.txtSearch crawlersSays which paths bots may fetchPlain rules (RFC 9309)
sitemap.xmlSearch enginesLists every page to indexXML
llms.txtAI assistantsGives a curated guide to the best pagesMarkdown

Frequently asked questions

What is an llms.txt file?

An llms.txt file is a Markdown file at the root of a website, such as yourdomain.com/llms.txt, that summarises the site and links to its most useful pages for AI assistants. It starts with an H1 site name, usually adds a quote-block summary, then lists links in H2 sections. It is a proposal from llmstxt.org.

Is llms.txt an official standard?

No. llms.txt is a proposed convention published at llmstxt.org, not an IETF or W3C standard, and support varies between AI tools. Some documentation sites and coding assistants use it, while others ignore it. Adding one costs very little, but do not expect a guaranteed boost in ChatGPT, Claude or Google results.

Is llms.txt the same as robots.txt?

No. robots.txt tells crawlers which paths they may fetch, and it follows the Robots Exclusion Protocol in RFC 9309. llms.txt does not block or allow anything. It is a guide that points assistants to your best pages. You can have both files, and they do not conflict.

How long should an llms.txt file be?

Keep it short enough to read in one go, usually 10 to 30 links and a few hundred words. The point of the file is to save context, so a huge list defeats the purpose. Put essentials first, and move minor pages into the Optional section.

Should the links point to Markdown pages?

Markdown versions are the best choice when you have them, because models read them with less noise than full HTML. The proposal suggests serving each page's Markdown at the same address with .md added. If you do not have Markdown pages, ordinary page URLs still work.

Does the generator upload my data?

No. The file is built in your browser from the text you type, and nothing is sent to a server. You can safely draft a file for a private or unreleased site. Remember that anything you put in the file becomes public once you upload it to your website.

Sources

Last reviewed by the ToolsFiesta team.

Related tools