JSON Formatter
Format and validate JSON instantly in your browser.
Open Tool βPaste your llms.txt content below and check it against the spec β missing headings, broken links, and bad list formatting get flagged with the exact line number. Common real-world patterns like bare URLs or extra info sections are flagged as warnings, not errors.
Validation Result
Errors β these will likely break a parser
Warnings β off-spec but commonly tolerated
Parsed Structure
One missing closing parenthesis in a markdown link is enough to break an llms.txt file. Not visibly β the file still opens fine in a text editor β but a parser reading it for an AI agent will either skip that line or choke on it entirely, and you won't know unless you check. That's the gap this tool fills: paste your file, get back the exact line where something doesn't match the spec.
The llms.txt format, proposed by Jeremy Howard and the Answer.AI team, has a small number of structural rules. This tool checks each of them:
#) β this is the only required section>) sits near the top, right after the H1##) β anything deeper isn't part of the spec- [Name](URL): optional notesErrors mean the file breaks the spec in a way that will likely cause a parser to misread it β a missing H1, a link with unmatched brackets, a URL that doesn't parse. Warnings are softer: an H3 buried inside a section, a bare URL instead of a full markdown link, an extra H2 section that holds prose or metadata instead of a link list. None of those are illegal markdown, and none of them match the spec exactly either.
The original spec text is specific: a link list entry needs "a required markdown hyperlink [name](url)." Plenty of real llms.txt files in the wild skip that and just drop bare URLs under a heading instead. It's off-spec, but most context-building tools can still pull a URL out of a line whether or not it's wrapped in brackets, so flagging every one of those as a hard error produces a wall of red text for a file that mostly works. Same with extra sections like "Project" or "Guidance for AI Systems" β not part of the original two-section model, but common enough in practice that this tool treats them as a deviation worth noting, not a failure.
What still counts as a real error: no H1 at the top, more than one H1, a link with broken bracket or parenthesis syntax, or a URL that isn't a URL at all. Those are the things a parser is actually likely to trip over.
This tool checks structure, not content. It won't tell you whether your project summary is clear, or whether you've linked the right pages β that part is still on you. A file can pass every check here and still be a weak llms.txt if the summary is vague or the wrong pages are linked.
It also runs entirely in your browser. Nothing you paste gets sent anywhere or stored, so testing a draft before it's public is safe.