llms.txt does not follow the expected format
This warning appears when your llms.txt file exists but doesn't follow the one mandatory requirement of its specification: starting with an H1 title.
What this error means
Why it matters to fix it
Risk of the file being ignored
Some AI agents validate the structure before processing the content; if they don't recognize the initial H1, they may discard the whole file.
Losing the benefit of a quick summary
All the effort of structuring your llms.txt loses its value if the format isn't parsed as expected.
A sign the file wasn't built to spec
A malformed H1 usually means the file was created by hand or with a tool that doesn't strictly follow the standard, which can also affect the rest of its structure.
How to fix it step by step
Fixing this is as simple as correcting the file's first line.
Open your llms.txt file
Access the current content of the file published on your domain.
Where to apply it: https://yourdomain.com/llms.txt.
Fix the first line with content
Make sure it's exactly a hash, a space, and your site's name, with nothing before it.
Where to apply it: First non-blank line of the file.
Leave the rest of the structure as is
The summary, H2 sections, and links are optional and don't need changes if you already had them.
Where to apply it: Rest of the llms.txt file.
If you want to understand it even better
To help you better understand this type of error and why it happens, we include additional materials that expand the explanations, guide with examples, or show alternative methods.
Does your site have this problem?
Audit your website for free and discover if this and other SEO errors are affecting your ranking.