Specification Version 1.7.0
Published
Last Modified
Status Stable

This specification is published and recommended for implementation. Backwards-compatible additions may occur in MINOR versions; breaking changes only in MAJOR versions, with deprecation notice. See specification conventions for status definitions.

llm.txt Specification

Compatibility Variant for AI-Readable Business Identity Files

Abstract

This specification defines llm.txt as a compatibility variant of llms.txt. Some AI systems request the singular filename (llm.txt) instead of the plural (llms.txt). The recommended implementation is a 301 redirect from llm.txt to llms.txt, maintaining a single source of truth.

§1 Overview

What This File Does

The llm.txt file serves the same purpose as llms.txt — providing AI systems with structured business identity and context information. It exists because some AI systems request the singular filename variant.

Why Both Files Exist

The naming convention for AI discovery files has not fully standardised. Different AI systems may request either:

  • llms.txt (plural) — the more common convention
  • llm.txt (singular) — requested by some AI systems

To ensure all AI systems can access business identity information, websites SHOULD provide both files.

Primary Specification

For complete format details, section requirements, and implementation guidance, refer to the llms.txt Specification. This document covers only the compatibility aspects.

§2 Relationship to llms.txt

Content Requirements

The llm.txt file MUST contain identical content to llms.txt. This includes:

  • Identical H1 heading (business name)
  • Identical blockquote summary
  • Identical sections in the same order
  • Identical links and descriptions
  • Identical contact information

Canonical Source

AspectGuidance
Authoritative filellms.txt is the primary file
Content syncBoth files MUST be updated simultaneously
FormatBoth follow the llms.txt specification exactly
ValidationBoth files must pass llms.txt validation rules

Implementation Approaches

Websites MAY implement compatibility using any of these approaches:

  1. Server redirect (recommended): Configure HTTP 301 redirect from llm.txt to llms.txt
  2. Symbolic link: Create llm.txt as a symlink to llms.txt
  3. Physical duplicate: Maintain two identical files
  4. Dynamic generation: Generate both files from the same source
Recommendation

Server redirects are the preferred approach. They maintain a single source of truth, eliminate synchronisation errors, and are correctly followed by major AI crawlers including GPTBot, ClaudeBot, and Google-Extended.

See Also

For conflict resolution when both files exist, see the Interoperability Guide.

§3 Implementation

Redirect Configuration

Configure your web server to redirect requests for /llm.txt to /llms.txt using a 301 (permanent) redirect.

Apache (.htaccess)

# Redirect llm.txt to llms.txt
Redirect 301 /llm.txt /llms.txt

Nginx

# In server block
location = /llm.txt {
    return 301 /llms.txt;
}

WordPress (via plugin or functions.php)

add_action('template_redirect', function() {
    if ($_SERVER['REQUEST_URI'] === '/llm.txt') {
        wp_redirect('/llms.txt', 301);
        exit;
    }
});

IIS (web.config)

<rule name="Redirect llm.txt to llms.txt">
    <match url="^llm\.txt$" />
    <action type="Redirect" url="/llms.txt" redirectType="Permanent" />
</rule>

File Location

The canonical file location is:

https://example.com/llms.txt

With a redirect configured for:

https://example.com/llm.txt → 301 → https://example.com/llms.txt

Content Type

The llms.txt file MUST be served with:

Content-Type: text/plain; charset=utf-8

Verification Checklist

  • /llms.txt returns HTTP 200 status
  • /llm.txt returns HTTP 301 redirect to /llms.txt
  • The redirect target URL is correct
  • Content type is correctly set for the canonical file

§4 Machine-Readable Formats

This specification is available in machine-readable formats for programmatic access:

§5 Version History

1.7.0

Phase 6 standardisation release. Added /specifications/roadmap/ (theme-pegged forward plan with Active/Next/Future/On hold status flags), /specifications/extensions/ (rules for experimental x- prefixed files and the promotion path), and /specifications/i18n-a11y/ (multi-language publication, locale-tagged identity fields, RTL handling, accessibility of llms.html). Added the Discovery: directive to the robots-ai.txt specification (publishers MAY advertise AI Discovery Files on the same host). Added a formal media-type stance to the HTTP behaviour page (existing IANA types, no bespoke registrations). Expanded the file integrity and signing section on the security and privacy page with four candidate mechanisms, cross-cutting concerns, and interim publisher / consumer guidance. The Discovery: directive is the only normative addition to publisher behaviour; all other additions are forward-looking documentation.

