DEV Community

Alexandre Caramaschi
Alexandre Caramaschi

Posted on

Quick Tip: Add llms.txt to Your Site in 5 Minutes

Add llms.txt to Your Site in 5 Minutes

You know robots.txt — it tells crawlers what to access. llms.txt does something similar for AI engines: it tells them what to read.

Here's the fastest way to add one:

Step 1: Create a file called llms.txt in your site's public root.

Step 2: Add this structure (replace with your content):

# My Project

> A one-line description of what your project does.

## Docs

- [Getting Started](https://yoursite.com/docs/start): Setup guide.
- [API Reference](https://yoursite.com/docs/api): Endpoint documentation.

## Blog

- [Latest Post](https://yoursite.com/blog/latest): Your most recent article.
Enter fullscreen mode Exit fullscreen mode

Step 3: Deploy. Verify it's live at yoursite.com/llms.txt.

That's it. Three steps. The file is plain text, no build tools required.

Why bother? AI search engines like Perplexity and ChatGPT (with browsing) are increasingly looking for structured signals about your site. llms.txt gives them a clean map of your best content.

Full technical deep dive coming in my llms.txt series — but you can get the basic file live today.

Have you already implemented llms.txt? Curious to hear about your setup.

Top comments (0)