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.
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.
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.
Open yoursite.com/llms.txt, copy everything and paste it here. Checked as you type.
Results
Paste a file to see any problems, line by line.
llms.txt format, part by part
The parts must appear in this order. Source: the llms.txt proposal, checked 17 November 2026.
| Part | Markdown | Rule |
|---|---|---|
| H1 title | # Site or project name | Required. The only part the format requires, and it must come first. |
| Summary | > One or two sentences | Recommended. A blockquote with the key facts needed to understand the rest. |
| Detail | Paragraphs or lists | Optional. Any markdown except headings, with more context about the site. |
| Sections | ## Section name | Optional, any number. Each H2 holds a list of links. |
| Links | - [Name](https://url): note | Each list item is a markdown link, optionally followed by a colon and a note. |
| Optional section | ## Optional | Links that can be skipped when a shorter context is needed. |
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.
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.
| Problem | Level | How to fix it |
|---|---|---|
| Missing H1, or H1 not first | Error | The file must open with “# Name”. |
| More than one H1 | Error | Use “## ” for every section after the title. |
| List item without a link | Error | Each item in a section should be “- [name](url)”. |
| Missing summary blockquote | Warning | Add a “> ” line under the H1. |
| Relative URL | Warning | Use the full https:// address so the link works out of context. |
| Duplicate link or section | Warning | Remove the repeat, or merge the two sections. |
| Notes without a colon, loose text in a section, H3 headings | Warning | Keep sections to link lists in the standard form. |
| Optional section not last, http:// links, very large file | Note | Not wrong, but worth tidying. |
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.
Related tools and services
Other free tools for measuring how your brand shows up, and Perimattic services if you want help acting on the result.
Brandnata free tools
- AI visibility checkerTest whether ChatGPT, Perplexity and Google AI Mode name your brand
- Brand sentiment calculatorNet sentiment score from mention counts
- Brand health assessmentSix dimensions, including share of voice
- Campaign benchmarkerCTR, CPC, conversion rate and CPA by channel
- Sentiment analysis tool selectorShortlist software from six answers
Brandnata features
Perimattic tools
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.
See what the web says about your brand
- Free consultation
- No commitment
- Tailored to your team
Keep reading
- Brand monitoring toolTrack brand mentions, competitors and media coverage.Read about brand monitoring
- Brand sentiment analysis toolAudience sentiment and customer feedback, analyzed by AI.Read about sentiment analysis
- Brandnata platform overviewAI agents and anomaly detection for ecommerce brands.Explore Brandnata
