HomeGuidesTechnical Guide
Technical Guide

What Is llms.txt? How to Create One (Step-by-Step Guide)

llms.txt is a text file at the root of your site (/llms.txt) that summarizes your site for AI models in markdown. Under the llmstxt.org proposal it has a # heading, a short summary starting with >, and ## sections that link to your key pages. It takes minutes to create, but Google does not require it for AI Overviews.

Last updated:
Target search queries:
what is llms.txthow to create llms.txtllms.txt examplellms.txt for AI crawlersllms.txt best practices 2026

"What is the llms.txt file, how to create it, and what it actually does. Step-by-step creation guide and best practices."

What Is llms.txt?

llms.txt is a text file you prepare for AI language models (LLMs) visiting your website. While robots.txt directs search engine bots, llms.txt explains to AI models what your site does, what services you offer, and how you should be cited. It is hosted at the root of your site (/llms.txt).

Why Is llms.txt Critical?

When AI models visit your site, they get lost among hundreds of pages. llms.txt gives them a direct, structured summary. llms.txt is still a proposal: llmstxt.org describes itself as “a proposal to standardise” the file, and Google states no such file is needed for AI Overviews or AI Mode. It does not guarantee that AI understands you correctly; it is a cheap companion to accurate, sourced content, not a substitute for it.

llms.txt Structure

The llmstxt.org proposal defines the file in a fixed order:

  • # Heading: the site or company name (the only required section in the proposal)
  • > Summary: a short blockquote right below the heading that says what the site does
  • Description: optional paragraphs or lists without headings
  • ## Sections: each a list of links in the form [Page name](full URL): short note
  • ## Optional: secondary resources that can be skipped when a shorter context is needed

Step-by-Step llms.txt Creation

Follow these steps to create llms.txt for your site:

  • 1. Open the file with a # Company Name line
  • 2. Below it, write a one-paragraph summary starting with > that says what you do and who you serve
  • 3. List your key pages under ## headings in the form [Page name](full URL): short description
  • 4. Move secondary resources under an ## Optional heading
  • 5. Put the file at public/llms.txt in your project; Vite and Next.js serve that folder from the site root
  • 6. Open https://yourdomain.com/llms.txt in a browser to confirm it loads as plain text, and check that robots.txt does not block GPTBot, OAI-SearchBot or PerplexityBot

Example: botfusions.com/llms.txt

botfusions.com's own file follows this structure: a # Botfusions heading, a short company description starting with >, then the When to use Botfusions, Citation guidelines, Language & URL structure, Core resources, Optional and Contact sections. The Citation guidelines section states how to spell the brand name (Botfusions, not BotFusions) and which pages to verify statistics against. Longer methodology notes live in a separate file at /llms-full.txt, so the short file works only as an index. Make the same split in your own file: links and one-line notes in llms.txt, details on the pages themselves or in llms-full.txt.

Frequently Asked Questions

Is llms.txt mandatory, and what happens without it?

It is not mandatory, and it is not a validated ranking or citation signal. Google explicitly states no such file is needed for AI Overviews or AI Mode. llms.txt is a cheap way to give AI agents an orderly summary of your company, services, and key pages; it takes minutes to create, but its effect should not be overstated.

What is the difference between llms.txt and robots.txt?

robots.txt grants or denies which bots may crawl which pages; llms.txt tells AI models what your site does, which services you offer, and how you should be cited. One is access control, the other is a briefing and citation guide. They work together: first allow AI bots such as GPTBot and PerplexityBot in robots.txt, then serve them accurate information through llms.txt.

How do I create an llms.txt file?

You can create llms.txt by hand: write a # heading, a short company summary starting with >, and ## sections that link to your key pages in markdown, then place the file at your site root (/llms.txt). Don't forget to allow AI bots in your robots.txt. Update the file whenever important details like your services or location change, and review it at least quarterly.

Sources

Ömer Cenk Tokgöz

Ömer Cenk Tokgöz

Founder, Botfusions

Founder of Botfusions; focuses on Generative Engine Optimization (GEO) and AI / answer-engine visibility. Author of the AI Visibility methodology.

Author profile & areas of expertise →Editorial standards & about the author →AI Visibility methodology & research transparency →

Create Your llms.txt Professionally

Optimized llms.txt and structured data solutions so AI models understand your site correctly. Start with a free audit.

Start Free Audit
WhatsApp Support