The llms.txt standard for Next.js

Make Your Website AI-Friendly

Automatically generate llms.txt endpoints for your Next.js application. Help LLMs like ChatGPT, Claude, and Gemini understand and index your content better.

npm install next-llms-txt

Everything You Need

A complete solution for making your Next.js application discoverable by AI assistants and LLM-powered search engines.

Zero Configuration

Works out of the box with sensible defaults. Just install and your llms.txt endpoints are ready.

Highly Customizable

Fine-tune which content sources, metadata, and sections to include using your next.config.js.

Build-Time Generation

Generate files at build time for static export, or configure as dynamic Next.js routes.

Content Extraction

Automatically reads and parses readable text from your page and layout components.

Per-Page Endpoints

Optionally generate per-page Markdown endpoints for fine-grained AI content ingestion.

Standards Compliant

Follows the llmstxt.org specification for maximum compatibility with AI crawlers.

Get Started in Minutes

Add AI-friendly documentation to your Next.js app with just a few lines of code.

npm install next-llms-txt

Built for the AI Era

As AI becomes the primary way people discover and interact with content, llms.txt ensures your site is ready for this new paradigm.

AI Assistants

Help ChatGPT, Claude, Gemini, and other AI assistants understand your website content accurately. Perfect for customer support, documentation lookup, and content summarization.

LLM-Powered Search

Improve your visibility in next-generation search engines that use large language models. Stay ahead as search evolves from keyword matching to semantic understanding.

Content Indexing

Provide clean, structured Markdown content that's optimized for machine reading. Control exactly what information AI systems index from your site.