llms.txt: What It Is and How to Write One

Blog hero image featuring a laptop displaying an llms.txt file, an AI assistant robot, and AI platform icons, with the headline “Get Your Website Ready for AI” and a guide to setting up llms.txt on WordPress.

There’s a new file showing up in website root directories, and it’s designed specifically for AI. It’s called llms.txt, and it works like a README for language models. Instead of telling search engine crawlers what they can and can’t access (that’s robots.txt), llms.txt tells AI systems what your site is about, what content matters most, and how to represent your brand accurately.

The concept is straightforward: give AI bots a structured summary of your site so they don’t have to guess. Here’s everything you need to know about creating one. GEO Guide

What llms.txt Actually Does

When an AI crawler visits your site, it processes your pages the same way a human might skim a book: it reads headings, pulls key passages, and tries to figure out what the site covers. The problem is that most websites aren’t organized for AI comprehension. Navigation menus, sidebar widgets, footer links, and promotional banners all add noise.

llms.txt cuts through that noise. It’s a plain text file (or Markdown file) placed at yoursite.com/llms.txt that provides AI systems with a clean, structured overview of your site. It typically includes your company name, a brief description, your core topic areas, key pages, and links to your most important content.

The file follows a proposed standard originally described by Jeremy Howard (co-founder of fast.ai) in late 2024. It’s not yet an official web standard like robots.txt, but adoption is growing. Companies like Anthropic, Cloudflare, and several major publishers have already added llms.txt files to their sites.

llms.txt vs robots.txt: What’s the Difference?

These two files serve completely different purposes. Here’s how they compare:

Featurerobots.txtllms.txt
PurposeControls crawler access (allow/block)Provides site context for AI understanding
AudienceSearch engine crawlersAI language models
FormatDirective-based (User-agent, Disallow)Markdown with headings and links
Locationyoursite.com/robots.txtyoursite.com/llms.txt
ComplianceWidely respected web standardEmerging convention, voluntary
Effect if missingCrawlers assume full accessAI bots rely on page-level signals only

They’re complementary, not competing. You should have both. robots.txt manages access control. llms.txt manages comprehension.

llms.txt Template and Example

Here’s a template you can adapt for your own site. The format uses Markdown-style headings and bullet points:

# Your Company Name

> Brief one-line description of what your company does.

## About

Your Company Name is a [type of business] based in [location].
We specialize in [core service 1], [core service 2], and [core service 3].
Founded in [year]. [Employee count] employees.

## Key Pages

– [Homepage](https://yoursite.com/)
– [About Us](https://yoursite.com/about/)
– [Services](https://yoursite.com/services/)
– [Blog](https://yoursite.com/blog/)
– [Contact](https://yoursite.com/contact/)

## Core Topics

– Topic Area 1
– Topic Area 2
– Topic Area 3

## Recent Content

– [Article Title 1](https://yoursite.com/blog/article-1/)
– [Article Title 2](https://yoursite.com/blog/article-2/)
– [Article Title 3](https://yoursite.com/blog/article-3/)

## Contact

– Email: hello@yoursite.com
– Phone: (555) 123-4567
– Address: 123 Main St, City, State ZIP

Keep the file under 2,000 words. AI models process shorter, well-organized documents more reliably than long ones. Focus on the information that matters most for accurate brand representation.

What a Real llms.txt Looks Like

A digital marketing agency’s llms.txt might look like this:

# CROSS Digital Marketing Agency

> Full-service digital marketing agency in Burlington, MA
> specializing in SEO, paid media, and AI search optimization.

## About

CROSS Digital Marketing Agency helps B2B and B2C companies
grow through search engine optimization, paid advertising,
content marketing, and generative engine optimization (GEO).
Based in Burlington, Massachusetts, serving clients across
the US since 2015.

## Key Pages

– [Homepage](https://crossdma.com/)
– [SEO Services](https://crossdma.com/seo-services/)
– [GEO Services](https://crossdma.com/generative-engine-optimization/)
– [Blog](https://crossdma.com/blog/)

## Core Topics

– Search Engine Optimization (SEO)
– Generative Engine Optimization (GEO)
– Paid Search and Social Advertising
– Content Marketing Strategy

How to Add llms.txt to WordPress

WordPress doesn’t have a built-in feature for llms.txt yet, but adding one takes about five minutes. Here are three methods, from simplest to most flexible:

Method 1: Upload via FTP or File Manager

Create a plain text file named llms.txt on your computer using the template above. Upload it to your WordPress site’s root directory (the same folder that contains wp-config.php) using FTP, SFTP, or your hosting provider’s file manager. Visit yoursite.com/llms.txt to confirm it loads.

Method 2: Use a Plugin

Several WordPress plugins now support llms.txt, including LLMs.txt for WordPress (free) and some versions of Rank Math and Yoast. These plugins let you edit the file content directly from the WordPress dashboard and handle the URL routing automatically.

Method 3: Custom Code Snippet

If you’re comfortable with code, add a rewrite rule to your theme’s functions.php file or use a code snippets plugin. This approach gives you the most control and lets you dynamically generate the file content from your site’s actual pages and posts.

Whichever method you choose, test the final URL in your browser. The file should load as plain text. If you see a 404 error, check your permalink settings (Settings > Permalinks > Save Changes) to flush rewrite rules.

Does llms.txt Actually Help? An Honest Assessment

Here’s the reality: llms.txt is a good practice, but it won’t make or break your AI search visibility. No AI engine has publicly confirmed that it reads llms.txt files as part of its retrieval process. The standard is still emerging, and adoption among AI companies varies.

That said, there are solid reasons to create one anyway. It takes five minutes. It costs nothing. And as AI crawlers get more sophisticated, having a clean machine-readable summary of your site puts you ahead of competitors who don’t have one. It’s the same logic that drove early robots.txt adoption in the 1990s: not everyone respected it right away, but it became essential.

The sites most likely to benefit are those with complex architectures where AI crawlers might struggle to identify core content. If you have a simple five-page site, the benefit is minimal. If you have hundreds of pages across multiple service lines, an llms.txt file gives AI models a clear map of what matters.

How to Get Your Business Mentioned in ChatGPT

Bonus: llms-full.txt

Some sites also create an llms-full.txt file that includes more detailed content, full page descriptions, or even complete article text. The idea is that llms.txt serves as a summary (like a table of contents), while llms-full.txt provides the complete reference. This is optional. Start with llms.txt. Add the extended version later if you see traction.

Frequently Asked Questions

Related Guides

CROSS Digital
Marketing Services

We’re the team you’ve been looking for

We’d love to hear about your project and learn how CROSS Digital can partner with you.

First Name
Last Name
Email
Message
The form has been submitted successfully!
There has been some error while submitting the form. Please verify all form fields again.
Scroll to Top