Free llms.txt Validator
Check that your llms.txt follows the published format and contains working links. Enter a domain to fetch the live file, or paste a draft before you publish it.
Features of the llms.txt Validator
Catch format mistakes before tools try to read your llms.txt.
Fetch /llms.txt from any domain or paste a draft.
H1 title, summary, H2 sections, stray H3s and the Optional section.
Every list item checked for the – [name](url): notes format.
Each issue points to the exact line to fix.
HTTP status, Content-Type and HTML-instead-of-text errors.
Optionally checks the first 10 links for errors.
How to use the llms.txt Validator
Click Load Example above to see it in action first.
Type your domain (for example example.com).
The tool fetches /llms.txt. To test a file in a subfolder, enter its full URL.
Or paste the file content into the text box to check a draft.
Pasted content takes priority over the URL.
Tick Also test the first 10 links if you want link status checks.
Click Validate and fix items marked Fix first, then Improve.
What the validator checks
An llms.txt file is easy to write by hand and just as easy to break. A missing H1, an H3 in the wrong place or a list item without a proper Markdown link can make the file harder for tools to parse. This validator applies the structure described on llmstxt.org and reports each problem with its line number.
- Delivery: HTTP status and Content-Type when you fetch a live file, and whether the URL returns an HTML page instead of text.
- Title: the first non-empty line must be an H1 (
# Name), and there should be only one H1. - Summary: a blockquote (
> …) directly after the title is recommended. - Sections: H2 sections, their link counts, empty sections and stray H3 headings.
- Links: every list item in a section must use
- [name](url), optionally followed by: notes. Relative and duplicate URLs are flagged. - Optional section: whether it exists and whether it is placed last.
- Size: very large files are flagged, because llms.txt is meant to be a concise index.
- Link status (optional): tests the first ten links and shows their HTTP status.
Example: a file with problems
# Example Docs > Example Docs explains how to install and use the Example API. ## Docs - [Quick start](https://example.com/docs/start.md): Install and make a first request - [Authentication](/docs/auth.md) - Rate limits page
The validator passes the H1 and summary, then reports two issues in the Docs section: line 8 uses a relative URL, and line 9 is a list item without a Markdown link. The fix is to use a full URL and write - [Rate limits](https://example.com/docs/rate-limits.md).
Understanding the results
- Valid means the file follows the required and recommended structure.
- Valid, with warnings means the H1 is present but parts of the file do not follow recommended conventions.
- Has errors means a required element is missing or the URL does not return a usable text file.
The specification only strictly requires the H1. Most warnings are about consistency, which matters because different tools parse the file in slightly different ways.
Common problems and fixes
- The URL returns your homepage. Some WordPress setups redirect unknown paths. Upload the file to the web root or enable your SEO plugin’s llms.txt output.
- 404 Not Found. There is no file yet. Create one with the llms.txt Generator.
- Wrong Content-Type. Configure the server to send
text/plainortext/markdown. - Broken links. Replace redirected or deleted URLs with their final, canonical versions. Our Redirect Checker shows where a URL ends up.
- Cached old version. Purge your caching plugin or CDN after editing the file.
Limitations
- The validator checks structure, not content quality. You still decide which pages deserve to be listed.
- Some servers block automated requests, which can cause false link errors. Open those links in your browser to confirm.
- llms.txt is an evolving community proposal. A valid file does not mean any particular AI product reads it.
Frequently asked questions
What makes an llms.txt file valid?
At minimum it must start with an H1 containing the site or project name. A well-formed file also has a blockquote summary and H2 sections listing links as – [name](url): notes.
Can I validate a file before uploading it?
Yes. Paste the content into the text box and click Validate. Nothing is uploaded.
Why does the validator flag relative links?
Tools may read the file outside your site context, so full URLs are unambiguous. Relative links are a common source of broken references.
Does a valid llms.txt improve rankings?
No search engine has documented llms.txt as a ranking factor. Google says it is not needed for AI Overviews.
Why do some link checks show 403?
Some sites block automated requests. Check those URLs in a browser before assuming they are broken.
Related free tools
Need expert help with GEO?
Our team can audit your website and improve its visibility in Google AI Overviews, ChatGPT and other AI search tools.