Menu Close

What Is llms.txt? How to Write It, Where to Put It, and How Effective It Is Today

What Is llms.txt? How to Write It, Where to Put It, and How Effective It Is Today

“AI won’t read your site unless you add an llms.txt file.”

More people have been contacting us after hearing this claim in proposals for AI search optimization. Adding the file is easy and does no harm, but the claim that adding it will get AI to cite your site is currently inaccurate.

Bottom line

An llms.txt file is a text file that gives AI an overview of your site and points it to your main pages. As of July 2026, however, major AI search crawlers rarely consult it. Setup takes only about 10 minutes, so it’s fine to add one. It’s not yet worth paying for work whose main purpose is adding the file.

This article explains what llms.txt is, how to write it, and where to put it, then looks at what you can realistically expect from it today.


Contents

How llms.txt gives AI a one-page guide to your site

A single Markdown file with a site summary and links to key pages

An llms.txt file is a Markdown text file at the root of your site that briefly tells AI what the site is about and where to find its most important pages.

An AI researcher proposed the specification in September 2024. You place the file directly at the root of your domain, at an address such as https://example.com/llms.txt. The specification is available at llmstxt.org.

How llms.txt differs from robots.txt and sitemap.xml

Two files with similar names already exist. Each of the three serves a different purpose.

FilePurposeIntended audience
robots.txtIndicates which parts of the site crawlers may accessSearch and AI crawlers
sitemap.xmlProvides a machine-readable list of all pagesSearch engines
llms.txtSummarizes the site and points to important pagesAI language models

Think of robots.txt as telling crawlers where they may enter. With llms.txt, the site introduces itself and explains what it offers.

Three cards show the roles of robots.txt, sitemap.xml, and llms.txt side by side. A gate represents crawl permissions, a site tree represents the page list, and a summary sheet represents the site overview. The llms.txt card is highlighted in orange, and a line beneath all three shows that the files work alongside one another.
Three cards show the roles of robots.txt, sitemap.xml, and llms.txt side by side. A gate represents crawl permissions, a site tree represents the page list, and a summary sheet represents the site overview. The llms.txt card is highlighted in orange, and a line beneath all three shows that the files work alongside one another.

Major AI search crawlers rarely consult llms.txt today

This is the part that matters most, and it’s often missing from proposals.

Google Search has explicitly said it does not use llms.txt

In June 2025, a Google Search representative stated that no AI system currently uses llms.txt. The statement concerned Google Search, but it reflects a view widely shared across the industry.

Crawler access logs show very few requests for the file

Several studies report that major AI crawlers such as GPTBot, ClaudeBot, PerplexityBot, and OAI-SearchBot tend to go straight to the HTML without fetching llms.txt. The reason is straightforward. AI companies already have search infrastructure and systems for parsing HTML, so they have little incentive to support a new file format.

If adding llms.txt is the main item you’re being charged for

The work itself can be done in well under an hour. It’s reasonable to include it as one part of AI search optimization. If you receive a high quote centered on adding the file, ask exactly what other work the fee covers. For a guide to setting priorities, see GEO and SEO Compared: What to Do Now and What Can Wait.

Three reasons it can still be worth adding

Despite those limitations, we’ve added llms.txt to our own site for three reasons.

  • The cost is close to zero. It takes 10 minutes to write and 5 minutes to publish, with no effect on how the site displays or ranks.
  • More people are using sites through AI agents. When an AI agent explores and interacts with a site on someone’s behalf, a summary file can help it work efficiently.
  • You’ll be ready if support becomes widespread. If the specification catches on, your file will already be in place.

For now, treat llms.txt as inexpensive insurance. Adding it does not, in itself, deliver results.


How to write llms.txt in three parts: a heading, a summary, and a set of links

The specification is simple. Use the following Markdown structure.

# Company or site name

> Summarize what the site offers in one or two sentences.

Add a few lines of detail if needed, such as the areas you serve or the work you specialize in.

## Key pages

