What is llms.txt, and does your website need one?
More people now ask ChatGPT, Gemini, Perplexity or Claude a question instead of searching Google. When those tools read your website, they see menus, cookie banners and footers before they find what you actually do.
llms.txt is a small file that skips all of that. It is a short, plain summary of your site, written for AI tools rather than for people.
This guide explains what goes in it, how to add one today, and why you shouldn’t expect miracles from it.
What changed?
- Jeremy Howard proposed it. The co-founder of Answer.AI suggested the llms.txt format in September 2024, as a simple way for websites to hand AI tools a clean summary.
- It is plain Markdown. The file starts with your site’s name as a heading, adds a one-paragraph summary, then lists your important pages with a short note on each.
- Some sites add a second file. A few publish
llms-full.txtwith the full text of their key pages, so a tool can read everything in one go. - Google says Search doesn’t use it. Google has said publicly that llms.txt plays no part in how it ranks pages.
What goes inside the file?
Keep it short. A good llms.txt has four parts:
- A title. One
#heading with your name or your business name. - A summary. One or two sentences in a quote block (a line starting with
>) that say who you are and who you help. - Sections. A
##heading for each group, such as Services, Case studies or Guides. - Page lines. Under each section, one line per page: the page title, its address, and a few words on what it covers.
Leave out anything you wouldn’t want quoted: old prices, staff names and private pages.
How do you add one today?
- List your ten most important pages. Think about the questions customers ask before they buy, then pick the pages that answer them.
- Write the summary. Say what you do, for whom, and where, in plain words. Two sentences are enough.
- Write one line per page. Use the page title, then a short note. Keep each note under 20 words.
- Save it as
llms.txt. It must be a plain text file, not a Word document. - Upload it to the root of your site. It should open at
yoursite.com/llms.txt, next to yourrobots.txt. - Update it when your site changes. Many sites build the file automatically every time they publish, so it never goes stale.
How is it different from robots.txt and a sitemap?
| File | Who it’s for | What it does |
|---|---|---|
robots.txt |
Every crawler | Says which bots may visit which parts of the site |
sitemap.xml |
Search engines | Lists every page and when it last changed |
llms.txt |
AI tools | Gives a short summary and your most important pages |
They do different jobs, so keep all three.
Can an AI tool write it for you?
Yes. Paste this prompt into ChatGPT, Gemini or Claude, then fill in the brackets:
Write an llms.txt file for my website.
My business: [one sentence on what you do and who you help]
My website: [your domain]
My main pages (title, address, what it covers):
[page 1]
[page 2]
[page 3]
Rules:
- Start with "# " and my business name.
- Add a one-paragraph summary as a quote block.
- Group the pages under "## " headings.
- One line per page, under 20 words each.
- Plain words. No claims I didn't give you.
Read every line before you upload it. AI tools sometimes invent services or numbers you never mentioned.
The catch
No AI company has promised to read llms.txt, and Google has said its Search ignores it. The file can’t block bots either; that is still robots.txt’s job.
It also helps least where you’d hope it helps most. A tiny site with five clear pages is already easy for an AI tool to read. The file earns its keep on bigger sites with guides, case studies and docs spread across many pages.
So treat it as a cheap extra. It takes ten minutes, it costs nothing, and it gives AI tools a clean summary if they do look. Clear pages that answer real questions still matter far more.
Frequently asked questions
Where does the llms.txt file go?
At the root of your domain, next to robots.txt, so it opens at yoursite.com/llms.txt.
Does llms.txt replace robots.txt or a sitemap?
No. robots.txt says which bots may visit, the sitemap lists every page, and llms.txt is a short summary for AI tools. Keep all three.
Does Google use llms.txt?
Google has said its Search does not use it. Treat the file as a cheap extra, not a ranking trick.
Can an AI tool write my llms.txt for me?
Yes. Give it your site's main pages and a one-paragraph description, then check every line before you publish.

