Perimattic
Free Tool

llms.txt generator and validator

Create an llms.txt file for your website with a live preview, then copy or download it. Already have one? Paste it into the validator to find missing parts, broken links and formatting problems, line by line.

Live previewValidatorllmstxt.org formatRuns in your browser
Code editor on a monitor showing HTML template markup, with a project file tree on the left
Overview

What is llms.txt?

llms.txt is a markdown file at the root of a website, at /llms.txt, that gives AI models a short summary of the site and a curated list of links to its most useful pages. Jeremy Howard proposed it in September 2024. It is a proposal, not an adopted standard, and Google says Google Search ignores the file.

The idea is that a model with a limited context window should not have to crawl a whole site to understand it. The file points it straight to the pages that matter. The format is published at llmstxt.org (checked 17 November 2026).

Generator

Build or check your llms.txt file

Fill in the form and the file builds as you type. Use the validator tab to check a file you already have. Everything runs in your browser and nothing you type is sent to a server; your draft is saved only in this browser.

What the site is and who it is for, in one or two sentences.

Plain paragraphs or bullet points: anything a model should know when reading the links. Headings are removed here.

Section 1
Section 2
Section 3

Links under “Optional” can be skipped by a model that needs a shorter context. Keep it last.

Your llms.txt

# Your site name

0 errors and 1 warning.

Upload the file to the root of your site so it loads at https://yoursite.com/llms.txt, served as plain text.

The format

llms.txt format, part by part

The parts must appear in this order. Source: the llms.txt proposal, checked 17 November 2026.

PartMarkdownRule
H1 title# Site or project nameRequired. The only part the format requires, and it must come first.
Summary> One or two sentencesRecommended. A blockquote with the key facts needed to understand the rest.
DetailParagraphs or listsOptional. Any markdown except headings, with more context about the site.
Sections## Section nameOptional, any number. Each H2 holds a list of links.
Links- [Name](https://url): noteEach list item is a markdown link, optionally followed by a colon and a note.
Optional section## OptionalLinks that can be skipped when a shorter context is needed.
Example

llms.txt example

A complete file for a fictional online bike shop. Load it into the generator with “Load the example” to edit it.

# Northwind Bikes

> Northwind Bikes sells commuter and cargo bicycles online and ships across the UK. This file lists the pages that best explain our products, policies and guides.

Prices on product pages include VAT. Stock levels change daily, so check the product page before quoting availability.

## Products

- [Commuter bikes](https://www.example.com/bikes/commuter/): Range overview with frame sizes and gearing
- [Cargo bikes](https://www.example.com/bikes/cargo/): Load limits, child-seat options and accessories

## Policies

- [Delivery and returns](https://www.example.com/help/delivery-returns/): Delivery times, costs and the 30-day return process
- [Warranty](https://www.example.com/help/warranty/): What is covered and how to claim

## Optional

- [Bike sizing guide](https://www.example.com/guides/sizing/): Height-to-frame-size chart

What each line does

  • # Northwind Bikes names the site. Every file starts with exactly one H1.
  • The > line is the summary a model reads first: what the business does and what the file lists.
  • The plain paragraph adds context that applies to every linked page, here that prices include VAT and stock changes daily.
  • ## Products and ## Policies group the links. Each item is a markdown link with a short note after a colon.
  • ## Optional holds the sizing guide: useful, but safe to skip when space is short.
Validator

What the llms.txt validator checks

Errors break the structure the proposal describes. Warnings are things a tool reading the file may get wrong. Notes are tidy-ups.

ProblemLevelHow to fix it
Missing H1, or H1 not firstErrorThe file must open with “# Name”.
More than one H1ErrorUse “## ” for every section after the title.
List item without a linkErrorEach item in a section should be “- [name](url)”.
Missing summary blockquoteWarningAdd a “> ” line under the H1.
Relative URLWarningUse the full https:// address so the link works out of context.
Duplicate link or sectionWarningRemove the repeat, or merge the two sections.
Notes without a colon, loose text in a section, H3 headingsWarningKeep sections to link lists in the standard form.
Optional section not last, http:// links, very large fileNoteNot wrong, but worth tidying.
Close-up of a screen showing colourful JavaScript code in an editor, viewed at an angle

What llms.txt is, and what it is not

  • It is a proposal. It was published by Jeremy Howard in September 2024 and is maintained at llmstxt.org. No standards body has adopted it.
  • It is not a ranking signal in Google. Google’s AI optimisation guide says Google Search ignores such files (checked 17 November 2026).
  • It is not access control. It cannot block or allow crawlers; robots.txt does that.
  • It is useful to tools that read it. Many developer documentation sites publish one so coding assistants and agents can find the right pages.

To find out whether AI assistants actually mention your brand, measure it directly with the AI visibility checker, then track what people say about you with Brandnata’s brand monitoring tool. To see how many tokens your llms.txt and the pages it links to use, paste them into the LLM token calculator. Planning a bigger site rebuild with markdown versions of every page? The website development cost calculator helps size it.

FAQ

llms.txt generator FAQs

Where do I put an llms.txt file?

Put it at the root of your site so it loads at https://yoursite.com/llms.txt, served as plain text. The llmstxt.org proposal also allows a file in a subfolder, such as /docs/llms.txt, which then covers the pages under that path. Link to full URLs inside it, because the file is often read on its own, away from your site.

Does Google use llms.txt?

Not for Search. Google’s guide to optimising for AI features in Search says you do not need special AI text files to appear, that Google Search ignores them, and that creating an llms.txt file will neither help nor harm your visibility or rankings in Google Search. That covers AI Overviews and AI Mode. We checked the guidance on 17 November 2026.

Does llms.txt help with SEO or AI rankings?

There is no evidence it improves rankings. Google Search ignores it, and we found no official statement from other AI answer engines saying they rank sites using it. Its real use is narrower: AI coding assistants, research agents and other tools that fetch a site’s llms.txt to find the right pages quickly. Treat it as a cheap convenience, not a ranking tactic.

What is the difference between llms.txt and robots.txt?

robots.txt tells crawlers which URLs they may or may not fetch, and well-behaved crawlers follow it. llms.txt does not grant or block anything; it is a reading list that summarises your site and points to the pages most worth reading. To control whether AI search crawlers such as OAI-SearchBot or PerplexityBot can visit, use robots.txt.

What does the Optional section in llms.txt mean?

By convention, an H2 section titled “Optional” holds secondary links that a tool can skip when it needs a shorter context. Put pages there that are useful but not essential, such as a long changelog, an archive or background reading. This generator places it wherever you add it; the validator suggests keeping it as the last section.

Should llms.txt link to markdown versions of my pages?

The proposal suggests it where you can. It recommends offering a clean markdown copy of useful pages at the same URL with .md added, such as page.html.md, or index.html.md for a URL without a file name. Markdown is easier for models to read than HTML full of menus. If you cannot publish .md copies, linking to normal pages is still valid.

Brandnata

See what the web says about your brand

An llms.txt file tells models where to look. Brandnata shows you what they will find: every mention of your brand and competitors across social media, news, blogs, forums and reviews, with sentiment on each.
  • Free consultation
  • No commitment
  • Tailored to your team