- [Services](https://example.com/service/): An overview of the services available
- [Pricing](https://example.com/price/): Plans and typical prices
- [Frequently asked questions](https://example.com/faq/): Things to check before getting in touch

## Resources

- [Blog](https://example.com/blog/): Articles on building and maintaining websites

Three tips for writing the file

1. Use concrete nouns in the summary

“A web design company that works closely with its clients” says little. Be specific. “We’re a web design company in Shibuya, Tokyo. We build corporate websites and landing pages with WordPress and Next.js.” Only concrete details give AI something it can use to make a judgment.

2. Limit the list to 10–20 links

There’s no need to list every page. That’s what sitemap.xml does. Choose only the pages you really want AI to read.

3. Give each link a short description

The description after : gives AI context for assessing the page. Go beyond repeating the page title and say briefly what the page contains.


How to publish llms.txt at the root of your domain

STEP
Create the file

Write the content in a text editor using the structure above. Save it as llms.txt with UTF-8 encoding.

STEP
Upload it to the server’s web root

Use FTP or a file manager to place the file in your site’s top-level directory, such as public_html or www. For WordPress, this is the same directory as index.php.

STEP
Check it in your browser

Open https://your-domain/llms.txt. If the text appears exactly as you wrote it, you’re done. If you get a 404, the file is in the wrong directory.

What to check if you use WordPress

WordPress handles all URLs itself, so you may get a 404 even after uploading the file. If that happens, use the relevant feature in an SEO plugin, or edit .htaccess to exclude just this file from WordPress processing.

Some SEO plugins can generate the file automatically. If you already have one installed, first visit https://your-domain/llms.txt and check whether the file already exists. That way, you can avoid maintaining it in two places.

For more on how domains and servers fit together, see What Are Domains and Servers? Your Website’s “Address” and “Land” Explained.

If you’d prefer to use a generator

Our free llms.txt Generator produces a file in the format the specification calls for. Fill in the form, copy the generated content, and upload it. There’s no charge and no registration is required.


What to do after publishing the file

1. Update the content regularly

When your services or key pages change, update the file to match. A file with outdated information can be worse than having no file at all.

2. Return to the work that matters most

Adding llms.txt is a 10-minute task. If you want AI search to cite your site, changing how you write the text on your pages is far more effective. For the steps, see How to Build a Website That AI Search Cites.


Frequently asked questions

Does adding llms.txt affect search rankings?

No. Search engines don’t use the file as a ranking factor, and adding it won’t hurt your rankings. It doesn’t affect page load speed either.

If I already have robots.txt, do I need llms.txt?

The files serve different purposes. The crawl permissions you set in robots.txt play an important part in whether your site can appear in AI search. Check your robots.txt settings first.

What if there’s information I don’t want AI to read?

Use llms.txt to point AI toward information you want it to read. You can’t use it to disallow crawling. Set those rules in robots.txt. Training crawlers and crawlers that search for or retrieve content serve different purposes. Blocking them all will also exclude your site from consideration for citations in AI search.

I’ve also seen a file called llms-full.txt. Do I need it?

It’s an extended version that brings together the full text of the site, but there’s even less evidence of it being consulted. Small and midsize businesses currently have no need to prepare one for their corporate sites.

So should I add llms.txt?

It’s fine to add it, but it’s a low priority. Put the main takeaway at the beginning of your key pages, get your FAQs in order, and replace vague wording with numbers. There’s plenty of time to add the file once you’ve done those three things.


In summary: add it because it costs little, and keep expectations modest

  • An llms.txt file is a Markdown file that gives AI a summary of your site and points it to key pages.
  • As of July 2026, major AI search crawlers rarely consult it.
  • Allow 10 minutes to write it and 5 minutes to publish it. At that cost, it makes sense as insurance.
  • Use concrete nouns in the summary, keep the list to 10–20 links, and give each link a short description.
  • It’s not yet worth paying a high fee for work whose main purpose is adding llms.txt. Improving how you write the text on your pages is more effective.

We test changes on our own site first, including adding llms.txt and implementing structured data, to see what works and what doesn’t. If you’d like a second opinion on an AI search optimization proposal you’ve received, feel free to contact us.

Web制作・システム開発は
First CHにお任せください

「こんなWebサイトが欲しい」「このシステムは実現できる?」——
現役エンジニアが直接お話を伺い、最適な進め方をご提案します。

「まだ構想段階」「費用感だけ知りたい」というご相談も歓迎です。

Share this article
Contents