IconCaptcha 3.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package IconCaptcha --version 3.0.0
NuGet\Install-Package IconCaptcha -Version 3.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IconCaptcha" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IconCaptcha --version 3.0.0
#r "nuget: IconCaptcha, 3.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install IconCaptcha as a Cake Addin
#addin nuget:?package=IconCaptcha&version=3.0.0

// Install IconCaptcha as a Cake Tool
#tool nuget:?package=IconCaptcha&version=3.0.0

<br/> <p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://i.imgur.com/k8sIUQI.png"> <source media="(prefers-color-scheme: light)" srcset="https://i.imgur.com/RMUALSz.png"> <img alt="IconCaptcha Logo" src="https://i.imgur.com/RMUALSz.png"> </picture> </p>

<p align="center"> <strong>A self-hosted, customizable, easy-to-implement and user-friendly captcha.</strong> </p>

<p align="center"> <a href="https://github.com/fabianwennink/IconCaptcha-ASP.NET/releases"><img src="https://img.shields.io/badge/version-3.0.0-orange.svg?style=flat-square" alt="Version" /></a> <a href="https://packagist.org/packages/fabianwennink/iconcaptcha"><img src="https://img.shields.io/nuget/dt/IconCaptcha?style=flat-square" alt="Latest Version on Packagist" /></a> <a href="https://fabianwennink.nl/projects/IconCaptcha-ASP.NET/license"><img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square" alt="License" /></a> <a href="https://paypal.me/nlgamevideosnl"><img src="https://img.shields.io/badge/support-PayPal-lightblue.svg?style=flat-square" alt="Support via PayPal" /></a> <a href="https://www.buymeacoffee.com/fabianwennink"><img src="https://img.shields.io/badge/support-Buy_Me_A_Coffee-lightblue.svg?style=flat-square" alt="Buy me a coffee" /></a> </p>

Introducing IconCaptcha, a self-hosted captcha solution that's designed to be fast, user-friendly, and highly customizable. Unlike other captchas, IconCaptcha spares users the need of deciphering hard-to-read text images, solving complex math problems, or engaging with perplexing puzzle games. Instead, with IconCaptcha it's as straightforward as comparing up to 8 icons and selecting the least common one.

IconCaptcha doesn't just prioritize users; it's also developer-friendly. In just a few steps, you can have IconCaptcha integrated into your website. Even if you're new to ASP.NET and JavaScript, installing IconCaptcha is a straightforward process. The included demo pages in this repository provide all the necessary code to get IconCaptcha up and running. For more in-depth insights, take a moment to explore the information provided on this page and the wiki.

▶ Try the live demo here!

<img src="https://i.imgur.com/WsWdBRL.png" title="IconCaptcha widget examples" alt="IconCaptcha light and dark theme widget examples." />

Using PHP instead? Try IconCaptcha for PHP


Package Manager: Install-Package IconCaptcha
.NET CLI: dotnet add package IconCaptcha

Once the package has been installed, continue with the remaining setup instructions.


  • User Friendly: The captcha uses easily understandable images instead of hard to read texts to complete the captcha.
  • Server-side Validation: All validation done by the captcha will be performed on the server-side instead of the client-side.
  • Self Hosted: Because IconCaptcha is a self-hosted plugin, you are not relying on any third party.
  • No Data Sharing: Unlike captchas such as Google ReCaptcha, no user data will be stored or sold to third parties.
  • jQuery Support: IconCaptcha is written in plain JavaScript, but hooks into jQuery to allow you to integrate it in your jQuery code.
  • Modern Design: The look and feel of IconCaptcha fits every modern website design.
  • Events: Events are triggered at various points in the code, allowing you to hook into them and execute custom code if necessary.
  • Themes: Select the design of the captcha without having to ever touch a stylesheet, or create your own custom theme.
  • SASS: The project contains a SASS file, allowing you to easily style and compile the stylesheet.
  • IE 10+ Support: IconCaptcha has been tested in Internet Explorer 10 & 11 and is functional in both versions.

New in v3

In version 3 of IconCaptcha, the whole plugin got an overhaul - both client-side and server-side. With better security features, more customizations/options, new themes, no more jQuery dependency and 250 icons, version 3 is the biggest change to IconCaptcha yet.

  • No longer required to use jQuery, although IconCaptcha can still be used with jQuery.
  • More captcha image generation options to increase the difficulty.
  • Automatic captcha invalidation after a period of no user interaction.
  • Automatic timeouts when too many incorrect selections were made by the user.
  • New light and dark themes with more modern designs, with improved support for custom themes.
  • Includes 250 new modern icons, created by BlendIcons.
  • Better stability, general code improvements and bug fixes.


For information on how to install, implement and configure IconCaptcha, please check the wiki pages.


The icons used in this project are made by BlendIcons.


This project is licensed under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.1 139 1/16/2024
3.0.0 106 1/13/2024
1.0.0 1,719 8/7/2018