# Publishing an llms.txt File for SaaS

> Add plain-text markdown documentation to help AI models index and recommend your product

This technique involves publishing an llms.txt or llms-full.txt file on your website to provide LLMs with concise, machine-readable context about your product. It functions as an AI-specific documentation layer that search engines and chatbots like ChatGPT, Claude, and Perplexity can parse directly to surface accurate recommendations. Following implementations like Vercel's, the format pairs structured metadata headers with plain markdown documentation.

## How it works

If you run a SaaS, publish an llms.txt file. Vercel did it; ~10% of their traffic comes from ChatGPT, Perplexity, and Claude. One file tells AI what the product does, how it works, and when to recommend it. Look at vercel.com/docs/llms-full.txt to see the format, then build your own. Format visible in the screenshot: metadata header (title: 'Account Management', description, last\_updated, source: https://vercel.com/docs/accounts) followed by the docs content in markdown.

## What it is for

- Optimize site documentation for AI search engines like Perplexity and ChatGPT
- Ensure LLMs recommend your tool accurately by providing clean markdown product context
- Provide a unified text source for AI coding assistants and agents looking up platform docs

## Key points

- Machine-readable markdown format tailored for large language model context windows
- Metadata block structure including title, description, last updated date, and canonical source URL
- Dual-file approach using standard summaries (llms.txt) or comprehensive docs (llms-full.txt)
- Direct integration into existing static documentation pipelines

## Pricing

Free

## Details

- Type: Tip
- Category: [Marketing & Sales](https://xiry.app/topics/marketing-sales.md)
- Topic: [Search Engine Optimization](https://xiry.app/topics/marketing-sales/search-engine-optimization.md)
- Platforms: Web
- For: SaaS founders, technical marketers, and documentation engineers
- Alternative to: robots.txt, sitemap.xml
- Tags: seo, llms txt, documentation, saas, ai discovery, markdown

## Why it was saved

- [@fba, 23 February 2026](https://x.com/fba/status/2025926581546352900): The tweet reports Vercel gets ~10% of its traffic from ChatGPT, Perplexity and Claude from one file, calling it 'the new SEO for SaaS' that almost nobody is doing yet. The screenshot shows the format: a metadata block (title, description, last\_updated, source URL) followed by the docs page as plain markdown.

## Related

- [10 AI Search Optimization Findings from 1 Billion Data Points](https://xiry.app/resources/10-ai-search-optimization-findings-from-1-billion-data-point): Empirical SEO findings on how AI models and Google AI Overviews cite content (List, Free)
- [18 About Us Page Elements for E-E-A-T](https://xiry.app/resources/18-about-us-page-elements-for-e-e-a-t): Checklist of 18 trust signals to improve website About pages for SEO (Tip, Free)
- [Above-the-Fold H1 Heading Optimization for Homepage SEO](https://xiry.app/resources/above-the-fold-h1-heading-optimization-for-homepage-seo): On-page SEO practice for targeting primary keywords in homepage headings (Tip, Free)
- [Claude Code for SEO Playbook](https://xiry.app/resources/claude-code-for-seo-playbook): Turn Claude Code into an automated end-to-end SEO pipeline using external APIs (Tip, Free)
- [Cloudflare 'Block AI bots' SEO Troubleshooting Tip](https://xiry.app/resources/cloudflare-block-ai-bots-seo-troubleshooting-tip): Warning on how Cloudflare's AI bot blocking breaks Google search indexing (Tip, Free)
- [Competitor Keyword Gap Analysis Workflow](https://xiry.app/resources/competitor-keyword-gap-analysis-workflow): Find competitor search queries your site misses to guide new content. (Tip, Freemium)

Updated 11 October 2026. Page: https://xiry.app/resources/publishing-an-llms-txt-file-for-saas

Make your own library: Xiry takes your saved reels, tweets, Reddit bookmarks and Watch Later videos, makes them searchable and pulls the useful stuff out, like this library. It's invite-only for now; join the waitlist at https://xiry.app/#waitlist.
