Skip to content
@llms-dot-txt

llms-dot-txt

Generate, validate and parse llms.txt files. Free, open source, no dependencies.
llms-dot-txt logo

llms-dot-txt

Generate, validate and parse llms.txt files

Build an llms.txt from a website, a sitemap or a docs folder, check any site's llms.txt,
and read the format in your own code. One tiny package, no dependencies.

generate · validate · parse · check · llms-full.txt · CLI · no dependencies

GitHub · npm · 🌐 aibotsdb.com

🧰 Projects

llms-txt
The llms.txt toolkit: generate llms.txt and llms-full.txt from a sitemap or Markdown docs, validate files with clear messages and line numbers, parse them into JSON, and check whether any website publishes one. CLI and library for Node.js, Deno, Bun, browsers and edge runtimes.

ai-bots-db
The open database of AI crawlers & bots: who runs each one, its official IP ranges, and how to block it.

user-agents.txt
Plain-text lists of bot user-agents by purpose: AI bots, search engines, SEO tools, monitoring and more.

🚀 Use it in one minute

You want Run
An llms.txt for your website npx llms-dot-txt generate example.com -o public/llms.txt
An llms.txt from a docs folder npx llms-dot-txt generate ./docs --base-url https://example.com/docs --full
Check a file before you publish it npx llms-dot-txt validate public/llms.txt
See if a site has one npx llms-dot-txt check vercel.com
Use it in JavaScript / TypeScript npm install llms-dot-txt

🤝 Contribute

Found an llms.txt the validator gets wrong, or a site the generator can't handle? Report it. A URL is enough. Code and docs improvements are welcome too, see CONTRIBUTING.md.

💖 Support

llms-dot-txt is free and always will be. ⭐ Star the repo to follow updates, or become a sponsor to support the whole AI Bots DB family.

Code: MIT · Not affiliated with llmstxt.org or Answer.AI.

Popular repositories Loading

  1. llms-txt llms-txt Public

    Generate, validate and parse llms.txt files. Build llms.txt and llms-full.txt from a sitemap or docs folder, check any site's llms.txt. CLI + JS library, no dependencies.

    JavaScript 1 1

  2. .github .github Public

Repositories

Showing 2 of 2 repositories

Top languages

Loading…

Most used topics

Loading…