Dev.to WebDev 🛠 Dev 👁 0 📖 2 min read

llms.txt: How to Create and Validate One (and What It Can't Do)"

llms.txt` is easy to create and easy to overrate. Here is how to build one with realistic expectations. Disclosure: I'm the founder of Jeevan AI, and I link to our tools and guides below. What it is A Markdo

llms.txt` is easy to create and easy to overrate. Here is how to build one with realistic expectations.

Disclosure: I'm the founder of Jeevan AI, and I link to our tools and guides below.

What it is

A Markdown file that gives AI agents a short map of your site, usually at /llms.txt. It is a proposal, not an official standard.

What it can't do

The format

Only the H1 title is required by the proposal. A useful file also has a summary and linked sections.

`markdown

Acme Docs

Acme is an invoicing API for small businesses.

Amounts in the API are in the smallest currency unit.

Docs

Optional

Links under Optional can be skipped when an agent needs shorter context.

Create it

Write it by hand, or use the free llms.txt generator. Add your site name, description, homepage URL and key pages, then download the file.

Validate it

Paste the contents into the llms.txt validator. It checks the title, description, sections and link format. It expects more than the bare minimum in the proposal.

Check the live file

bash
curl -i https://example.com/llms.txt

Look for:

  1. A 200 status
  2. Markdown or plain text, not your app's HTML fallback
  3. Links that open and point to current pages

Is it worth it?

It is a reasonable small task if you have docs that developers feed to coding agents. Check your server logs to see whether anything requests it.

If your real goal is AI search visibility, start with crawl access and clear content. An AI-readiness page analysis is a practical next step, followed by a manual AI search visibility audit.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.