How to Create an llms.txt File for Any Website
Creating an llms.txt
file for your website is now simpler than ever with the llms.txt Generator. This tool enables you to compile your entire website into a single text file that can be used with any Large Language Model (LLM), improving how AI interacts with your content.
Introducing llms.txt Generator ✨
The llms.txt Generator leverages Firecrawl to crawl your website and extracts data using gpt-4o-mini. You can generate both llms.txt
and llms-full.txt
files through the web interface or via API.
Accessing llms.txt via API
You can access llms.txt
directly by making a GET request to:
http://llmstxt.firecrawl.dev/{YOUR_URL}
For the full version, use:
http://llmstxt.firecrawl.dev/{YOUR_URL}/full
If you have a Firecrawl API key, you can include it to unlock full results and remove limits:
http://llmstxt.firecrawl.dev/{YOUR_URL}?FIRECRAWL_API_KEY=YOUR_API_KEY
For the full version with API key:
http://llmstxt.firecrawl.dev/{YOUR_URL}/full?FIRECRAWL_API_KEY=YOUR_API_KEY
How to Generate Your llms.txt File
-
Visit the Generator: Go to http://llmstxt.firecrawl.dev.
-
Enter Your Website URL: Input the URL of your website.
-
Generate the File: Click the generate button and wait a few minutes as the tool processes your site.
-
Download Your Files: Once ready, download the
llms.txt
andllms-full.txt
files.
No API Key Required, But Recommended
While an API key is not required, using a free Firecrawl API key removes any usage limits and provides full access to all features.
Learn More and Get Involved
-
llms.txt Standard: Discover more about the
llms.txt
standard at http://llmstxt.org. -
Directory of Adopters: Check out the directory of
llms.txt
adopters at http://directory.llmstxt.cloud. -
Contribute: The llms.txt Generator is open source. Visit the GitHub repository to contribute: https://github.com/mendableai/llmstxt-generator.
References
Ready to Build?
Start scraping web data for your AI apps today.
No credit card needed.
About the Author
Eric Ciarla is the Chief Operating Officer (COO) of Firecrawl and leads marketing. He also worked on Mendable.ai and sold it to companies like Snapchat, Coinbase, and MongoDB. Previously worked at Ford and Fracta as a Data Scientist. Eric also co-founded SideGuide, a tool for learning code within VS Code with 50,000 users.
More articles by Eric Ciarla
How to Create an llms.txt File for Any Website
Learn how to generate an llms.txt file for any website using the llms.txt Generator and Firecrawl.
Cloudflare Error 1015: How to solve it?
Cloudflare Error 1015 is a rate limiting error that occurs when Cloudflare detects that you are exceeding the request limit set by the website owner.
Build an agent that checks for website contradictions
Using Firecrawl and Claude to scrape your website's data and look for contradictions.
Getting Started with OpenAI's Predicted Outputs for Faster LLM Responses
A guide to leveraging Predicted Outputs to speed up LLM tasks with GPT-4o models.
How to easily install requests with pip and python
A tutorial on installing the requests library in Python using various methods, with usage examples and troubleshooting tips
How to quickly install BeautifulSoup with Python
A guide on installing the BeautifulSoup library in Python using various methods, with usage examples and troubleshooting tips
How to Use OpenAI's o1 Reasoning Models in Your Applications
Learn how to harness OpenAI's latest o1 series models for complex reasoning tasks in your apps.
Introducing Fire Engine for Firecrawl
The most scalable, reliable, and fast way to get web data for Firecrawl.