GuidesGet cited by AI

How to create an llms.txt file

An llms.txt file is a plain Markdown file served from the root of your site that gives AI tools a short, curated map of your best pages. Write a title, a one-line summary, then grouped links with a sentence each, and publish it at /llms.txt. It is a proposal, not a ranking switch, so treat it as a cheap extra and not the main plan.

Updated November 16, 20265 steps5 min read

Check my AI visibility →

$1 today. Cancel anytime before day 7.

Publishing an llms.txt file
  1. 1Pick the pagesChoose 10 to 30 pages a stranger should read first.
  2. 2Write the headerOne H1 with your name, then a one-sentence summary.
  3. 3Group the linksUse H2 headings, with a short note after each link.
  4. 4Publish at the rootServe it as plain text at /llms.txt.
  5. 5Keep it currentUpdate it when a key page is added, moved, or removed.
On this page
  1. What an llms.txt file is
  2. Write the file
  3. Where to put it and what to do about llms-full.txt
  4. What a good file looks like
  5. What it will and will not do
  6. Questions

What an llms.txt file is

The format was proposed in 2024 by Jeremy Howard, the co-founder of Answer AI. It is a Markdown file, not JSON or XML, because language models read Markdown well and people can read it too.

Think of it as a hand-picked table of contents. A sitemap lists every URL. This file lists the ones you would send a new colleague to, with a line on why each matters. The idea is that a tool with limited reading time starts in the right place.

It is a community proposal. No standards body owns it, and the AI companies have not committed to reading it. That shapes how much effort it deserves.

If you have used robots.txt or a sitemap, the comparison is helpful but incomplete. Both of those are consumed by well-established crawlers with documented behavior. This file has no such guarantee, which is why it is better thought of as a courtesy to tools that choose to look.

Write the file

Start with a single H1 line holding the name of the site or business. Under it, put a blockquote with a one- or two-sentence summary of what you do and who for. That summary is the part most likely to be quoted, so make it factual and free of slogans.

Then add H2 sections such as Products, Docs, Pricing, Policies, and Support. Under each, list the pages as Markdown links, each followed by a colon and a short description. The proposal also reserves a section called Optional for pages that can be skipped when space is tight.

Choose pages that answer questions: what you sell, what it costs, how to use it, who it is for, and where your policies live. Leave out tag archives, login pages, and thin pages. A tight 20-link file beats a copy of the sitemap.

Write the descriptions as facts, not slogans. “Plans from the free tier to enterprise, with the limits for each” tells a model what is on the page. “The best way to grow” tells it nothing. If you have multiple languages or regions, list the primary versions and say which is which.

Does ChatGPT mention you yet?

Checks whether ChatGPT, Gemini and Perplexity mention your brand. Tracks it every week.

Where to put it and what to do about llms-full.txt

Publish it at the root, so it answers at your domain followed by /llms.txt. It should return a 200 status as plain text or Markdown, not a redirect to a page with navigation around it. There is nowhere to submit it. Crawlers either request that path or they do not.

You may also see a companion file called llms-full.txt, which concatenates the full text of your key pages into one Markdown document. It mostly suits documentation sites that want a tool to ingest everything in one request. A store or a service business does not need it.

Check the basics afterward: open the path in a browser, confirm every link returns a 200, and confirm robots.txt is not blocking the pages you listed. A file that points at blocked pages is worse than none.

What a good file looks like

Picture a software company. The file opens with its name as the H1, then a blockquote that says what the product does and who buys it. Under a Products heading it lists the main product pages, each with a plain description such as the plan limits or the supported integrations.

A Docs heading follows, with the setup guide, the API reference, and the troubleshooting page. A Company heading holds pricing, security, and contact pages. Every line is a Markdown link, a colon, and a clause that tells a reader what they will find, so the file works as a briefing and not only as a list of addresses.

A local business can use the same shape with its services, service areas, pricing page, and opening hours. Whatever you list, make sure the descriptions match the pages. A description that overpromises teaches a tool to distrust the file.

If you decide not to publish one, you lose little. If you do, treat the file like any other page you own: review it when you change your site structure, and note the date so you remember to look at it again.

What it will and will not do

Google has said it does not use llms.txt for its AI features, and no major answer engine has published a commitment to follow it. Some developer tools and agents do read it, mainly for documentation. For a normal business site, do not expect a visible lift in citations.

What does move citations is the work on the pages themselves: clear answers near the top, accurate facts, and FAQ schema where it fits. The broader playbook is on get cited by ChatGPT. The file costs an hour, so it is a fair add-on after that, never a replacement.

The part you can hand off: Sprites can check whether ChatGPT, Gemini and Perplexity mention your brand for the buying prompts you care about, and track it weekly, so you can see whether any change to your site moved the answers.

Questions

Where do I submit an llms.txt file?

Nowhere. There is no submission form. You publish the file at the root of your site, at /llms.txt, and any tool that supports it requests that path.

Is llms.txt still relevant?

It is relevant to developer tools and documentation agents that choose to read it. Major search engines have not said they use it for ranking or citations, so treat it as a low-cost extra.

What is an llms-full.txt file?

It is a companion file that holds the full text of your key pages in one Markdown document, so a tool can load everything in one request. It is optional and mainly useful for documentation sites.

How is llms.txt different from robots.txt?

robots.txt tells crawlers what they may fetch. llms.txt does not block anything. It only suggests which pages are worth reading first, in a format a language model handles well.

Keep going

See if ChatGPT recommends you

  • Checks whether ChatGPT, Gemini and Perplexity mention your brand
  • Shows which competitors they name instead
  • Tracks it every week