If you’ve been building websites in the last year, you’ve likely noticed a new kind of visitor showing up in your logs—AI crawlers. Bots from OpenAI, Anthropic, Google, and others are scraping content to train models and feed knowledge bases. But unlike traditional search crawlers, these bots don’t always respect robots.txt the same way. And even when they do, robots.txt lacks the granularity to tell an AI how to use your content.
This is where LLM.txt comes in. Think of it as a more modern, semantic companion to robots.txt. While robots.txt tells crawlers what to avoid, LLM.txt tells them how to interact—what content is safe to summarize, what should be cited, and what’s strictly off-limits for training.
I recently needed to set this up for a client project. Manually crafting the file is tedious, especially if you have a large site with multiple content types. That’s when I came across the SERPSpur LLM.txt Generator tool. It’s a straightforward web utility that lets you define rules for different AI crawlers and content sections. You can specify access levels—like “summarize only,” “allow training,” or “block entirely”—and it generates the full LLM.txt file for you.
Here’s a quick example of what the output looks like:
# LLM.txt configuration for example.com
# Generated with SERPSpur LLM.txt Generator
User-agent: *
Allow: /blog/
Disallow: /private/
For-model: GPT-4
Allow: /docs/
Disallow: /support/
For-model: Claude
Allow: /public/
Disallow: /api/
The syntax is still evolving, but the idea is clear: you can give different AI crawlers different permissions. This is huge for content creators who want to remain visible in AI-powered search but don’t want their proprietary tutorials or product docs used for model training.
What I like most is that the generator also includes a preview of what your file will look like and checks for common errors. No more guessing if your syntax is correct. Once you’re happy, you just drop the LLM.txt file into your site’s root directory.
If you haven’t looked into LLM.txt yet, it’s worth the 10 minutes. As AI crawlers become the default way users discover content, having control over how your site is consumed isn’t just nice—it’s necessary.
Top comments (2)
What's the context here? It looks like the post might be empty — happy to engage once I know what you're discussing!
Same here — seems like a blank post. Feel free to share your thoughts so I can add a meaningful reply!