An llms.txt file is a plain-text, Markdown-formatted file placed at your website's root that tells AI models like ChatGPT, Claude, and Gemini which content to prioritize when generating answers about your brand. It acts as a machine-readable summary—similar to robots.txt but designed for AI comprehension rather than search engine crawling.
With 51% of consumers changing research habits due to GenAI, most brands have no idea how AI platforms describe them, or whether they're being recommended at all. This guide covers the llms.txt specification, step-by-step implementation for WordPress, Shopify, and static sites, real examples for different business types, and the common mistakes that prevent your file from working.
What Is llms.txt and What Does It Do
An llms.txt file is a plain-text, Markdown-formatted file placed at your website's root (e.g., yourdomain.com/llms.txt) that acts as a guide for AI models. It signals which content to prioritize, index, or use when generating answers about your brand. Think of it as a machine-readable summary designed for AI comprehension rather than search engine indexing.
The file serves a fundamentally different purpose than robots.txt. While robots.txt tells crawlers what to block or allow, llms.txt tells AI systems what to understand and emphasize. When ChatGPT, Claude, or Gemini encounters your site, llms.txt provides structured context for describing, recommending, and citing your brand accurately.
Here's what llms.txt signals to AI crawlers like GPTBot and ClaudeBot:
Content priority: Which pages AI models focus on when learning about your brand
Site structure: How your documentation, products, or resources are organized
Brand context: Accurate descriptions AI can reference when recommending you to users
Without llms.txt, AI models rely on whatever they can scrape—often outdated cached data, third-party descriptions, or incomplete information that leads to hallucinations about your brand.
The llms.txt Standard Format and Specification
The llms.txt specification originated from llmstxt.org as a proposed standard for helping AI systems understand websites at inference time. The format uses Markdown because LLMs parse it easily, and it provides structure without the complexity of HTML or JSON.
Required Elements of an llms.txt File
Every llms.txt file follows a consistent structure:
H1 Title: The name of your site or project (exactly one required)
Blockquote summary: A
>description explaining your site's purpose in one to two sentencesH2 sections: Categorized groups of links using
##headers (e.g., ## Documentation, ## Products)Markdown links: URLs pointing to key pages with brief descriptions in the format
[Page Title](URL): Description
File Encoding and MIME Type Requirements
Your llms.txt file requires UTF-8 encoding so AI crawlers can read it correctly. The MIME type can be either text/plain or text/markdown. One critical requirement: the file cannot sit behind authentication or a paywall, since AI crawlers won't be able to access protected content.
How llms.txt Differs from robots.txt
The distinction matters because the two files serve entirely different audiences:
Aspect | robots.txt | llms.txt |
|---|---|---|
Purpose | Controls search engine crawling | Guides AI model comprehension |
Format | Plain text directives | Markdown with structured content |
Target | Googlebot, Bingbot | GPTBot, ClaudeBot, AI crawlers |
Action | Block or allow crawling | Prioritize content for AI training |
What Is llms-full.txt and When to Use It
The llms-full.txt file is an optional companion that contains the complete text of all your documentation—not just links to it. While llms.txt provides a navigation overview, llms-full.txt gives AI models the actual content for in-depth comprehension.
If you want AI to quickly understand your site structure and find relevant pages, llms.txt is sufficient. If you want AI to have deep, contextual knowledge of your entire documentation—useful for technical products or complex services—llms-full.txt provides that depth.
Why llms.txt Matters for AI Search Visibility
Over a third of consumers now start their searches with AI instead of Google, and ChatGPT alone crossed 900 million weekly users in 2026. When users ask "What's the best project management tool?" or "Which CRM works for small teams?", the AI's answer determines who gets considered—and who gets ignored.
Benefits of Implementing llms.txt
Reduced hallucinations: AI models get accurate information directly from your source rather than guessing
Better recommendations: Structured content helps AI understand and cite you correctly in relevant queries
Competitive edge: Only about 10% of websites have implemented llms.txt, creating a significant early-mover advantage
Control over narrative: You decide which content AI prioritizes when describing your brand
Risks of Not Having an llms.txt File
Without llms.txt, you're leaving AI interpretation to chance. AI may rely on outdated cached data or third-party sources that misrepresent you. Competitors with llms.txt may appear more authoritative in AI-generated answers. Your brand description in AI responses may be inaccurate, incomplete, or missing entirely.
Who Benefits Most from llms.txt
Certain business types see outsized returns from implementation:
SaaS companies: With product documentation and feature pages that AI can reference
Ecommerce brands: With product catalogs and category pages buyers ask about
Content publishers: With articles, guides, and resources on specific topics
API providers: With technical documentation developers query AI about
Does llms.txt Actually Work and Do AI Platforms Use It
Here's the honest answer: llms.txt is a proposed standard, not a universally adopted protocol. Adoption varies by platform, and despite over 844,000 websites implementing the file, no AI company has publicly committed to always reading and prioritizing llms.txt content.
What ChatGPT Claude and Perplexity Say About llms.txt
Anthropic (Claude's creator) has shown support through documentation references, and the standard has gained traction in developer communities. However, implementing llms.txt doesn't guarantee your content gets crawled or prioritized—it improves the odds and the quality of comprehension when AI does access your site.
Companies Already Using llms.txt
Notable early adopters include Supabase, Cursor, Mintlify, and GitBook—primarily developer-focused and documentation-heavy companies leading adoption. The pattern makes sense: organizations already thinking in terms of structured, machine-readable content were first to implement.
How to Create an llms.txt File
Creating your first llms.txt file takes about 15 minutes. You don't need special tools—any text editor works.
1. Create Your File with Correct Encoding
Open VS Code, Notepad++, or even basic Notepad. Create a new file and save it as llms.txt (lowercase, exactly). Ensure your editor saves with UTF-8 encoding—most modern editors do this by default.
2. Add Your H1 Title and Blockquote Summary
Start with your company or project name as an H1, followed by a blockquote summary:
# Your Company Name
> A brief description of what your company does and who it serves.
Keep the summary factual and concise—AI models use this as their primary context about you.
3. Organize Content into Markdown Sections
Use H2 headers (##) to create logical categories. Common section names include ## Documentation, ## Products, ## Resources, and ## About.
4. Add URLs to Your Most Important Pages
Under each section, add Markdown links with brief descriptions:
## Products
- [Product Name](https://yourdomain.com/product): One-sentence description of what it does
Prioritize pages you want AI to understand and cite when recommending solutions in your category.
5. Save and Upload to Your Root Domain
Upload the file so it's accessible at yourdomain.com/llms.txt. Verify by visiting that URL directly in your browser—you'll see the raw Markdown content if everything is working.
Where to Place Your llms.txt File on Your Website
Placement is non-negotiable: your llms.txt file goes at the root domain. That means https://yourdomain.com/llms.txt—not in a subdirectory, not in a folder, not anywhere else.
If you maintain a separate documentation domain (e.g., docs.yourdomain.com), place a separate llms.txt file there as well. Each domain that AI might crawl benefits from its own llms.txt.
Tip: After uploading, verify placement by visiting the URL directly. If you see your Markdown content, you're set. If you see a 404 or redirect, troubleshoot your file location.
llms.txt Setup for WordPress Shopify and Static Sites
Implementation varies by platform, but the goal remains the same: get a plain text file accessible at your root URL.
WordPress llms.txt Setup
Two options work well. You can upload the file directly to your root directory via FTP or SFTP. Alternatively, plugins exist that create and manage the file for you. Either way, verify that your permalink settings don't interfere with file access.
Shopify llms.txt Setup
Shopify restricts root file uploads, which complicates implementation. Workarounds include creating a page with raw content or using a redirect app to serve the file. Some themes allow file uploads that can work around this limitation.
Static Website llms.txt Setup
Static sites have the easiest implementation. Simply place llms.txt in your public or root build folder. This works seamlessly with GitHub Pages, Netlify, Vercel, and similar platforms.
What Content to Include in Your llms.txt File
Not every page on your site belongs in llms.txt. The goal is curation, not comprehensiveness.
Pages and URLs to Prioritize
Focus on content that shapes how AI understands and recommends your brand:
Product/service pages: Core offerings AI references when recommending solutions
Documentation: Technical guides and how-tos that establish expertise
About page: Company context and positioning
FAQ: Common questions with accurate answers
Pricing: If you want AI to cite pricing information accurately
Content to Exclude from llms.txt
Leave out pages that don't help AI understand your value: login and authentication pages, internal tools or admin sections, duplicate content or thin pages, and content you don't want AI to surface.
llms.txt Examples for SaaS Ecommerce and Content Sites
Seeing complete examples helps clarify the format.
SaaS and Software Company llms.txt Example
# Acme Software
> Acme Software provides project management tools for remote teams.
## Products
- [Project Tracker](https://acme.com/tracker): Real-time project tracking with Gantt charts
- [Team Chat](https://acme.com/chat): Integrated messaging for project-based communication
## Documentation
- [Getting Started](https://acme.com/docs/start): Quick setup guide for new users
- [API Reference](https://acme.com/docs/api): Complete API documentation for developers
Ecommerce and Online Store llms.txt Example
# Green Goods Co
> Green Goods Co sells sustainable home products, from bamboo kitchenware to organic bedding.
## Product Categories
- [Kitchen](https://greengoods.com/kitchen): Bamboo utensils, compostable storage, eco-friendly cookware
- [Bedroom](https://greengoods.com/bedroom): Organic cotton sheets, natural latex pillows
## Policies
- [Shipping](https://greengoods.com/shipping): Free shipping on orders over $50
- [Returns](https://greengoods.com/returns): 30-day hassle-free returns
llms.txt Best Practices and Common Mistakes to Avoid
The difference between an effective llms.txt and one that fails often comes down to avoidable errors.
Technical Mistakes That Break Your llms.txt
Wrong file location: Placing in a subdirectory instead of root
Incorrect encoding: Using non-UTF-8 encoding that AI crawlers can't parse
Authentication required: File behind login or paywall blocks crawler access
404 errors: Broken links within the file undermine credibility
Content Mistakes That Reduce Effectiveness
Missing required elements: No H1 title or blockquote summary
Vague descriptions: Generic text that doesn't differentiate your brand
Too much content: Overwhelming the file with every page on your site
Marketing fluff: Promotional language instead of factual descriptions
How to Test and Validate Your llms.txt File
After creating your file, verification takes just a few minutes.
Start with browser testing: navigate directly to yourdomain.com/llms.txt. You'll see raw Markdown content if everything is working—not a 404 or redirect. For command-line verification, run curl https://yourdomain.com/llms.txt and confirm the response contains your content. An LLM readiness analysis can evaluate your broader site optimization for AI crawlers beyond the file itself.
To monitor whether AI crawlers actually access your file, check your server logs for requests from user agents containing "GPTBot" or "ClaudeBot" to the /llms.txt path. Tools like GrowthOS's AI crawler analytics can show this activity without manual log parsing.
How llms.txt Fits into Your AI Search Optimization Strategy
Here's what llms.txt won't do: guarantee that ChatGPT recommends you tomorrow. The file is one tactic within a larger AI visibility approach—an important foundation, but not a complete solution.
AI visibility depends on multiple factors: citations from authoritative sources, mentions across the web, content quality, and authority signals that AI models weigh when deciding who to recommend. llms.txt helps with crawling and comprehension, but measuring whether it's working requires tracking your actual presence in AI-generated answers.
Get My Free AI Visibility Report to see where your brand currently stands across ChatGPT, Claude, Gemini, and Perplexity—and identify the gaps your llms.txt implementation can help close.
Frequently Asked Questions About llms.txt
How often should I update my llms.txt file?
Update your llms.txt whenever you add, remove, or significantly change important pages on your site. Monthly reviews work well for most websites—frequent enough to stay current, not so frequent that it becomes a burden.
Does llms.txt replace my robots.txt file?
No. The two files serve different purposes and different audiences. robots.txt controls search engine crawling; llms.txt guides AI model comprehension. Maintain both files.
Can I block AI crawlers in robots.txt while using llms.txt?
Technically yes, though this creates a contradiction. Blocking GPTBot or ClaudeBot in robots.txt may prevent them from accessing your llms.txt file entirely, defeating its purpose.
Will implementing llms.txt guarantee my brand gets recommended by ChatGPT?
No. llms.txt improves AI comprehension of your site but doesn't guarantee recommendations. AI visibility depends on multiple factors including authority, citations, and content quality across the web.
How do I check if GPTBot or ClaudeBot is reading my llms.txt file?
Check your server access logs for requests from user agents containing "GPTBot" or "ClaudeBot" to the /llms.txt path. AI crawler analytics tools can automate this monitoring across platforms.
Is llms.txt required for appearing in AI search results?
No. Many brands appear in AI answers without llms.txt. However, implementing the file gives AI models clearer, more accurate information about your brand to work with—reducing the risk of hallucinations or misrepresentation.
Newsletter
Enjoyed this? Get the next one.
SaaS organic growth field notes, straight to your inbox. No spam, unsubscribe anytime.
No spam. Unsubscribe anytime.
