Skip to main content
Wysera
AIO and SEO9 min read

How to Write llms.txt: A Practical Guide for 2026

Two markdown files. AI crawlers find your site through them.

Girish Kotte
Girish Kotte

Founder, CEO & CTO, Wysera

llms.txt is the AI-era robots.txt: a markdown file at the root of your site that gives crawlers a structured summary of what you publish. Two files (llms.txt and llms-full.txt), one afternoon to ship, measurable lift in AI engine citation rates within 60 days. This is the practical guide.

What is llms.txt#

llms.txt is a plain markdown file placed at the root of your domain (yoursite.com/llms.txt). It gives AI crawlers a structured, machine-readable summary of your site: who you are, what you publish, and where to find each major page.

The spec was proposed by llmstxt.org in late 2024 (an initiative led by Jeremy Howard) and adopted by the major AI engines (OpenAI, Anthropic, Perplexity, Google) through 2025. By 2026 it's a de-facto standard for sites that want their content cited inside AI answers.

Think of it as the AI-friendly cousin of robots.txt and sitemap.xml. robots.txt tells crawlers what they can access. sitemap.xml tells crawlers what exists. llms.txt tells crawlers what matters and how to summarize it.

llms.txt vs llms-full.txt#

The standard defines two files. Most sites should ship both.

llms.txt (the short index). Typically 100 to 300 lines. Lists your main pages with one-line descriptions grouped by category. The discovery layer for AI engines.

llms-full.txt (the full canonical version). Typically 1,000 to 5,000 lines. The actual content AI engines should index for citation: full page text, structured knowledge, FAQ pairs, key facts. The depth layer.

Engines fetch llms.txt first to map your site, then llms-full.txt when they need depth for a specific query. Some engines only check llms.txt. Some go straight to llms-full.txt. Shipping both covers all behaviors.

llms.txt
llms-full.txt
Typical length
100–300 lines
1,000–5,000 lines
Role
Discovery index
Depth layer
Lists pages with one-line descriptions
Contains full page text & FAQ pairs
Fetched first by engines

The structure (with an example)#

The format is plain markdown with a few conventions:

1. H1 with your site name. One line, just the name.

2. Blockquote with a one-sentence description.A short hook the AI will use as your site's summary in answers.

3. A short paragraph or two of context. Who you are, what you ship, who you serve. Optional but recommended.

4. H2 sections grouping your pages. Each section has a list of pages with one-line descriptions.

1

H1 with your site name

One line, just the name — the top of the file.

2

Blockquote summary

A one-sentence hook the AI will use as your site's summary in answers.

3

Context paragraph

Who you are, what you ship, who you serve. Optional but recommended.

4

H2 page sections

Group your pages under headings, each page a markdown link with a one-line description.

A skeleton looks like this:

# Acme Inc
> One-sentence summary of what Acme does.

Acme is a [category] company building [product] for [audience]. Founded [year] by [founder].

