Block AI training, keep AI search, and catch fake bots.
Free and open source, for every website.
AI companies send bots to read the web. Some of them copy your content to train AI models. Others help people find you in AI search and send you visitors. Some only pretend to be a well-known bot.
You should decide who gets in. AI Bot Guard gives every website that choice, for free.
| Project | What it does | |
|---|---|---|
| 🛡️ | AI Bot Guard | Middleware that blocks, allows or rate-limits AI bots, and catches fakes. Express, Hono, Next.js, Cloudflare Workers, Deno and Bun. |
| 📚 | AI Bots DB | Every AI bot on the web, in one open list. The data behind AI Bot Guard. |
npm install ai-bot-guardimport { aiBotGuard } from 'ai-bot-guard/express';
app.use(aiBotGuard());
// ✋ AI training bots → blocked
// ✅ AI search bots → allowed, so you still show up in AI answers
// ✅ Real people → never touchedYou don't need to be an expert to help.
| You have… | Do this |
|---|---|
| A minute | ⭐ Star the project so more people find it |
| A strange bot in your logs | 🕵️ Report it to AI Bots DB |
| A question or an idea | 💬 Start a discussion |
| A favourite framework | 🔌 Write an adapter |
| A bit of time to code | 🧩 Pick a good first issue |
| A business that pays for AI crawl | 💖 Become a sponsor |
AI Bot Guard is free and always will be. Sponsors keep it that way: new adapters, fast security fixes and keeping up with new AI bots.
Especially valuable for hosting and CDN providers, web agencies, publishers, SaaS platforms and security companies. Become a sponsor →