Final month, I seen crawlers from corporations like OpenAI and Google in my web site analytics. My first response was concern: Was my content material being scraped with out my permission? I additionally nervous that too many requests from AI or search crawlers would possibly decelerate my web site for guests.
However then I began pondering: What if I may really flip this into a possibility? What if I may information AI instruments—like ChatGPT—to the content material I would like them to see?
That’s once I found one thing known as llms.txt
. It’s a brand new file format designed to assist massive language fashions (LLMs) perceive which pages in your web site are most helpful. This will enhance how your content material exhibits up in AI-generated solutions and even assist your web site get talked about as a supply.
On this information, I’ll present you the way to create an llms.txt
file utilizing a plugin or a guide technique. Whether or not you need extra AI visibility or just extra management, it is a nice solution to begin shaping how AI interacts together with your content material.


What Is an llms.txt File and Why Do You Want One?
An llms.txt
file is a brand new proposed commonplace that offers AI instruments like ChatGPT or Claude a structured listing of the web site content material you need them to make use of when producing solutions.
This file enables you to level to your most useful posts, tutorials, or touchdown pages—content material that’s clear, reliable, and AI-friendly.
Consider it like a welcome mat for AI. You’re saying: “For those who’re going to make use of my web site in your solutions, right here’s what I like to recommend you take a look at first.”
The file itself lives on the root of your web site (like instance.com/llms.txt
) and is written in plain Markdown. It may well embrace hyperlinks to your sitemap, cornerstone content material, or anything you’d need cited.
Together with your sitemap ensures AI instruments can discover a full index of your web site—even when they don’t observe each hyperlink listed individually.
That is a part of a broader strategy known as Generative Engine Optimization (GEO). You may additionally hear it known as AI content material optimization or AI search visibility. The concept is to assist AI fashions give higher solutions—and enhance the possibilities of your web site being linked as a supply.
Simply needless to say llms.txt
remains to be an rising format. Not all AI corporations help it but, nevertheless it’s a sensible step if you happen to’re trying to form your content material’s function in AI search outcomes.
llms.txt vs. robots.txt: What’s the Distinction?
You is perhaps questioning how llms.txt
compares to robots.txt
, since each recordsdata take care of bots and visibility.
The important thing distinction is that this:
robots.txt
tells crawlers what they’re allowed to index and cache.llms.txt
provides AI fashions a curated listing of the content material you need them to reference when producing AI-powered solutions.
Right here’s a side-by-side look:
Characteristic | robots.txt | llms.txt |
---|---|---|
Goal | Block search crawlers from accessing particular URLs | Spotlight your most useful content material for AI fashions |
The way it Works | Makes use of Consumer-agent and Disallow guidelines |
Makes use of a Markdown listing of beneficial hyperlinks |
Impact on AI | Can stop AI fashions from accessing your web site (if obeyed) | Might assist AI fashions cite and summarize your greatest content material |
Adoption | Broadly supported by search engines like google and a few AI instruments | Nonetheless rising; help is proscribed and voluntary |
For a whole AI technique, you should utilize each recordsdata on the similar time. You should utilize llms.txt
to welcome the AI bots you need, whereas utilizing robots.txt
to dam those you don’t.
My information will present you the way to use each recordsdata to handle your AI content material technique. You should utilize the fast hyperlinks under to leap to the tactic that most closely fits your technique:
Methodology 1: Create an llms.txt File Utilizing AIOSEO (Really helpful)
The best solution to create an llms.txt
file in Blogging platform is by utilizing the All in One Visibility plugin (AIOSEO). I like to recommend this technique as a result of it does the entire be just right for you.
It mechanically creates a useful llms.txt
file that guides AI crawlers to your content material, and it retains the file up to date as you add new posts and pages.
Step 1: Implement and Start AIOSEO
First, you’ll want to put in and activate the AIOSEO plugin.
For a full walkthrough, you may see our step-by-step information on the way to correctly arrange All in One Visibility.