1.6.0

Phase 5 standardisation release. Added /specifications/related-standards/ (positioning vs llmstxt.org, IETF AI Preferences, robots.txt, Schema.org, BCP 14, JSON Schema 2020-12, SemVer) and /specifications/implementations/ (public record of conformant implementations, IETF-style). Added an explicit llmstxt.org backward-compatibility statement to the llms.txt specification. Added a formal multi-domain and subdomain scoping rule to both the llms.txt and identity.json specifications (host-scoped files, cross-host identity asserted via sameAs). No normative requirements changed for existing publishers; the new scoping rules formalise behaviour the specification already implied.

1.5.0

Phase 4 standardisation release. Added /specifications/processing-model/ (seven-stage algorithm for conformant consumers), /specifications/consumer-guidance/ (what AI systems should do with AI Discovery Files), /specifications/test-vectors/ (canonical test suite framing), and reference-implementation framing on the AI Visibility Checker. No normative requirements changed.

1.4.0

Phase 3 standardisation release. Added /specifications/versioning/ (Semantic Versioning 2.0.0 commitments, deprecation timeline, lifecycle), /specifications/governance/ (proposal lifecycle, editorial process, working principles), /specifications/security-privacy/ (trust model, content-injection patterns, GDPR considerations, integrity primitives roadmap), and /specifications/http-behaviour/ (status codes, redirects, soft-404 detection, caching, rate limits). No normative requirements changed.

1.3.0

Phase 2 standardisation release. Added formal conformance specification (Essential / Recommended / Complete classes). Published machine-readable registry at /specifications/registry.json, spec meta-schema, and validator-output schema. Introduced versioned JSON Schema URLs (/v1/) alongside unversioned 'latest' aliases. Added optional BCP 47 language declaration field across all applicable AI Discovery Files. No normative requirements changed.

1.2.0

Phase 1 standardisation release. Added 'Status of This Document' block (Stable). Normalised normative requirement keywords to uppercase per RFC 2119 and RFC 8174. Added References section linking to /specifications/conventions/ and /licensing/. No normative requirements changed.

1.1.1

Added AI Visibility Directory registration guidance. Minor documentation update.

1.1.0

Version alignment with llms.txt 1.1.0. As a compatibility variant, this file inherits all requirements from the llms.txt specification including optional sections and content restrictions.

1.0.0

Initial publication. Documents llm.txt as a compatibility variant of llms.txt.

Conformance

This file is required for the Complete conformance class only. A publisher claiming Complete conformance MUST publish a valid version of this file at the website's root. The Essential and Recommended classes do not require this file.

See the Conformance specification for full publisher and validator conformance criteria, including identity-consistency requirements across files and the relationship between self-declaration and Directory verification.

References

  • Specification Conventions — RFC 2119 + RFC 8174 requirement keywords, document statuses, anchor naming, versioning, and language conventions used across every AI Discovery File specification.
  • Licensing & Trademark — CC BY 4.0 for specification text and examples, MIT for JSON Schemas, and the free-use policy on the name "AI Discovery Files".
Free WordPress Plugin

Generate AI Discovery Files from your dashboard

Using WordPress? Install the plugin and create all 10 files in minutes — no coding, no configuration files to edit manually.

Get the Plugin

Register in the AI Visibility Directory

Once your AI Discovery Files are published, register your website in the AI Visibility Directory — the verified registry of websites implementing AI Discovery Files. Registration validates your implementation and lists your site for AI systems and industry peers to discover.

Basic Listing

Card entry in the directory with automated file validation. Open to any site with a valid llms.txt file. No cost.

Full Listing Recommended

Dedicated profile page on the directory with dofollow backlinks to your website — a genuine SEO authority signal from a topically relevant, verified source. Includes an attribution badge and enhanced visibility.