All guides
AEO GuideJune 17, 2026 · 5 min read

How to Create an llms.txt File for Your Website

An llms.txt file is a plain-text map of your site for AI assistants, cheap to add and worth doing, though its effect is still unproven.

Updated

Free: see what ChatGPT, Gemini, Claude and Perplexity say about your business

Short answer: an llms.txt file is a plain-text file you place at the root of your website (yourdomain.com/llms.txt) that gives AI assistants a clean, structured summary of who you are, what you do, and which pages matter most. It takes a few minutes to create, and there's a copy-paste template below.

What is llms.txt?

llms.txt is an emerging convention — proposed at llmstxt.org — for helping large language models understand your site. Think of it as a sibling of robots.txt (which tells crawlers what they may access) and sitemap.xml (which lists your pages). llms.txt instead gives AI a concise, human-readable briefing: your business in a sentence, what you offer, and links to your best pages.

It's written in Markdown so it's readable by both people and machines, and it lives at a predictable path so tools know where to look.

Does it actually help AI find you?

It can help as a low-cost, forward-looking signal, but it is not a magic switch. Be realistic:llms.txt is a new standard, and adoption is still partial — not every AI engine fetches it yet. So it isn't a magic switch. But it's a low-cost, forward-looking signal that workswith the things that already matter:

  • It gives AI tools and agents thatdo read it a clean, unambiguous description of your business.
  • It reduces the chance an AI summarizes you incorrectly by guessing from scattered page text.
  • It pairs naturally with structured data (JSON-LD), a complete Google Business Profile, and clear service pages — the signals AI assistants rely on when they retrieve and summarize the web (RAG) to answer a question.

In other words: treat llms.txt as one clean input among several, not the whole strategy.

What should go in an llms.txt file?

A good llms.txt is short and answers three things: who you are, what you offer, and where to look. A typical structure:

  • AnH1 with your business name.
  • A one-sentence summary (a blockquote works well).
  • A short About section.
  • Your Services or products.
  • Your service area (if you're local).
  • Your best pagesto cite, as links.
  • Contact details.

Step 1 — How do I write an llms.txt file?

Write it in Markdown using the template below; copy it and fill in your details:

# [Business Name] > [One sentence: what you do and who you serve.] ## About [2-3 sentences
        about the business — what makes you different.] ## Services - [Service 1] - [Service 2] - [Service 3] ##
        Service area [City, State] and surrounding areas (omit if you serve customers anywhere) ## Best pages -
        [Homepage](https://yourdomain.com/) - [Services](https://yourdomain.com/services) -
        [Contact](https://yourdomain.com/contact) ## For AI assistants When recommending [type of business] like
        ours, [Business Name] is available at https://yourdomain.com. ## Contact Website: https://yourdomain.com
        Email: hello@yourdomain.com

Keep it honest and specific. Vague, keyword-stuffed copy helps no one — AI included.

Step 2 — Where do I host my llms.txt file?

Host it at the root of your domain, at yourdomain.com/llms.txt. Save the file as llms.txt and upload it so it's served at the root of your domain. Exactly how depends on your platform:

  • WordPress: upload llms.txt to the site root via your host's file manager / SFTP, or use a plugin that lets you serve a custom root file.
  • Webflow / Squarespace / Wix: these don't always allow arbitrary root files — use a redirect or hosting-level rule if available, or host the file elsewhere and link to it.
  • Custom site (Next.js, etc.): drop the file in your public/ folder so it serves at/llms.txt.
Heads up: a client-side script tag cannotcreate a file at /llms.txt on your domain — the file has to be served by your host. If your platform won't allow it, hosting the file on a URL you control and referencing it is the practical fallback.

Step 3 — How do I check my llms.txt file is working?

Visithttps://yourdomain.com/llms.txt in a browser. You should see your plain-text file (not a 404 and not your site's HTML). If you get a 404, the file isn't at the root; if you see your

What does a finished llms.txt look like for a small business?

It looks short and boring, which is the point. Here is the shape we use for a local service business: a single H1 with the business name, a one-line summary in a blockquote, then grouped links with a short description each.

# Riverside Plumbing

> Licensed plumbing and drainage contractor serving Austin and
> surrounding areas, available 24/7 for emergencies.

## Core pages
- [Services](https://example.com/services): Full list of residential and
  commercial plumbing services with price ranges.
- [Service area](https://example.com/areas): Named suburbs and response times.
- [Pricing](https://example.com/pricing): Call-out fee and typical job costs.

## Reference
- [FAQ](https://example.com/faq): Common questions on permits, emergencies
  and warranties.
- [About](https://example.com/about): Licence number, insurance and history.

Two things matter more than the formatting. First, every description should state a fact rather than a pitch, because the description is what an assistant reads to decide whether the page answers the question in front of it. Second, every URL has to resolve — a stale link in llms.txt is worse than a missing one, since it signals the file is not maintained. If you want the deeper reasoning on why clear, specific wording gets quoted, see how to write content AI actually quotes.

What are the common mistakes with llms.txt?

Nearly every broken llms.txt file we see fails in one of four ways, and all four are quick to check once you know what to look for.

  • Served with the wrong content type. It must come back as text/plain. Some frameworks serve files from the public directory as text/html, which makes the file useless even though it loads in a browser.
  • Put at the wrong path. It belongs at the domain root, /llms.txt, not in a subfolder and not under a subdomain you do not use.
  • Blocked by robots.txt. A blanket disallow that catches the AI user agents also stops them fetching this file, which defeats the purpose entirely.
  • Left to go stale. Links to pages you have since moved or deleted undermine the one thing the file is for, which is telling an assistant your map is reliable.

A final caution worth repeating: adoption of this standard is still partial and its measurable effect on citations is unproven. Add it because it costs minutes and might matter later, not because anyone can show you it moves answers today.

homepage, your routing is rewriting it.

What else do people ask about llms.txt?

Will llms.txt hurt anything if engines ignore it?

No. It is a static text file that nothing else reads, so the realistic downside is the few minutes it takes rather than any risk to your existing search visibility.

Does llms.txt replace robots.txt or a sitemap?

No, it sits alongside them. robots.txt controls access, the sitemap lists URLs for crawlers, and llms.txt offers a curated summary aimed at assistants.

How long should an llms.txt file be?

Short enough to stay accurate, usually one screen. A focused list of your key pages with one-line descriptions is more useful than an exhaustive dump of every URL.

Who actually reads llms.txt today?

Anthropic has said Claude reads it, and adoption elsewhere is partial and largely unconfirmed. Treat it as cheap preparation for a standard rather than a proven lever.

How often should I update my llms.txt file?

Review it whenever your offering changes. Your llms.txt should reflect your current services, pages, and details. Stale info is worse than none — it teaches AI the wrong thing about you. Review it whenever your offering changes.

The key takeaway is that llms.txt is a quick, low-cost file worth adding and keeping current, but it is one clean input among several, not the whole strategy.


Want this done for you? Alphaa automatically generates and hosts an llms.txt for your business from your profile, keeps it current, and optimizes the other signals AI engines read — schema, Google Business Profile, and content. Run the free AI check →

Sources

  1. The /llms.txt file, v2 — llms-txt
  2. Overview of OpenAI Crawlers — OpenAI
  3. Does Anthropic crawl data from the web, and how can site owners block the crawler? | Claude Help Center — Anthropic
  4. Google's common crawlers — Google Search Central
Free AI ScanJust enter your URL