Adding CAPTCHA to forms is important for preventing spam and automated submissions, but integrating external CAPTCHA services can add unnecessary complexity.

CaptchaKit is a free, open-source, self-hosted CAPTCHA library for React and Next.js.

Features

  • Text, math & image challenges
  • Adjustable difficulty levels
  • Customizable themes
  • Server-side validation
  • HMAC-SHA256 signed tokens
  • One-time proofs & replay protection
  • Built-in rate limiting

No database, Redis, or external CAPTCHA services required.

Get Started

🌐 Website: https://sonojs.com/tools/captcha
🖥️ Live Demo: https://captchakit.netlify.app/
📦 npm: https://www.npmjs.com/package/captchakit
💻 GitHub: https://github.com/MiladJoodi/CaptchaKit