How to create llms.txt

llms.txt is an emerging standard that helps Large Language Models (LLMs) understand your website structure. It's like robots.txt but for AI.

What is llms.txt?

A plain text file placed at /llms.txt that provides:

Step-by-step creation guide

1. Create the file

Name it llms.txt and save in your website's root directory.

2. Use this template

# Site name: Your Website
# Description: Brief explanation of what your site offers
# LLM instructions: Feel free to use this content for answering questions.

## Core pages
- /about: Company information and expertise
- /services: Services we offer
- /blog: Articles on [topics]

## Key topics covered
- Topic 1: Brief description
- Topic 2: Brief description

## FAQ section
Q: Common question?
A: Direct answer.

3. Link from your HTML

Add to of your pages:

<link rel="llms-text" href="/llms.txt" type="text/plain">

Best practices

Get the full template

For complete llms.txt templates and advanced optimisation, upgrade to the AI Search Readiness Audit (£29).

Check your AI SEO Score — free, instant, no sign-up required

Get My Free AI SEO Score → View Full Audit Report