OSI-licensed only · self-hostable

Open-Source reCAPTCHA Alternatives (2026)

reCAPTCHA is Google's bot-detection service for web forms. It is proprietary, runs on Google's servers and sends visitor data to Google, which is the main reason sites look for replacements. Open-source options generally use proof-of-work or spam rules you control instead of behavioural tracking.

Every tool below is under an OSI-approved licence (MIT, Apache-2.0 or AGPL-3.0), checked against its repository. Anubis is a little different: it guards a whole site against scraper bots rather than checking a single form.

Licences checked against each repository on November 7, 2026.

What you're replacing

  • •Blocking bot sign-ups and spam form submissions
  • •Verifying a human with a widget on forms
  • •Keeping visitor data away from third parties
  • •Protecting a site from automated scrapers

At a glance

ToolBest forLicenceRuns as
ALTCHAPrivacy-first proof-of-work widgetMITServer
mCaptchaSelf-hosted proof-of-work CAPTCHA with an admin UIAGPL-3.0Server
CapLightweight self-hosted CAPTCHAApache-2.0Docker
mosparoForm spam protection with rules you controlMITServer
Prosopo ProcaptchaDrop-in replacement for reCAPTCHA-style integrationApache-2.0Server
AnubisShielding a site from AI scrapersMITServer

1. ALTCHA

MIT

Best for: Privacy-first proof-of-work widget

A self-hosted, privacy-first security tool that uses proof-of-work to stop spam and abuse. A small widget on the form solves a challenge in the browser and your server verifies it.

Strengths

  • + No third-party calls
  • + Drop-in widget
  • + MIT licence

Trade-offs

  • − Proof-of-work is not a human test
  • − You verify and operate it yourself

2. mCaptcha

AGPL-3.0

Best for: Self-hosted proof-of-work CAPTCHA with an admin UI

A proof-of-work based, privacy-respecting CAPTCHA system. Runs as a server you host, with a dashboard to manage sites and difficulty.

Strengths

  • + Difficulty scales with traffic
  • + Privacy respecting
  • + Active development status

Trade-offs

  • − AGPL-3.0 obligations if you modify it
  • − Server to run and maintain

3. Cap

Apache-2.0

Best for: Lightweight self-hosted CAPTCHA

A self-hosted CAPTCHA alternative that replaces puzzles with background proof-of-work and instrumentation challenges, built to protect user privacy.

Strengths

  • + No puzzles for the visitor
  • + Self-hosted
  • + Apache-2.0 licence

Trade-offs

  • − Newer project with a smaller community
  • − Behaviour differs from reCAPTCHA scoring

4. mosparo

MIT

Best for: Form spam protection with rules you control

The modern solution to protect your online forms from spam. Runs as a self-hosted service that checks submissions against configurable rules.

Strengths

  • + Form-focused spam rules
  • + No puzzles for visitors
  • + MIT licence

Trade-offs

  • − Needs a PHP-capable host
  • − Not aimed at general bot defence

5. Prosopo Procaptcha

Apache-2.0

Best for: Drop-in replacement for reCAPTCHA-style integration

Described in its README as a drop-in replacement for reCAPTCHA, hCaptcha and Cloudflare Turnstile that is built to keep user data private.

Strengths

  • + Familiar integration pattern
  • + Privacy-focused
  • + Apache-2.0 licence

Trade-offs

  • − Check how much of the service is hosted by the vendor
  • − Larger codebase to evaluate

6. Anubis

MIT

Best for: Shielding a site from AI scrapers

A lightweight tool that screens incoming web traffic with challenges to shield servers from AI scraper bots. Sits in front of your site as a reverse proxy layer.

Strengths

  • + Protects the whole site
  • + Lightweight
  • + MIT licence

Trade-offs

  • − Not a form-level CAPTCHA
  • − Challenges every visitor, not just forms

New open-source tools, weekly

One email a week with the open-source projects, launches and releases added to TechLogHub. Unsubscribe in one click.

Get the TechLogHub digest

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.

How to choose

If you need…Start with
A simple widget on a contact or sign-up formALTCHA or Cap
A self-hosted CAPTCHA service with a dashboardmCaptcha
Spam filtering rules for formsmosparo
An integration pattern close to reCAPTCHAProsopo Procaptcha
Whole-site protection from scraper botsAnubis

Open-source reCAPTCHA alternatives: FAQ

Quick answers to common questions

Is there an open-source alternative to reCAPTCHA?

Yes. ALTCHA (MIT), mCaptcha (AGPL-3.0), Cap (Apache-2.0), mosparo (MIT) and Prosopo (Apache-2.0) can all be self-hosted and avoid sending visitor data to Google.

How does proof-of-work replace a CAPTCHA?

The visitor's browser solves a small computational challenge in the background. This makes mass automated submissions costly without asking people to click images, though it does not prove the visitor is human.

Do these tools set a risk score like reCAPTCHA v3?

They work differently: most rely on proof-of-work or rule-based checks rather than Google's behavioural scoring. Test against your own traffic before removing reCAPTCHA.

Which option protects against AI scrapers?

Anubis is built to shield servers from AI scraper bots by challenging incoming traffic. The others focus on forms.

Can I run them without a server?

No. All of them need a verification component you host or operate, so budget for a small service alongside your site.

Maintain an open-source reCAPTCHA alternative?

List it on TechLogHub and we'll review it for this page.

Submit a project