llms.txt and llms-full.txt

llms.txt is a standard for exposing website content to AI developer tools. Fern automatically generates and maintains llms.txt and llms-full.txt files for your documentation site.

Automatically serve Markdown

When Fern detects an LLM bot accessing your documentation, it automatically serves Markdown instead of HTML, reducing token consumption by 90%+.

Example of using llms.txt

llms.txt

Contains a lightweight summary of your documentation site with each page distilled into a one-sentence description and URL. The format is structured to help AI tools parse and understand your documentation’s hierarchy and organization.

llms.txt is available at any level of your documentation hierarchy (/llms.txt, /docs/llms.txt, /v1/api-reference/llms.txt, etc.).

Examples from Eleven Labs:

llms-full.txt

Contains complete documentation content including the full text of all pages. For API documentation, this includes your complete API Reference with resolved OpenAPI specifications and SDK code examples for enabled languages. Each API endpoint page includes its full OpenAPI spec.

llms-full.txt is available only at the root of your documentation site.

Example from Cash App: developers.cash.app/llms-full.txt

Analytics and monitoring

The Fern Dashboard provides comprehensive analytics for llms.txt usage including:

  • Traffic by LLM provider (Claude, ChatGPT, Cursor, etc.)
  • Page-level breakdowns of bot vs. human visitors for Markdown and llms.txt files

This visibility helps you understand LLM traffic patterns and optimize your documentation for AI consumption.