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.
Some AI agents validate the structure before processing the content; if they don't recognize the initial H1, they may discard the whole file.
All the effort of structuring your llms.txt loses its value if the format isn't parsed as expected.
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.
Fixing this is as simple as correcting the file's first line.
Access the current content of the file published on your domain.
Where to apply it: https://yourdomain.com/llms.txt.
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.
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.
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.
Audit your website for free and discover if this and other SEO errors are affecting your ranking.
We use them to make the site work properly, understand how you use it and improve our marketing. You can accept, reject or configure them. More information in our cookie policy.