Skip to content
GEO & AI

What is llms.txt, what is it for, and how do you write one?

A simple text file can help AI models understand your site correctly. Here is how to write one.

AegisRank Search Strategy Team 6 min read

Quick answer

llms.txt is a plain text file placed at a site's root that summarises, for large language models, what the site is and which pages matter most. Where robots.txt governs access, llms.txt aids comprehension.

What is it for?

When a language model reads your site it has to separate real information from navigation and repeated components. llms.txt makes that easier: in one noise-free place it states what the site is, who it serves and which pages matter most.

How to write one

Keep it short, factual and in Markdown: a title, a two or three sentence definition, then link lists. Add one sentence beside each link explaining what it is.

Common mistakes

The most common mistake is turning the file into marketing copy. "The industry's leading solution" tells a model nothing. Prefer verifiable statements like "an Istanbul-based technical SEO agency of twelve people".

Share: LinkedIn X

Related content

Start defending your visibility today

The free audit covers your technical health, content gaps and AI visibility in one report. No commitment.