AI search

How to add an llms.txt file to your site

Write a Markdown file at /llms.txt summarising what the site offers, with links to your most useful pages. It is a proposed convention rather than a standard, no major assistant is confirmed to consume it, and it costs an hour to publish.

Written by Anas Bin Masud 6 steps About 1 hour 257 words

Before you start

  • A clear summary of what the site is for
  • Your most important page URLs

The steps

  1. Step 1: Create the file at the root

    At /llms.txt, served as text or Markdown.

  2. Step 2: Open with an H1 and one summary line

    What the site is, in a sentence somebody unfamiliar would understand.

  3. Step 3: Add sections for what you offer

    Services with prices, guides, contact details. Use headings and links, not prose paragraphs.

  4. Step 4: Link to real URLs

    Absolute, canonical, and currently returning 200. A dead link here is worse than the missing file.

  5. Step 5: Generate it from your data

    So prices and page lists cannot drift from the site itself as content changes.

  6. Step 6: Verify it loads

    Fetch it and confirm a 200 with the right content type.

Be honest about the evidence

No major AI provider has confirmed it reads llms.txt. It is a proposal that gained attention rather than an adopted standard, and anyone presenting it as a requirement is overselling. Publish it because it is cheap and might help, not because it is expected to.

Generate it, do not maintain it

A hand-written llms.txt goes stale the first time prices change. This site’s version is generated from the same data that renders the pricing pages, which is the difference between a file that stays accurate and one that quietly contradicts the site.

The background behind this

llms.txt: a fair assessment of a file nobody is obliged to read covers the reasoning in about 2 minutes — free, ungated, written from client work.

Who wrote this

Anas Bin Masud builds e-commerce sites and does technical SEO for businesses in the UK, Canada, Ireland and Pakistan. These procedures are the ones I run on client work, written down rather than invented — including the ones where the honest answer is that the fix is not available on your current hosting.

Related procedures

All 64 how-to guides →

Want this done rather than done yourself?

Send the brief and you get a reply within one business day — either questions, or a scoping call. If your project is not something I should take on, I will say so then.

Response
Replies within 1 business day
Hours
Mon–Fri, 09:00–18:00 PKT — overlaps 05:00–14:00 UK, 00:00–09:00 US Eastern
Booking
Booking projects from October 2026
WhatsApp — opens a chat with +92 346 5348466 in a new tab