« GEOFixer »
← Back

GEOFixer guide · All guides

How do you write an llms.txt file, step by step?

By the Ingenious AI team · Published 2026-11-14 · Reviewed 2026-11-14

Run the free audit first: GEOFixer fetches your real pages, scores their citability out of 100 and generates a ready-to-publish citable page — free for one domain, signed out.

Audit my site free → See Pro & Agency

Short answer

Write llms.txt in four moves: name the site and state in one paragraph what it does and who it serves; list your key pages — homepage, pricing, and your most citable guides — as links; give each link one plain, factual line an engine could quote, including stable facts like prices; then publish the file at /llms.txt and keep it in step with your sitemap. Curate ruthlessly: the file is a shortlist, not a mirror of your site.

What is writing llms.txt? Writing llms.txt means composing a Markdown text file for machine readers: a title, a summary paragraph, and a curated list of canonical page links with one-line descriptions, served from the site's root so AI systems can find the pages that matter without crawling everything.

Start with the paragraph that defines you

The opening paragraph does the heaviest lifting in the file, because a model deciding whether your site is relevant to a question may read nothing else. Write it the way a careful human would introduce your organisation to a researcher: what you do, in the plain vocabulary of the field; who it is for; and the specific thing you deliver that others describe but do not ship. Avoid slogans — a machine cannot quote a slogan as a fact, and a human researcher would not either.

Include the hard facts that are stable and public. If your pricing is published, state it. If you serve one domain free or work only with certain clients, say so. These sentences become the safest possible source for an engine answering 'what does X cost' or 'who is X for' — your own words, in a file you control, rather than a third party's summary of you that may be two redesigns out of date.

Curate the list like an editor, not an exporter

The key-URLs section is where most llms.txt files fail by generosity. The temptation is to paste the sitemap; resist it. Ask of each candidate page: if an engine could quote only one page of mine on this topic, is this the one? Pages that pass are your homepage, your pricing, the guides and service pages that answer real questions in citable shape, and any page whose facts — prices, steps, specifications — other pages refer to.

Order carries meaning too. Put the defining pages first: home, then pricing, then the strongest content. Group entries under plain headings if the list grows past twenty. And prune as aggressively as you add: when a page is retired or merged, its line leaves the file in the same deploy. A map that includes demolished buildings teaches machines to distrust the mapmaker.

Write descriptions that survive being quoted

Each one-line description has one job: let a machine decide, correctly, whether this page answers the question at hand. That means naming the topic in question-vocabulary, stating the deliverable, and adding the distinguishing concrete detail. Compare 'Our guide to audit checklists' with 'GEO audit checklist: the access, structure, freshness and schema checks an audit runs, in the order to fix them'. The second line can be quoted, matched against a question, and trusted; the first is a label.

Keep every line verifiable against the page it names. If the description claims a price, the page must show that price; if it promises a checklist, the checklist must be there. Descriptions that oversell are not a growth hack — they are training data for engines to learn that your summaries inflate, and they poison the file's one asset, which is being believed.

A final test separates a finished file from a draft: hand it to a colleague who did not write it and ask them to describe the business and its three most important pages after one reading. If they can, the file will work for machines, which are more literal readers than your colleague. If they cannot — if the summary blurs or the entries read interchangeably — the descriptions need another pass. The file is short enough that this test costs ten minutes; run it before every major revision, not just the first.

How GEOFixer checks this on your real pages

GEOFixer's audit checks for the presence of /llms.txt and raises a medium finding when it is missing, with the fix text describing exactly this content list. GEOFixer's own llms.txt demonstrates the format in production: it names the product, explains in plain paragraphs what GEO is and what the audit covers, states the Free, Pro ($59/month) and Agency ($149/month) pricing as quotable facts, and lists the home, pricing and agency URLs under Key URLs — nothing else, because for this tool those are the pages that matter.

Worked example

A fictional worked example with concrete numbers. A consultancy with 48 live pages writes an llms.txt of 12 entries. The header paragraph takes three drafts: the first is slogan-heavy and is scrapped; the final version states the firm's service, its client size, and its two fixed-fee offers with prices. Each of the 12 descriptions is checked against its page, and two are rewritten when they promise case studies the pages only summarise. The file ships at 1,900 bytes — small enough to review in one screen. At the next quarterly review, two retired service pages are removed and one new guide is added, a ten-minute edit that keeps the map exactly as trustworthy as the day it was published.

Your 5-action checklist

  1. Write the header: site name plus one factual paragraph — what you do, who for, and the deliverable.
  2. State stable public facts in the header, including published pricing if you have it.
  3. Select ten to thirty key pages; if a page would embarrass you as the quoted source, leave it out.
  4. Write one verifiable line per page: topic in question-vocabulary, deliverable, distinguishing detail.
  5. Publish at /llms.txt, then diarise a review alongside every sitemap or pricing change.

Frequently asked questions

What format should llms.txt use?

Plain Markdown text: a heading for the site name, ordinary paragraphs, and link entries with descriptions. No HTML, no scripts, nothing clever — the audience includes simple parsers, and the file's virtue is that anything can read it.

How long should llms.txt be?

As short as curation allows. Most sites are well served by a header paragraph and ten to thirty entries. If the file scrolls for screens, it has become a second sitemap and lost the editorial judgment that makes it useful.

Should I include prices in llms.txt?

If your prices are public and stable, yes — stated prices are among the most useful facts an engine can quote accurately, and your own file is the most authoritative place to state them. If prices change often or are negotiated, describe the pricing model instead of numbers.

Do I still need a sitemap if I have llms.txt?

Absolutely. The sitemap is the exhaustive discovery mechanism for every crawler; llms.txt is a curated shortlist for AI readers. They do different jobs, and an audit checks for both independently.

How do I know my llms.txt is being served correctly?

Fetch yoursite.com/llms.txt in a browser: you should see the plain text itself, not a download prompt, a login page or a redirect to the homepage. Then run an audit — GEOFixer reports the file's presence as part of every scan.


Keep reading

Get my free audit & citable page →