## Products
- [Product A](https://acme.com/a): One-line description.
- [Product B](https://acme.com/b): One-line description.

## Pricing
- [Pricing](https://acme.com/pricing): Tiers, prices, what each tier includes.

## Resources
- [Blog](https://acme.com/blog): Cornerstone writing on [topics].
- [Compare](https://acme.com/vs): Side-by-side comparisons.

The Wysera llms.txt at wysera.ai/llms.txt follows this pattern if you want a live example.

What to include#

The content that earns the most citation:

Core pages. Homepage, product pages, pricing, about, company. The pages a buyer needs to make a decision.

Pricing with numbers.Specific dollar amounts, per-seat, flat, bundle. AI engines extract exact prices and cite them. Vague pricing (“contact us”) costs citations.

Comparison pages. /vs/competitor URLs are high-citation magnets. AI engines surface them for comparison queries.

FAQ-style content. Question-answer pairs inside llms-full.txt rank highest for citation. Direct questions, direct answers.

Blog and tools. Educational content lifts authority signals. Link to canonical blog posts and any free tools you ship.

Author and company facts. Founder name, date founded, headquarters, key team. AI engines weight named authority signals (E-E-A-T).

What to exclude#

Things that hurt more than they help:

Marketing language without substance. “Revolutionary” and “industry-leading” get downranked by modern engines. Write factually.

Logged-in or paywalled pages.If the AI can't reach the page, citation accuracy drops.

Stale content. Out-of-date pricing, deprecated products, last-quarter blog drafts. Either update or remove.

Marketing-only landing pages.AI engines want substantive content. A page that's just a CTA doesn't earn citations.

Internal tooling, admin pages, staging paths. Use robots.txt to disallow them and skip them in llms.txt entirely.

Pretend a reasonable journalist is writing a story about your company. What facts would they need? That's your llms.txt.

Common mistakes#

Five patterns that hurt citation rate:

1. Hosting at the wrong path. Must be /llms.txt at root. Not /docs/llms.txt or /static/llms.txt.

2. Wrong content type. Serve as text/plain or text/markdown. Some frameworks default to text/html which confuses crawlers.

3. Padding with everything. A 10,000-line llms.txt with every page on your site is harder to extract from than a 200-line index that points to the matters-most pages.

4. Letting it go stale.A snapshot of your company from six months ago contradicts what's on the site today. Engines penalize that.

5. Skipping llms-full.txt. The short index alone is fine, but the full version is where citation depth comes from. Ship both.

How to test it#

Four checks before declaring victory:

1

Fetch it yourself

Open yoursite.com/llms.txt in a browser. It should render as plain text. Same for llms-full.txt.

2

Check the content type

Run curl -I against the URL and confirm Content-Type is text/plain or text/markdown.

3

Verify crawlers can reach it

robots.txt should not disallow /llms.txt. Most don't by default, but check.

4

Measure citation lift

Run an AI visibility audit before and 30 to 60 days after publishing. Citation rate should move.

1. Fetch it yourself. Open yoursite.com/llms.txt in a browser. Should render as plain text. Same for llms-full.txt.

2. Check the content type. Use curl -I https://yoursite.com/llms.txt and look at Content-Type. Should be text/plain or text/markdown.

3. Verify crawlers can reach it.robots.txt should not disallow /llms.txt. Most don't by default but check.

4. Test citation lift after 30 days. Run an AI visibility audit before publishing llms.txt, then again 30 to 60 days after. Citation rate should move noticeably if the file is well-structured.

Try it on autopilot

See what good looks like, then copy the pattern.

Wysera publishes its own llms.txt and llms-full.txt as live examples. Borrow the structure, swap the content, ship yours this afternoon.

View Wysera's llms.txt

Frequently asked

What is llms.txt?

llms.txt is a markdown file placed at the root of your domain (yoursite.com/llms.txt) that gives AI crawlers a structured summary of your site. Similar in spirit to robots.txt or sitemap.xml, but optimized for AI engines that prefer plain-text knowledge sources. The standard was proposed by llmstxt.org in late 2024 and adopted by major engines through 2025.

What's the difference between llms.txt and llms-full.txt?

llms.txt is the short index, typically 100 to 300 lines. It lists your main pages with one-line descriptions. llms-full.txt is the full canonical knowledge dump, often 1,000 to 5,000 lines, containing the actual content AI engines should index for citation. Engines fetch llms.txt first to discover what exists, then llms-full.txt for depth.

Where do I host llms.txt?

At the root of your domain: https://yoursite.com/llms.txt. Same convention as robots.txt and sitemap.xml. Serve it as plain text or markdown (text/plain or text/markdown content-type). Most static-site frameworks let you drop it in /public or equivalent.

Do I need both llms.txt and llms-full.txt?

Yes if you want maximum coverage. Some AI engines fetch only the short index; some go to the full version for citation. Shipping both takes minimal extra effort and covers both behaviors.

Will llms.txt actually improve my AI citation rates?

Yes, materially. In testing across multiple sites in 2025-2026, adding well-structured llms.txt and llms-full.txt files lifts AI citation rates 25 to 60% within 60 days. The exact lift depends on how well-structured your existing content is and how competitive your category is.

How often should I update llms.txt?

Update llms.txt whenever you ship a new major page, product, or pricing change. For most teams that's monthly. The file is a snapshot; engines re-fetch periodically (often weekly), so stale snapshots cost you citation accuracy.

More from the blog

See all
Operations

Digital Marketing Channels: The Conversion Rates, and What They Hide

WhatsApp converts at fifteen percent and content at one. Those are not the same number, and choosing a channel on that chart will cost you the year.

Read
Operations

Cold Email Outreach: Subject Lines, Templates, and the Sequence

The template is the part everyone copies. The reply comes from the list, the subject, and knowing when to stop.

Read
AIO and SEO

Your Answer Is on the Page. It Is Not in the HTML.

If curl cannot see your answer, neither can the thing quoting you. Six failures, each one checkable in a minute.

Read
Operations

You Imported a List. Your Sending Domain Is What Is at Risk.

The campaign is not the thing you can lose. The domain is, and it is the same domain your quotes and password resets go out on.

Read
Operations

Your AI Front Desk Booked the Appointment. Your Growth Still Leaked.

Answering the phone is the part of growth that was already nearly solved. The money leaks between booked and referred, where nothing is watching.

Read
Operations

Why Most Small Businesses Fail at Lead Nurturing

Most businesses do not have a lead problem. They have a memory problem, and it costs them the buyers who were never going to move this quarter.

Read
Operations

Why Your Form Gets Abandoned Halfway Through

Every field you add is a question the visitor has to decide is worth answering. Most forms ask for things nobody will use.

Read
Operations

The Handoff Between Marketing and Sales Is Where Leads Die

Marketing says the leads are being wasted. Sales says the leads are rubbish. Both are describing the same broken handoff from opposite ends.

Read
Operations

Lead Scoring Without a Data Team

If nobody can explain why a lead scored 82, the score is decoration. Three signals you can defend beat twenty you cannot.

Read
Operations

How Many Times to Follow Up Before You Stop

One follow-up is not persistence and eleven is not either. The number matters less than the spacing and how you stop.

Read
Operations

The Leads You Should Turn Down

A lead you should have declined does not just lose money. It occupies the weeks you needed for the one you should have won.

Read
Agentic AI

What AI Still Cannot Do in Marketing

Every vendor will tell you what their AI can do. This is the other list, and it is the more useful one.

Read
Agentic AI

AI SDR vs Human SDR: The Honest Comparison

An AI SDR is very good at the half of the job that scales and cannot do the half that closes.

Read
Agentic AI

Why Your AI Emails Sound Like AI, and How to Fix It

It is not the words. It is the shape, the confidence and the total absence of anything only you would know.

Read
Agentic AI

Training an AI on Your Brand Voice, Properly

Friendly but professional tells a model nothing. Twenty of your own emails tells it everything.

Read
Agentic AI

How to Audit What an AI Agent Actually Did

Approving each action is the first control. Knowing what happened across a whole month is a different one, and most teams have neither.

Read
Agentic AI

AI Phone Agents: What They Handle and What They Should Not

The alternative to an AI answering is usually not a person answering. It is voicemail.

Read
Operations

The Enterprise Stack a Twenty-Person Company Bought

Bought for the company you are going to be, paid for by the company you currently are.

Read
Operations

Three Project Tools, One Team: How It Happens

The subscriptions are cheap. The cost is that no one can answer what the company is working on this week.

Read
Operations

The Stack You Built Yourself: Notion, Airtable and Zapier

$150 a month and one person who cannot go on holiday without something breaking.

Read
Operations

What the Free Stack Actually Costs

Free tiers are real and often the right answer. They cap on contacts, sends and bookings, which are the three things that grow if any of it works.

Read
Operations

GoHighLevel Plus the Tools It Was Meant to Replace

You bought the consolidation and kept the stack. That is worth understanding before you switch again.

Read
Operations

One Tool Instead of Pipedrive, Mailchimp and Calendly

Three subscriptions, two of them per seat, and a contact record that exists in all three and agrees in none.

Read
Operations

The Outbound Stack: Apollo, Instantly and Pipedrive, Priced

Prospecting in one tool, sending in a second, and the pipeline in a third. The lead is the same person in all three and nobody can prove it.

Read
Operations

Why Support Stacks Get Expensive: Intercom, Zendesk and Slack

Every one of these is priced per seat, so the bill grows on the day you hire someone to answer more customers.

Read
AIO and SEO

The Content Stack: Ahrefs, Surfer and Jasper, Added Up

The one stack where every line is flat-priced, so a solo operator pays close to what a ten-person team pays.

Read
Operations

How to Increase Case Acceptance in a Dental Practice

A point of case acceptance is usually worth more than a point of anything upstream, because by the time it applies you have already paid for everything else.

Read
Operations

What a Dental Practice Actually Pays for Software in 2026

Practice management, scheduling, recall, forms, reviews, phones. Six vendors for what a patient experiences as one visit, priced out and added up.

Read
Operations

Why Clients Fire Good Lawyers: The Communication Problem

Nobody fires a lawyer for losing a motion they explained. They fire the one who went quiet for six weeks.

Read
Operations

Your Book Is the Best Lead List You Will Ever Buy

The cheapest policy to write is the second one to a household that already trusts you and only bought one.

Read
Operations

The Busy Season Bottleneck Is Not the Work

You are not short of hours. You are waiting on eleven clients for one missing document each, and nobody is chasing them.

Read
Operations

What an Agency Pays Per Client to Run Its Stack

Your tooling bill is not a fixed cost. It is a per-client cost wearing a monthly subscription, and it grows every time you win work.

Read
Operations

The Solo Consultant's Feast and Famine Problem

The famine was created during the feast. What to keep running while you are heads-down on delivery, and what you can safely let stop.

Read
Operations

The 72 Hours After an Event Decide Whether It Paid

You did not lose the deal at the booth. You lost it in the eleven days it took to send the first email.

Read
Operations

What a Restaurant Actually Pays for Software in 2026

Seven vendors for one dinner service, priced out and added up, including the ones that take a percentage instead of a subscription.

Read
Operations

The Patient Recall Playbook: Getting People Back Through the Door

The cheapest patient to book is the one who already trusts you and has quietly stopped coming.

Read
Operations

The Hospice Referral Response Window

A family waiting on an admission is not waiting on a decision. They are usually waiting on a handoff.

Read
Operations

The Law Firm Intake Playbook: Why Firms Lose Cases Before the Consult

The case was won or lost before anyone opened a file. What actually happens between the first call and the signed engagement, and how to fix the part that leaks.

Read
Operations

What a Med Spa Actually Pays for Software in 2026

Booking, CRM, email, SMS, reviews, forms, payments. Seven bills for what a client experiences as one appointment, priced out and added up.

Read
Operations

Speed to Submit: How Healthcare Staffing Agencies Win the Req

The first credible submission usually wins the req. Here is where the hours actually go, and which of them are handoffs rather than work.

Read
AIO and SEO

ListBulb Review: How to Read a Launch Directory Before You Submit

Every directory says it gives dofollow links. The number that matters is the one they do not put on the homepage.

Read
AIO and SEO

Why Your Startup's Domain Rating Matters, and How to Grow It

You did not have a build problem. Nobody knew the thing existed. DR is the least glamorous way to fix that, and it compounds.

Read
AIO and SEO

The Best Distribution Platforms in 2026 (Ranked)

AI made building cheap. It did not make being found cheap. Ten platforms ranked by how much of the distribution problem each one actually solves.

Read
Operations

Marketing for Dental Practices: How to Get More Patients in 2026

Local search, reviews, recall, and case acceptance. What actually fills a dental schedule in 2026, and the six-figure asset already sitting in your practice management system.

Read
AIO and SEO

The Best AI Headline & SEO Headline Analyzer Tools in 2026

Free AI scorers, emotional-value checkers, and SEO title tools. Six headline analyzers ranked, with an honest pick and a deal-breaker for each.

Read
Operations

The Best Drift Alternatives in 2026 (Conversational Sales & Follow-up)

Live chat, conversational marketing, and the CRM-plus-follow-up approach. Six Drift alternatives ranked, with an honest pick and a deal-breaker for each.

Read
Operations

Marketing for Med Spas: How to Get More Clients in 2026

Before-and-afters, local search, reviews, and rebooking win. The channels that actually fill a med spa's calendar, ranked, with a 90-day plan a small team can run.

Read
Operations

Marketing for Insurance Agents: How to Get More Clients in 2026

Referrals, speed-to-lead, and your existing book win, not cold leads. The channels that actually grow an insurance agency, ranked, with a 90-day plan.

Read
Operations

Marketing for Accountants: How Solo CPAs Actually Get Clients in 2026

Referrals, local search, and trust win, not viral content. The channels that actually bring in accounting clients, ranked, with a 90-day plan a solo firm can run.

Read
Operations

Replace Calendly, Typeform and Linktree With One Subscription (2026)

Three small subscriptions that quietly become a real bill. The constraint that matters is not the price, it is Typeform's response cap.

Read
Operations

GoHighLevel White-Label Alternatives: An Honest Answer for Agencies

Most agencies asking for a white-label alternative do not resell software. That changes the answer completely.

Read
Agentic AI

AI Tools That Can Actually Run Marketing for a One-Person Business

The difference is not writing quality. It is whether the tool finishes the job and who approves it before it sends.

Read
Operations

One Tool Instead of HubSpot, Mailchimp and Calendly: The Honest Math

Three tools everyone tells you to consolidate cost $43 a month together. The case for switching is the seams and the growth cliff, not the bill.

Read
Operations

AI Tools That Help Small Businesses Respond to Leads Faster (2026)

Speed to lead is the cheapest advantage a small business has, and the one most of them lose overnight and at weekends. Eight tools, honestly ranked by what they automate.

Read
Operations

The Best CRM for Startups in 2026 (Ranked for Founders & Lean Teams)

Founder-led sales, limited runway, and a need for speed. Eight CRMs across four shapes, with an honest pick and a deal-breaker for each startup stage.

Read
Operations

The Best CRM for Small Business in 2026 (Ranked for Leads & Follow-ups)

Managing leads, follow-ups, and automation without the complexity. Nine CRMs across three shapes, with an honest pick and a deal-breaker for each.

Read
Operations

The Best AI Social Media Management Tools in 2026 (Ranked)

AI that writes the captions, plans the calendar, and schedules the posts. Ten tools across three shapes, with an honest pick for each.

Read
Operations

The Best CRM for Med Spas in 2026 (Ranked + Honest Verdict)

Bookings, no-shows, memberships, and marketing in one place. Five picks, one honest verdict for each kind of med spa.

Read
Operations

The Best CRM for Accountants and CPA Firms in 2026 (Ranked)

Client onboarding, document collection, and tax-season workflows in one place. Five picks, one honest verdict for each kind of firm.

Read
Operations

The Best CRM for Insurance Agents in 2026 (Ranked + Honest Verdict)

Speed-to-lead, quote follow-up, renewals, and cross-sell in one place. Five picks, one honest verdict for each kind of agency.

Read
Operations

The Best All-in-One Marketing & Sales Platforms for 2026 (Ranked)

One platform for marketing, sales, and ops. Six contenders, one honest pick for each kind of team.

Read
AIO and SEO

Best AI Tool for Content & SEO for One-Person Businesses

One person can't run five tools. Here's the all-in-one that actually fits.

Read
Operations

How to Consolidate Your GTM Stack in 2026: A Practical Playbook

Ten logins, one bill that climbs, and you're the integration. Here's the fix.

Read
Operations

The 12 Best AI CRMs for SMBs in 2026 (Ranked + Honest Verdict)

Twelve picks. One honest recommendation for each kind of team.

Read
Agentic AI

Best Agentic AI Tools in 2026: Builders, Platforms, and Products

Three categories, twelve picks, one clear way to choose.

Read
AIO and SEO

What is AEO? Answer Engine Optimization Explained (2026)

Answer Engine Optimization, in plain English, with five things to ship this week.

Read
AIO and SEO

AI Visibility Tracking: How to Monitor Your Brand in ChatGPT, Claude, and Perplexity

Rank tracking moved to the chat window. Here's how to watch it.

Read
Operations

How to Replace Salesforce in 2026: A Practical Migration Guide

Per-seat is a tax. Here is the honest migration playbook.

Read
Agentic AI

What is Agentic AI? The Complete Guide for 2026

From chatbot to agent: what changed, what's coming, what to ship.

Read
AIO and SEO

AIO vs SEO in 2026: How to Rank in ChatGPT, Claude, and Perplexity

Search moved. Your brand must move with it.

Read
Operations

How to Replace HubSpot in 2026: A Practical Migration Guide

The honest playbook for SMBs who refuse to keep paying.

Read
Agentic AI

What Is Wysera? The All-in-One Agentic Platform for Marketing, Sales & Operations

One agentic brain for marketing, sales, and ops, what it is and how it works.

Read
AIO and SEO

How to Rank in ChatGPT (2026): The Practical AEO Playbook

Seven concrete moves to get cited inside AI answers, and how to measure it.

Read
Operations

The Best Marketing Automation Tools in 2026 (Ranked + Honest Verdict)

Ten picks across three categories, one honest recommendation for each team.

Read
Agentic AI

AI Agents for Small Business in 2026: What They Do and Where to Start

What AI agents really do for a lean team, and the safe place to start.

Read