Key point. A valid llms.txt starts with one H1 line naming your site, then a one-line > summary, then ## sections that each list links as - [Name](https://full-url): description. Paste your file below to check each rule and get a corrected copy.
- Home
- Free tools
- llms.txt validator
llms.txt validator
llms.txt validator
Paste your llms.txt to check it against the format at llmstxt.org: the H1 name, the summary line, the sections and every link. You get a list of fixes and a corrected copy. Nothing is uploaded.
This checks the file's format only. It cannot tell you whether any AI system reads your llms.txt. Serve the file at https://yourdomain.com/llms.txt as plain text. No file yet? Build one with our llms.txt generator.
Built by Elementera. Want to know which AI crawlers can reach your pages? Try the AI crawler check.
What does the validator check?
It checks your file against the format published at llmstxt.org:
- the first line is a single H1 with your site or company name;
- a one-line blockquote summary follows the H1;
- sections use H2 headings, and no other heading levels;
- every section item is a Markdown link, with any description after a colon;
- links are full https:// addresses, with no duplicates;
- the file stays short (we flag files over 10 KB) and does not turn out to be HTML or a robots.txt file.
It also notices an Optional section, which the format reserves for links that can be skipped when space is short.
Does a valid llms.txt get me cited by AI?
We know of no published evidence that it does. The validator checks format only and cannot tell you whether any AI system reads your file. Treat llms.txt as low-cost hygiene: an accurate index of your most useful pages.
How do I fix the problems it finds?
Each finding comes with a fix. Mechanical ones (spacing, list markers, duplicates, relative links when you enter your site address, a missing summary marker) are applied in the corrected copy; check it before you upload. No file yet? Start with our llms.txt generator.
Worked example: a broken llms.txt, checked and corrected
For example, the llms.txt validator checks this broken first draft of an llms.txt file for an invented company, Example Payroll Co.
The site address https://www.example.com is entered above the box:
#Example Payroll Co
Payroll software for small US businesses.
> Payroll and tax filing for teams of 5 to 50 people.
## Product
* [Pricing] (/pricing)
- https://www.example.com/integrations
- [Features](https://www.example.com/features) - every feature, with screenshots
- [Pricing](https://www.example.com/pricing): plans and what each includes
### Guides
- [Help center](https://www.example.com/help): setup and payroll-run guidesThe validator finds 2 errors and 6 warnings:
- Line 1, error: the first line needs a space after #.
- Line 2, warning: text before the summary. The one-line > summary belongs straight after the H1.
- Line 6, error: a space between ] and ( breaks the link.
- Line 6, warning: the relative URL /pricing. The full address is https://www.example.com/pricing.
- Line 7, warning: a bare URL. Each item should be a Markdown link with a name.
- Line 8, warning: the description should follow a colon.
- Line 9, warning: a duplicate link, also on line 6.
- Line 11, warning: an H3 heading. The format defines only H1 (the name) and H2 (sections).
The corrected copy fixes the mechanical problems for you: the space after #, the * list marker, the broken link, the relative address, the bare URL, the description separator and the duplicate line. Two need your choice, so they stay as they were. Move the > summary up under the H1. Change ### Guides to ## Guides. The link name the copy writes for a bare URL comes from its last path part (integrations); give it a proper name. After those edits the file checks clean, with 0 errors and 0 warnings:
# Example Payroll Co
> Payroll and tax filing for teams of 5 to 50 people.
Payroll software for small US businesses.
## Product
- [Pricing](https://www.example.com/pricing)
- [Integrations](https://www.example.com/integrations)
- [Features](https://www.example.com/features): every feature, with screenshots
## Guides
- [Help center](https://www.example.com/help): setup and payroll-run guidesBuilt by Elementera. Last checked on November 3, 2026, against the format page at llmstxt.org and with the two files above.
Common llms.txt errors and how to fix them
The llms.txt validator can report the 16 errors and warnings below. Each row gives the message, what it means and how to fix it.
| What the validator says | What it means | How to fix it |
|---|---|---|
| The first line must be an H1 heading | The file does not start with # and a name. The H1 is the only part the format requires. | Make the first line # Your Company. |
| The first line needs a space after # | #Name is not read as a heading. | Write # Name. |
| More than one H1 heading | The format allows one H1, on the first line. | Change the others to ## section headings. |
| No summary | There is no one-line > blockquote after the H1. The format recommends one. | Add > One sentence on what you do, for whom and where. |
| Text before the summary | A plain line sits between the H1 and the > summary. | Move the > line up, right under the H1. |
| H3 heading (or deeper) | The format defines only H1 and H2. | Use ## for a section, or plain text in the intro. |
| Space between ] and ( breaks the link | [Name] (url) is not a Markdown link. | Write Name. |
| A bare URL | A list item has an address but no [name]. | Write - Page name. |
| The description should follow a colon | Text after the link is not separated by a colon. | Write name: description. |
| Relative URL | /pricing may not resolve when the file is read on its own. | Use the full https:// address. Enter your site address and the corrected copy expands them. |
| Insecure http:// URL | The link uses http://. | Use https:// if your site supports it. |
| Duplicate link | The same page is listed twice. | Keep one. The corrected copy drops the later line. |
| Section has no links | An ## section with nothing under it. | Add links or remove the section. |
| Large file | The file is over 10 KB. The format sets no limit; the 10 KB line is ours, because llms.txt is meant to be a short index. | Keep the main pages, move the rest under ## Optional, or put full content in llms-full.txt. |
| This is HTML, not Markdown | Your server returns a web page at /llms.txt, often a 404 page or your home page. | Serve a plain text file, with Content-Type text/plain or text/markdown. |
| This looks like a robots.txt file | The pasted text has User-agent or Disallow lines and no # heading. | llms.txt is a Markdown index of your pages. Start one with our llms.txt generator. |
FAQ
Does the validator fetch my site?
No. It checks what you paste, in your browser. Nothing is uploaded.
Can I use relative links like /pricing?
Use full addresses. A reader that fetches llms.txt on its own may not resolve relative links. Enter your site address and the corrected copy will expand them.
Is a large llms.txt a problem?
The file is meant to be a short index. Keep your main pages in it, move the rest under ## Optional, and put full content in a separate llms-full.txt if you want one.
Work with us
Want it done for you? Book a call about managed AEO services. Want to see where you stand first? Get your free AI visibility report from Lenz.
