Free llms.txt Validator
Paste your llms.txt content or enter your domain URL. Get results in under 3 seconds.
What It Checks
The validator runs 9 specification checks against your llms.txt file. A file must pass all 9 checks to be considered fully compliant.
| Check | What It Tests | Pass Condition |
|---|---|---|
| File Accessibility | Is llms.txt reachable at root domain? | HTTP 200 response at /llms.txt |
| Single H1 Rule | Does file have exactly one H1? | Exactly 1 H1 heading found |
| Blockquote Summary | Is there a blockquote after H1? | `>` blockquote present |
| H2 Sections | Are sections organized with H2? | At least 1 H2 section |
| No H3+ Headings | No deep heading levels | Zero H3/H4/H5/H6 tags |
| Absolute URLs | Are all links absolute? | All links start with https:// |
| Markdown Links | Correct link format? | `[Title](URL)` format used |
| File Size | Under 50KB? | File ≤ 50,000 bytes |
| Bullet Format | Links in bullet lists? | `-` or `*` bullets used |
What Does a Valid llms.txt Look Like?
Here is a side-by-side comparison of a spec-compliant file and one with common errors.
# My Awesome Blog > A curated collection of guides about web development. ## Featured Posts - [How to Build a React App](https://myblog.com/react-guide): Walkthrough - [CSS Grid Mastery](https://myblog.com/css-grid): Reference
# My Awesome Blog ## Featured Posts (missing blockquote!) - [How to Build a React App](/react-guide) (relative URL!) ### Deep Dive (H3 heading — not allowed!) # Additional H1 (duplicate H1 — only one allowed!)
The Most Common Validation Errors
1. Mismatched or Broken URLs
Fix: Verify every URL in your file. Use absolute paths starting with https://.
2. Multiple H1 Headings
Fix: Use exactly one H1 at the top. Convert additional headings to H2.
3. Sub-directory Placement
Fix: Move the file to your domain root (https://yourdomain.com/llms.txt).
Frequently Asked Questions
How do I validate my llms.txt file?
Enter your domain URL to fetch the file, or paste your content directly. The validator runs all 9 spec checks automatically.
What does HTTP 200 mean for validation?
HTTP 200 is a success response, meaning your file is publicly accessible to AI crawlers at the correct location.
Why must it have exactly one H1 heading?
Multiple H1s confuse AI models about the primary identity of the resource. Use your brand name as the single H1.