Skip to content
Surfacedd

Free tool

Write a valid llms.txt in five minutes, and know what it will and won't do

Generate an llms.txt from a short form, or paste an existing file and get line-by-line findings against the llmstxt.org format. Honest label included: it's informational, and Google Search doesn't use it.

Runs entirely in your browser. Nothing you type is sent anywhere.
llms.txt · save at the root of your site
# Example Co

> Running shoes and trail gear, made and shipped from Portland.

## Key pages

- [Pricing](https://example.com/pricing): plans and what each includes
- [Contact](https://example.com/contact): sales and support

## Optional

- [Blog](https://example.com/blog)
  • Valid llms.txt: H1, 2 sections, 3 links (1 optional).

Runs in your browser. Nothing you type is sent anywhere.

Short answer

This llms.txt validator and generator checks a file against the llmstxt.org format: an H1 with the site name first (the only required part), an optional blockquote summary, then H2 sections of `[name](url): notes` links, with an Optional section agents may skip. It runs in your browser. llms.txt is informational: Google says Search doesn't use it.

How to use it

To generate a file:

  1. Enter your site or project name. It becomes the H1, the only line the format requires.
  2. Write one sentence that says what the site is. It becomes the blockquote summary that gives an agent its bearings.
  3. Optionally, add notes for agents: a short paragraph such as "Prices are in USD and include US shipping."
  4. Add sections. Each section has a title and links, one per line, written as Name | URL | note. A section titled Optional is always moved to the end, because by convention agents may skip it when they need a shorter context.
  5. Copy the file and save it as llms.txt at the root of your site, so it's served at https://yoursite.com/llms.txt as plain text.

To validate a file: switch to "Validate a file" and paste the contents of your llms.txt. Findings appear as you paste, each with its line number.

Everything runs in this page; nothing you type or paste is sent anywhere.

What the validator checks

The format comes from the llms.txt proposal (version 2, last modified 2026-08-10). The validator separates errors, which break the format, from advice.

CheckLevelWhy
The first non-empty line is an H1 (# Name)ErrorThe proposal says the H1 is the only required section
Only one H1ErrorSections are H2; a second H1 makes the structure ambiguous
Every list item in an H2 section is a link, - [name](url) with optional : notesErrorThat's the file-list format agents parse
Links are web URLsErrormailto: or javascript: links aren't files an agent can read
A blockquote summary exists, straight after the H1AdviceIt supplies the context for the rest of the file
URLs are absolute and httpsAdviceRelative links break when the file is read outside your site
No URL is listed twiceAdviceDuplicates waste the agent's context
H2 sections aren't emptyAdviceAn empty section tells the agent nothing
No ### headingsAdviceThe format defines H1 and H2 only
File under 100 KBAdvicellms.txt is an index. Put long text in Markdown pages and link them

A BOM and Windows line endings are accepted, as the proposal allows.

A real example

Our own file at /llms.txt follows the same rules. It opens with the H1 # Surfacedd, a one-paragraph blockquote saying what the app is, a few plain lines with pricing, engines and platforms, and a line saying who it's not for. Then come H2 sections (Product, Use cases, Engines, Guides, Docs and so on) listing every published page, many pointing at the page's Markdown twin (.md) so an agent can read clean text. Paste it into the validator to see a passing result.

Does llms.txt help you get cited?

Probably not, today, and we'd rather say so. Google says you don't need llms.txt or similar files to appear in Google Search, and that Search itself doesn't use them. (Google Search Central) We know of no published evidence that having the file raises how often AI answers cite a site. Some tools do look for it: Chrome's experimental Lighthouse agentic browsing category checks whether an llms.txt is present. (Chrome for Developers)

So treat it as cheap housekeeping: a clean, current index of your key pages that costs twenty minutes and can't hurt. Don't expect it to fix a robots.txt that blocks AI search crawlers or pages that need JavaScript to show their text. Those decide whether you can be cited at all, and the agent readiness checker checks them. The evidence, who fetches llms.txt and how it compares with Markdown twins, is in our llms.txt guide.

Edge cases

  • Serve it as text. If your framework returns your HTML 404 page with status 200 at /llms.txt, agents see HTML, not a file. Check the response in a terminal: curl -I https://yoursite.com/llms.txt should say content-type: text/plain or text/markdown.
  • Subpaths. The proposal allows an llms.txt under a subpath, such as /docs/llms.txt, covering the URLs below it; the most specific file applies.
  • llms-full.txt isn't part of the proposal. Some sites publish one with their full text; it's a convention, not a standard.
  • Keep it current. A file that lists pages you deleted sends agents to 404s. Regenerate it when your key pages change.

Run it continuously

In the Surfacedd app, Website › Files generates and validates llms.txt and robots.txt for each brand, labelled informational, and saves them to disk or the clipboard. The name and summary start from the brand you set up, and short paths such as /pricing resolve against your site. The agent readiness check, which runs as part of the weekly site audit, reports whether the live file exists, next to the checks that matter more: crawler access, bot walls and server-rendered content.

Sources

  1. llms.txt proposal (llmstxt.org) llmstxt.org · checked
  2. Google Search Central: Optimizing your website for generative AI features developers.google.com · checked
  3. Chrome for Developers: Lighthouse agentic browsing scoring developer.chrome.com · checked

Fair questions

What is the minimum valid llms.txt?

One line: an H1 with your site's name, such as # Example Co. The proposal makes that the only required section. A useful file adds a one-sentence blockquote summary and an H2 section listing your key pages as Markdown links with a short note each. Five to twenty links is plenty for most sites.

Where does llms.txt go?

At the root of your site, served at https://yoursite.com/llms.txt as plain text. The proposal also allows files under a subpath, such as /docs/llms.txt, covering only the URLs beneath it. It doesn't need to be linked from your pages, though some sites add a link in the footer for people who are curious.

Does Google use llms.txt?

No. Google's guide to its generative AI features says you don't need llms.txt to appear in Google Search and that Search itself doesn't use such files. That doesn't stop other tools from reading it, but it means the file has no effect on Google's AI Overviews or AI Mode.

Should links point at HTML pages or Markdown?

Either works. The proposal suggests offering a clean Markdown version of each page at the same URL with .md added, and linking those, because Markdown is easier for a language model to read than HTML. If your site doesn't serve Markdown versions, link the normal pages.

What goes in the Optional section?

Links an agent can skip when it's short of context: the blog archive, older release notes, long reference pages. Put the pages that answer the most common questions about you, such as pricing, product, contact and docs, in the sections above it.

Is this the same validator as the Surfacedd app?

It follows the same format rules from the same proposal. In the app, Website › Files fills in your brand's name and summary for you, resolves short paths against your site, and the weekly audit's agent readiness check reports whether the live file exists. This page is for a quick, private one-off.

Run this continuously on your own keys.

Surfacedd checks your robots.txt, crawler logs, schema and AI answers on a schedule, and keeps the history on your computer.

Launch price $29, $79 after 23:59 UTC on January 30, 2027.$79 once. One-time licence. No subscription.