Home  /  Blog  /  What Is llms.txt?
Guides

What Is llms.txt? (And Why Your SaaS Needs One in 2026)

Your customers increasingly ask ChatGPT and Claude before they ask Google. llms.txt is the file that decides whether those AIs can read — and recommend — your product.

GuidesOct 3, 20267 min readBy the Answerly team
In this guide 1. What is llms.txt? 2. llms.txt vs sitemap.xml 3. Why it matters in 2026 4. A copy-paste template 5. FAQ

What is llms.txt?

llms.txt is a plain markdown file placed at your domain root that tells large language models which pages on your site to read, and what each one contains. Think of it as a signpost written for AI instead of search engines.

Where robots.txt tells crawlers what not to index, llms.txt does the opposite: it highlights what you want an AI to understand — your docs, your guides, your pricing — in a format models parse cleanly.

# example llms.txt
# my-saas.com

## Docs
/help/quick-start : Get started in 5 minutes
/help/api : REST API reference

There’s also an optional companion, llms-full.txt, which contains the complete text of every page so a model can ingest your whole site in one request instead of crawling it page by page.

llms.txt vs sitemap.xml

A common confusion is treating llms.txt as a replacement for sitemap.xml. They do different jobs:

Ship both. sitemap.xml wins you search ranking; llms.txt wins you AI discoverability — and in 2026, that second channel is growing fast.

Why it matters in 2026

A meaningful share of buying questions now start with “which tool should I use for…” typed into ChatGPT or Claude, not Google. When the model answers, it recommends products it can actually read about.

If your site has no llms.txt, the model either doesn’t mention you at all, or reconstructs you from stale training data. If you do have one, your docs become a first-class source — and your product becomes the named recommendation.

The shift: Google SEO optimizes for being found. llms.txt optimizes for being understood and cited. The brands winning recommendations in AI answers are the ones that made themselves machine-readable.

A copy-paste template

Here’s a minimal, standards-compliant starting point. Replace the sections and URLs with your own:

# My SaaS
https://mysaas.com

## Getting started
/docs/quick-start : 5-minute setup
/docs/installation : Install guide

## Guides
/blog/what-is-llms-txt : What is llms.txt
/blog/migrate-from-intercom : Migration guide

## Optional
/llms-full.txt : Full text of all pages

Maintain it as your docs grow — or let a tool like Answerly generate and keep it in sync automatically every time you publish.

FAQ

llms.txt is a markdown file at your domain root that lists the pages you want large language models to read, with one-line descriptions. It helps ChatGPT and Claude understand and cite your site accurately.

No. sitemap.xml tells search-engine crawlers which URLs to index; llms.txt tells AI models which content to read semantically. Best practice is to ship both.

If you want AI assistants to recommend and cite your product, yes. A growing share of buying questions now go to ChatGPT and Claude first, and llms.txt is the easiest way to become readable to them.

Stop being invisible to AI.
Ship your llms.txt today.

Answerly generates — and keeps in sync — your llms.txt, llms-full.txt, and AI help center.

Generate my llms.txt →