qmetrics.net

Best Open-Source Alternatives to Cloudflare Turnstile

Cloudflare Turnstile by Cloudflare is a commercial product. These open-source projects say they can replace it.

The most popular open-source alternative to Cloudflare Turnstile is Tiagozip Cap, with 8.6k GitHub stars. Other open-source alternatives to Cloudflare Turnstile are ALTCHA, OpenFlare, Procaptcha and mCaptcha. Most Cloudflare Turnstile alternatives here are Application Security tools, some are Cloud Infrastructure Management. The first 2 say in their own README or website that they can replace Cloudflare Turnstile (the quote is shown under each one); the other 3 do the same job, shown with their own description.

Stars and activity updated 27 November 2026.

Sort:Most starsRecentA–Z

OpenFlare

Distributed reverse proxy and edge security control plane

OpenFlare is an open-source reverse proxy and edge gateway with a central control plane and edge agents. It offers zero-reload config sync, WAF rules, tunnels, static Pages hosting, and ACME certificates.

★ 304⟳ todayApache-2.0
Open Source Alternative to:Cloudflare TunnelCloudflare Turnstile
“🛡️ Built-in Edge Security & Anti-CC (Turnstile Alternative): A WAF rule engine, MaxMind GeoIP regional ACLs, and client-side cryptographic Proof of Work (PoW) challenges help mitigate abusive traffic at the edge.”

Procaptcha

Open-source frictionless CAPTCHA and bot defense

Procaptcha is Prosopo's privacy-oriented CAPTCHA and bot protection stack. Sites embed client packages while verification can run through Prosopo hosting or a self-hosted provider deployment.

★ 301⟳ todayApache-2.0
Open Source Alternative to:Cloudflare TurnstilehCaptchareCAPTCHA
“Procaptcha is a drop-in replacement for Turnstile.”

Also does the same job as Cloudflare Turnstile

These projects don't call themselves a Cloudflare Turnstile alternative, but two independent checks of their own description found they do the same main job.

Tiagozip Cap

Self-hosted privacy-first CAPTCHA with proof-of-work

Cap is a self-hosted, privacy-first captcha that uses background proof-of-work and browser checks instead of visual puzzles. It runs with Docker and has no default dependencies.

★ 8.6k⟳ todayApache-2.0
Open Source Alternative to:Cloudflare TurnstilehCaptchareCAPTCHA
“Cap is a free, open-source CAPTCHA alternative. Self-hosted, privacy-first, no Google. Proof-of-work and instrumentation, no visual puzzles. Apache 2.0.”

ALTCHA

Privacy-first self-hosted CAPTCHA alternative with proof-of-work

ALTCHA protects websites, APIs, and forms from spam and bots using background proof-of-work instead of tracking-heavy puzzles. It aims for GDPR-aligned, cookie-free operation and WCAG 2.2 AA accessibility.

★ 2.9k⟳ 8 days agoMIT
Open Source Alternative to:Cloudflare TurnstilehCaptchareCAPTCHA
“ALTCHA protects your site from bots and spam with a privacy-first CAPTCHA — no tracking, no cookies, fully GDPR compliant and WCAG 2.2 AA accessible.”

mCaptcha

Privacy-focused proof-of-work CAPTCHA backend

mCaptcha is a proof-of-work CAPTCHA backend that limits abuse without image puzzles. Sites validate tokens through its API before accepting user requests.

★ 2.5k⟳ 1 year agoAGPL-3.0
Open Source Alternative to:Cloudflare TurnstilereCAPTCHA
“mCaptcha is proof-of-work based captcha system that is privacy focused and fully automated.”

Compare Cloudflare Turnstile alternatives

Questions about Cloudflare Turnstile alternatives

Is there an open-source alternative to Cloudflare Turnstile?

Yes. 5 open-source projects can replace Cloudflare Turnstile, for example Tiagozip Cap, ALTCHA and OpenFlare. 2 of them say so in their own documentation; the other 3 do the same job.

What is the best open-source alternative to Cloudflare Turnstile?

Tiagozip Cap (8.6k GitHub stars) is the most popular open-source alternative to Cloudflare Turnstile on GitHub. The best choice depends on your needs: compare them side by side, for example Tiagozip Cap vs ALTCHA.

Are the open-source alternatives to Cloudflare Turnstile free?

All of the 5 projects listed here are free to use under an open-source license, with no license fee: 4 permissive (such as Apache-2.0), 1 copyleft (such as AGPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.

Related commercial products

reCAPTCHA

Google

4 open-source alternatives

Cloudflare Tunnel

Cloudflare

3 open-source alternatives

hCaptcha

Intuition Machines

3 open-source alternatives