What is LLMs.txt?

Full format guide & specification for the new AI search standard

LLMs.txt is a new web standard that helps AI models understand your website. It's a markdown file hosted at your domain root (e.g., example.com/llms.txt) that provides a structured overview of your business and key pages.

Why llms.txt Matters

As AI search engines replace traditional search, websites need a new way to communicate with machines. llms.txt fills that gap. It tells AI models:

File Structure

An llms.txt file follows a simple markdown structure with three main sections:

# Site Name

## Overview
A concise 2-3 sentence description of what the site offers and who it serves.

## Sections

### Section Name
- [Page Title](URL) — Brief description of the page content
- [Another Page](URL) — Description of what visitors find here

### Another Section
- [Page Title](URL) — Description

## Notes
Optional additional context, contact details, or instructions for AI models.

Required Elements

H1 — Site Name

The first line should be a single # heading with your site or business name.

## Overview

A 2-3 sentence summary of your site's purpose, target audience, and core offering. Keep it factual and specific.

## Sections

Group related pages under H3 headings. Each page gets a markdown link with a 1-sentence description.

Best Practices

llms.txt vs robots.txt vs sitemap.xml

FilePurposeAudience
robots.txtTells crawlers which pages to indexSearch engine bots
sitemap.xmlLists all pages with priorities and datesSearch engine bots
llms.txtDescribes what pages contain and why they matterAI language models

You need all three. They serve different audiences and different purposes.

Where to Host Your File

Place llms.txt at the root of your domain:

https://yourdomain.com/llms.txt

Most AI crawlers (ChatGPT, Claude, Perplexity, Gemini) check for this file automatically when they first visit your domain.

Ready to generate yours?

Use our free generator to create a properly structured llms.txt file in seconds.

Generate Your LLMs.txt