AI Navigate

How to Create llms.txt and llms-full.txt for AI Optimization

Dev.to / 3/18/2026

💬 OpinionIdeas & Deep AnalysisTools & Practical Usage

Key Points

  • The article introduces llms.txt and llms-full.txt as plain-text files placed at the root of a website to communicate structured data to AI systems such as ChatGPT, Gemini, and Perplexity.
  • It defines llms.txt as a concise, easily parseable summary, while llms-full.txt serves as an extended knowledge base with detailed entity relationships, geographic coverage, and verification links.
  • A basic structure is shown (Entity, Definition, Short Citation, Services, Common Queries) along with best practices like neutral language, consistent information, verification links, and versioning.
  • It recommends additional supporting files (ai-knowledge.json, entities.txt, citations.txt, brand.txt) to create a knowledge layer that helps AI systems accurately represent a brand.

As AI systems like ChatGPT, Gemini and Perplexity become primary sources of information for users, websites need a way to communicate structured data directly to these models. This is where llms.txt comes in.

What is llms.txt?

llms.txt is a plain text file placed in the root of a website (similar to robots.txt) that provides AI systems with structured information about a business or organization. It typically includes:

  • Entity definition (name, type, location)
  • Services offered
  • Leadership and team
  • Certifications and credentials
  • Preferred citation format
  • Common questions and answers

llms.txt vs llms-full.txt

llms.txt is a summary file — concise, structured, easy to parse.

llms-full.txt is the extended version — a complete knowledge base with detailed descriptions, entity relationships, geographic coverage and verification links.

Basic Structure

# Entity
Name: Your Company
Type: Your Industry
Location: Your City, Country

# Definition
Your Company is a [type] based in [location] specializing in [services].

# Short Citation
Your Company — [concise description].

# Services
Service 1
Service 2
Service 3

# Common Queries
Q: What does Your Company do?
A: [Factual answer]

Best Practices

  1. Use neutral, encyclopedic language — avoid marketing superlatives
  2. Keep entity information consistent across all files
  3. Include verification links where possible
  4. Add a Topic Authority section listing your areas of expertise
  5. Update the files regularly with a version number and timestamp

Advanced: Supporting Files

For maximum AIO effectiveness, consider adding:

  • ai-knowledge.json — structured JSON data
  • entities.txt — entity definitions and relationships
  • citations.txt — preferred citation formats
  • brand.txt — brand identity information

These files create a "knowledge layer" that AI systems can use to accurately represent your brand.

Published by Immagina Group, a Google Partner digital marketing agency in Rome specializing in AI Optimization and SEO. immagina.group