Nov 22, 2024

•

Eric Ciarla imageEric Ciarla

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

  1. Visit the Generator: Go to http://llmstxt.firecrawl.dev.

  2. Enter Your Website URL: Input the URL of your website.

  3. Generate the File: Click the generate button and wait a few minutes as the tool processes your site.

  4. Download Your Files: Once ready, download the llms.txt and llms-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

References

Ready to Build?

Start scraping web data for your AI apps today.
No credit card needed.

About the Author

Eric Ciarla image
Eric Ciarla@ericciarla

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