The nice information is that the llms.txt function is enabled by default in all variations of AIOSEO, together with the free model.
Nevertheless, since we’re speaking about taking full management of your content material and Visibility, it’s value mentioning a couple of highly effective options you get if you happen to improve to the AIOSEO Professional license.
When you don’t want these for llms.txt, they’re extremely useful for rising your web site site visitors:
- Superior Wealthy Snippets (Schema): The Professional model provides you extra schema varieties, which helps you get these eye-catching wealthy ends in Google (like opinions, recipes, or FAQs). Including schema markup also can assist your content material seem in AI search.
- Redirection Supervisor: This software makes it straightforward to redirect bots or customers from sure pages, repair damaged hyperlinks, and observe 404 errors. It provides you extra management over how each guests and crawlers navigate your web site.
So, whereas the llms.txt function is free, upgrading provides you a way more highly effective toolkit for managing and rising your web site’s presence.
Step 2: Confirm Your llms.txt File
As a result of this function is turned on by default, there’s nothing it is advisable to do to set it up. AIOSEO is already serving to information AI bots for you.
You may see the settings by navigating to All in One Visibility » Basic Settings and clicking the ‘Superior’ tab.
Right here, the ‘Generate an LLMs.txt file’ toggle is on by default.


Once you click on the ‘Open LLMs.txt’ button, you’ll see that the file is a listing of hyperlinks to your content material.
That is precisely what you need for GEO. It’s a transparent sign to AI bots that you’re welcoming them and have offered a useful information for them to observe.
Simply needless to say llms.txt
will not be an enforceable rule—AI instruments could or could not select to observe it.
Methodology 2: Create an llms.txt File Manually
For those who desire to not use a plugin, then you may nonetheless create a useful llms.txt
file manually. This strategy entails making a textual content file with a listing of hyperlinks to your most vital content material.
Necessary: Earlier than you create a guide file, it is advisable to make certain no different plugin is already producing one for you. In case you are utilizing AIOSEO for its different Visibility options, you should first disable its default llms.txt file generator from the All in One Visibility » Basic Settings » Superior web page.
Step 1. Create a New Textual content File
First, it is advisable to open a plain textual content editor in your pc (like Notepad on Home windows or TextEdit on Mac).
Create a brand new file and put it aside with the precise title llms.txt
.
Step 2. Add Your Material Hyperlinks
Subsequent, it is advisable to add hyperlinks to the content material you need AI bots to see. The aim is to create a easy, clear map of your web site utilizing markdown headings and lists.
When you can simply listing your most vital URLs, a greatest follow is to prepare them into sections. You need to at all times embrace a hyperlink to your XML sitemap, because it’s essentially the most environment friendly solution to present bots your entire public content material.
Then you may create separate sections to focus on your most vital posts and pages.
Here’s a extra structured template you may copy and paste into your llms.txt
file. Simply you should definitely substitute the instance URLs with your individual:
# My Superior Site
## Sitemaps
- [XML Sitemap](https://instance.com/sitemap.xml)
## Key Pages
- [About Us](https://instance.com/about-us/)
- [Contact Us](https://instance.com/contact/)
## Key Posts
- [Important Guide](https://instance.com/important-guide/)
- [Key Article](https://instance.com/key-article/)
Step 3. Add the File to Your Site
When you’ve saved your file, it is advisable to add it to your web site’s root listing. That is normally named public_html
or www
.
You are able to do this utilizing an FTP shopper or the File Supervisor in your Blogging platform internet hosting dashboard. Merely add the llms.txt
file out of your pc into this folder.


Step 4. Confirm Your File Is Stay
Lastly, you may confirm that your file is working appropriately by visiting yourdomain.com/llms.txt
in your browser.
You need to see the listing of hyperlinks you simply created.
Bonus: Easy methods to Block AI Bots Utilizing Your robots.txt File
Whereas utilizing llms.txt
to information AI bots is nice for GEO, it’s possible you’ll resolve you need to block them as a substitute. In case your aim is to stop AI corporations from utilizing your content material for coaching, then the official technique is so as to add guidelines to your robots.txt
file.
The robots.txt
file is a robust software that offers directions to net crawlers. For a whole overview, I like to recommend our full information on the way to optimize your Blogging platform robots.txt file.
Necessary: Enhancing your robots.txt
file might be dangerous. A small mistake may by accident block vital search engines like google like Google from seeing your web site, which might harm your Visibility. We suggest utilizing a plugin like AIOSEO to do that safely.
Methodology 1: Edit robots.txt Utilizing the AIOSEO Module (Really helpful)
For those who already use All in One Visibility, that is the most secure and best solution to block AI bots. The plugin has a built-in robots.txt
editor that stops you from making errors.
First, navigate to All in One Visibility » Instruments in your Blogging platform dashboard. From there, discover and click on on the ‘Robots.txt Editor’ tab.


First, it is advisable to click on the toggle change to allow customized robots.txt.
Then you will note an editor the place you may add your customized guidelines. To dam a selected AI bot, it is advisable to add a brand new rule by clicking the ‘Add Rule’ button. Then you may fill within the fields for the Consumer-agent
(the bot’s title) and a Disallow
rule.
For instance, to dam OpenAI’s bot, you’ll add:
Consumer-agent: GPTBot
Disallow: /


You may add guidelines for as many bots as you want. I’ve included a listing of frequent AI crawlers on the finish of this part.
When you’re performed, simply click on the ‘Save Modifications’ button.
Methodology 2: Edit robots.txt Manually through FTP
For those who don’t use a plugin, you may edit the file manually. This requires you to hook up with your web site’s root listing utilizing an FTP shopper or the File Supervisor in your internet hosting account.
First, discover your robots.txt
file in your web site’s root folder and obtain it. Don’t delete it.
Subsequent, open the file in a plain textual content editor. Add the blocking guidelines you need on the finish of the file.
For instance, to dam Google’s AI crawler, you’ll add:
Consumer-agent: Google-Prolonged
Disallow: /
After you save the file, add it again to the identical root listing, overwriting the previous file.
Widespread AI Bots to Block
Here’s a listing of frequent AI consumer brokers you would possibly need to block:
GPTBot
(OpenAI)Google-Prolonged
(Google AI)anthropic-ai
(Anthropic / Claude)CCBot
(Widespread Crawl)
You may add a separate block of guidelines for every one in your robots.txt
file.
FAQs About llms.txt and robots.txt in Blogging platform
I typically get questions on managing AI crawlers. Listed below are a number of the commonest ones.
1. Will including an llms.txt file have an effect on my web site’s Visibility?
No, creating an llms.txt
file gained’t have an effect on your common Visibility rankings. Search engines like google like Google nonetheless depend on your robots.txt
file and different Visibility alerts to resolve what will get listed and ranked.
llms.txt
is completely different. It’s designed for AI instruments, not search engines like google, and is used to help Generative Engine Optimization (GEO). Whereas it might assist AI fashions higher perceive and cite your content material, it doesn’t affect how your web site seems in conventional search outcomes.
2. Will utilizing an llms.txt file assist me get extra site visitors from AI?
No, utilizing an llms.txt
file isn’t a assured solution to get extra site visitors from AI instruments. It may well assist by pointing language fashions like ChatGPT to content material you need them to see—however there’s no promise they’ll use it or hyperlink again to your web site.
llms.txt
remains to be new, and never all AI platforms help it. That stated, it’s a sensible step if you’d like extra management over how your content material is perhaps utilized in AI-generated solutions.
3. What’s the distinction between llms.txt and robots.txt?
An llms.txt
file acts like a information for AI fashions, pointing them to the content material you need them to see—your most useful posts, tutorials, or pages. It’s meant to enhance your GEO technique by highlighting what’s value citing.
In distinction, a robots.txt
file is used to dam search crawlers and AI instruments from accessing particular elements of your web site. You utilize llms.txt
to say “look right here,” and robots.txt
to say “don’t go there.”
Last Ideas on Managing Your Material’s Future
The world of AI and Generative Engine Optimization is altering quick. So, I like to recommend checking in in your technique each few months.
A bot you block right now might be a serious supply of site visitors tomorrow, so being able to adapt is vital. You may at all times change from blocking to guiding (or vice-versa) as what you are promoting targets evolve.
I hope this information has helped you make an knowledgeable choice about the way forward for your content material on this planet of AI. For those who discovered it helpful, you may also like our different guides on rising and defending your web site:
For those who appreciated this text, then please subscribe to our YouTube Channel for Blogging platform video tutorials. You too can discover us on Twitter and Fb.