hCaptcha for WP
by hcaptcha 4.6 (86 reviews)

hCaptcha for WP

The strongest CAPTCHA. Switch from reCAPTCHA and Turnstile for free. Works with 60+ integrations: Contact Form 7, Elementor, WooCommerce, Divi, etc.

Compatible with WP 7
v5.1.0 Current Version v5.1.0
Updated 2 weeks ago Last Update on 05 Jul, 2026
Refreshed 6 hours ago Last Refreshed on
View on WordPress.org
Rank
#577
+1 this week
Active Installs
70K+
No change
KW Avg Position
7.4
No change
Downloads
1.9M
+87 today
Support Resolved
83%
No change
Rating
92%
Review 4.6 out of 5
4.6 (86 reviews)

Next Milestone 80K

Total Progress 88.5%
70K+ 80K+
7
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 1,148 more installs to reach 80K+

Rank Changes

548 563 578 592 607 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
547 562 577 592 607 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
547 562 578 593 608 25-06-2026 26-06-2026 27-06-2026 28-06-2026 29-06-2026 30-06-2026 01-07-2026 02-07-2026 03-07-2026 04-07-2026 05-07-2026 06-07-2026 07-07-2026 08-07-2026 09-07-2026 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
571 577 584 590 596 26-04-2026 27-04-2026 28-04-2026 29-04-2026 30-04-2026 01-05-2026 02-05-2026 03-05-2026 04-05-2026 05-05-2026 06-05-2026 07-05-2026 08-05-2026 09-05-2026 10-05-2026 11-05-2026 12-05-2026 13-05-2026 14-05-2026 15-05-2026 16-05-2026 17-05-2026 18-05-2026 19-05-2026 20-05-2026 21-05-2026 22-05-2026 23-05-2026 24-05-2026 25-05-2026 26-05-2026 27-05-2026 28-05-2026 29-05-2026 30-05-2026 31-05-2026 01-06-2026 02-06-2026 03-06-2026 04-06-2026 05-06-2026 06-06-2026 07-06-2026 08-06-2026 09-06-2026 10-06-2026 11-06-2026 12-06-2026 13-06-2026 14-06-2026 15-06-2026 16-06-2026 17-06-2026 18-06-2026 19-06-2026 20-06-2026 21-06-2026 22-06-2026 23-06-2026 24-06-2026 25-06-2026 26-06-2026 27-06-2026 28-06-2026 29-06-2026 30-06-2026 01-07-2026 02-07-2026 03-07-2026 04-07-2026 05-07-2026 06-07-2026 07-07-2026 08-07-2026 09-07-2026 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
Current #577
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 200 400 600 800 1K 1.2K 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
0 500 1K 1.5K 2K 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
0 5K 10K 15K 20K 25-06-2026 26-06-2026 27-06-2026 28-06-2026 29-06-2026 30-06-2026 01-07-2026 02-07-2026 03-07-2026 04-07-2026 05-07-2026 06-07-2026 07-07-2026 08-07-2026 09-07-2026 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026
0 5K 10K 15K 20K 26-04-2026 29-04-2026 02-05-2026 05-05-2026 08-05-2026 11-05-2026 14-05-2026 17-05-2026 20-05-2026 23-05-2026 26-05-2026 29-05-2026 01-06-2026 04-06-2026 07-06-2026 10-06-2026 13-06-2026 16-06-2026 19-06-2026 22-06-2026 25-06-2026 28-06-2026 01-07-2026 04-07-2026 07-07-2026 10-07-2026 13-07-2026 16-07-2026 19-07-2026 22-07-2026 25-07-2026
0 5K 10K 15K 20K 25-07-2025 06-08-2025 18-08-2025 30-08-2025 11-09-2025 23-09-2025 05-10-2025 17-10-2025 29-10-2025 10-11-2025 22-11-2025 04-12-2025 16-12-2025 28-12-2025 09-01-2026 21-01-2026 02-02-2026 14-02-2026 26-02-2026 10-03-2026 22-03-2026 03-04-2026 15-04-2026 27-04-2026 09-05-2026 21-05-2026 02-06-2026 14-06-2026 26-06-2026 08-07-2026 20-07-2026 25-07-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.6
86 reviews
Overall 92%
5
73 (85%)
4
3 (3%)
3
2 (2%)
2
2 (2%)
1
6 (7%)

Tracked Keywords

Showing 5 of 5
Keyword Position Change Type Updated
hcaptcha 1 Tag 10 hours ago
antispam 5 Tag 10 hours ago
captcha 7 Tag 10 hours ago
recaptcha 8 Tag 10 hours ago
spam 16 Tag 10 hours ago

Unlock Keyword Analytics

Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.

  • Full keyword position tracking
  • Historical ranking data
  • Competitor keyword analysis
Upgrade to Pro

Support Threads Overview

Resolved
Unresolved
12
Total Threads
10
Resolved
2
Unresolved
83%
Resolution Rate

Track This Plugin

Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.

Start Tracking Free

Plugin Details

Version
5.1.0
Last Updated
Jul 05, 2026
Requires WP
6.0+
Tested Up To
7
PHP Version
7.4 or higher
Author
hcaptcha

Support & Rating

Rating
★ ★ ★ ★ ★ 4.6
Reviews
86
Support Threads
12
Resolved
83%

Keywords

Upgrade to Pro

Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.

Upgrade Now

Frequently Asked Questions

Common questions about hCaptcha for WP

The hCaptcha plugin supports WordPress core and many plugins with forms automatically. You should select the supported forms on the hCaptcha Integrations settings page. For non-standard cases, you can use the [hcaptcha] shortcode provided by the plugin. For example, we support Contact Forms 7 automatically. However, sometimes a theme can modify the form. In this case, you can manually add the [cf7-hcaptcha] shortcode to the CF7 form. To make hCaptcha work, the shortcode must be inside the ... tag.
Go to Settings → hCaptcha → Tools and use the Migration Wizard. It scans your site for existing CAPTCHA providers, shows what can be migrated, and applies the changes in one click.
hCaptcha exposes selected security actions via the WordPress Abilities API for use with automation tools, WP-CLI, and AI agents, making it suitable for agencies managing multiple WordPress sites. Requires WordPress 6.9 or newer. The typical workflow consists of two steps: inspect threats and block offenders. ** 1. Inspect recent threat activity ** You can request an aggregated threat snapshot for a given time window. Using WP-CLI: wp ability run hcaptcha/get-threat-snapshot --input='{"window":"55d"}' --user=admin Using REST API (authenticated): curl --globoff -u "USER:APP_PASSWORD" \ "https://example.com/wp-json/wp-abilities/v1/abilities/hcaptcha/get-threat-snapshot/run?input[window]=55d" The response includes: * overall metrics (total requests, failure rate) * confidence and top error vectors * breakdown by error type and form source * a list of top offenders (if present) Example (simplified): { "metrics": { "total": 353, "failed": 215, "fail_rate": "0.61" }, "signals": { "confidence": "high", "top_vectors": ["empty", "spam"] }, "breakdown": { "errors": { "empty": 160, "spam": 16 }, "offenders": [ { "offender_id": "a1376a016c4156933c4d49b0bc56fa01", "type": "ip", "count": 2 } ] } } ** 2. Block abusive offenders ** If an offender appears suspicious, you can block it using its offender_id. Using WP-CLI: wp ability run hcaptcha/block-offenders \ --input='{"offender_ids":["a1376a016c4156933c4d49b0bc56fa01"]}' \ --user=admin Using REST API (authenticated): curl --globoff -u "USER:APP_PASSWORD" \ "https://example.com/wp-json/wp-abilities/v1/abilities/hcaptcha/block-offenders/run?input[offender_ids][]=a1376a016c4156933c4d49b0bc56fa01" Example response: { "blocked": ["a1376a016c4156933c4d49b0bc56fa01"], "effective_until": "2026-01-01T22:22:09Z" } ** What is offender_id? ** offender_id is a stable hash of the IP address. Raw IP addresses are never exposed to automation clients or AI agents. This allows privacy-safe analysis and blocking, while still enabling deterministic enforcement. ** Can AI agents use this automatically? ** Yes. You can point an AI agent to a WordPress site with Abilities enabled and instruct it to: * discover available abilities * collect threat statistics * decide whether activity looks abusive * block the most active offenders Internally, the agent performs the same commands shown above (wp ability list, get-threat-snapshot, block-offenders). ** 3. Export plugin settings ** You can export current plugin settings as JSON (optionally including keys) for backup or migration. Using WP-CLI: wp ability run hcaptcha/export-settings --include_keys --user=admin Using REST API (authenticated): curl --globoff -u "USER:APP_PASSWORD" \ "https://example.com/wp-json/wp-abilities/v1/abilities/hcaptcha/export-settings/run?input[include_keys]=1" ** 4. Import plugin settings ** Import settings from a JSON file path on the server. Use allow_keys to apply the keys block and dry_run to validate without saving. Using WP-CLI: wp ability run hcaptcha/import-settings --allow_keys --dry-run=false --user=igor --input_file=1.json Using REST API (authenticated): curl --globoff -u "USER:APP_PASSWORD" \ "https://example.com/wp-json/wp-abilities/v1/abilities/hcaptcha/import-settings/run?input[input_file]=%2Fpath%2Fto%2Fhcaptcha-settings.json&input[allow_keys]=1&input[dry_run]=0" WP-CLI commands for exporting and importing settings The plugin also adds the wp hcaptcha export and wp hcaptcha import commands. Export settings ` wp hcaptcha export --pretty > hcaptcha-settings.json wp hcaptcha export --include-keys --file=./hcaptcha-settings.json ` Parameters: * --include-keys — include the site_key and secret_key values. * --pretty — pretty-print JSON for readability. * --file=<path> — write JSON to a file instead of STDOUT. Import settings ` wp hcaptcha import ./hcaptcha-settings.json wp hcaptcha import ./hcaptcha-settings.json --dry-run wp hcaptcha import ./hcaptcha-settings.json --allow-keys ` Parameters: * --dry-run — validate the JSON without saving. * --allow-keys — allow importing keys from the keys block.
Open a PR on GitHub: or just email the authors of plugin X. Adding hCaptcha support is typically quite a quick task for most plugins.
Full list of arguments: [hcaptcha action="my_hcap_action" name="my_hcap_name" auto="true|false" ajax="true|false" force="true|false" theme="light|dark|auto" size="normal|compact|invisible"] The shortcode adds not only the hCaptcha div to the form but also a nonce field. You can set your own nonce action and name. For this, use arguments in the shortcode: [hcaptcha action="my_hcap_action" name="my_hcap_name"] and in the verification: $result = \HCaptcha\Helpers\API::verify_post( 'my_hcap_name', 'my_hcap_action' ); For the explanation of the auto="true|false" argument, see the section "How to automatically verify an arbitrary form". By default, auto="false". The argument force="true|false" allows forcing verification of hCaptcha widget before submitting the form. By default, force="false". The argument size="normal|compact|invisible" allows setting the size of hCaptcha widget. By default, size="normal".
First, add the hCaptcha snippet to the form. If you create the form as an HTML block in the post content, insert the shortcode [hcaptcha] inside it. It may look like this: <form method="post"> <input type="text" name="test_input"> <input type="submit" value="Send"> [hcaptcha] </form> If you create the form programmatically, insert the following statement inside it: ?> <form method="post"> <input type="text" name="test_input"> <input type="submit" value="Send"> <?php echo do_shortcode( '[hcaptcha]' ); ?> </form> <?php Secondly, verify the result of hCaptcha challenge. $result = \HCaptcha\Helpers\API::verify_request(); if ( null !== $result ) { echo esc_html( $result ); // Block processing of the form. }
Arbitrary user forms can be verified easily. Just add auto="true" or auto="1" to the shortcode: [hcaptcha auto="true"] and insert this shortcode into your form. Auto-verification works with forms sent by POST on frontend only. It works with forms in the post content and in widgets. You can add also force="true" or force="1" argument to prevent sending a form without checking the hCaptcha. [hcaptcha auto="true" force="true"] Arbitrary forms can also be verified in ajax via the ajax argument. There is no need to specify auto="true" in this case, as ajax implies auto="true". [hcaptcha ajax="true"]
hCaptcha starts early, so you cannot use standard WP functions to determine the page. For instance, to block it on my-account page, add the following code to your plugin's (or mu-plugin's) main file. This code won't work being added to a theme's functions.php file. /** * Filter hCaptcha activation flag. * * @param bool|mixed $activate The activate flag. * * @return bool */ function my_hcap_activate( $activate ): bool { $status = (bool) $status;
filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ), FILTER_SANITIZE_FULL_SPECIAL_CHARS ) : ''; if ( '/my-account/' === $url ) { return false; } return $activate; } add_filter( 'hcap_activate', 'my_hcap_activate' );
As an example, to block hCaptcha scripts everywhere except on the contact page: /** * Block inline styles. * * @return void */ function hcap_block_inline_styles() { if ( is_page( 'contact' ) ) { return; } $hcaptcha = hcaptcha(); remove_action( 'wp_head', [ $hcaptcha, 'print_inline_styles' ] ); remove_filter( 'wp_resource_hints', [ $hcaptcha, 'prefetch_hcaptcha_dns' ] ); } add_action( 'wp_head', 'hcap_block_inline_styles', 0 ); Skipping hCaptcha verification on a specific form The plugin has a filter to skip adding and verifying hCaptcha on a specific form. The filter receives three parameters: current protection status ('true' by default), source, and form_id. The source is the plugin's slug (like 'directory/main-plugin-file.php'), the theme name (like 'Avada') or the WordPress core (like 'WordPress'). The form_id is the form_id for plugins like Gravity Forms or WPForms, the post id for comments, or a general name of the form when the form does not have an id (like WordPress core login form). Filter arguments for some plugins/forms are listed below. Affiliates $source: 'affiliates/affiliates.php' $form_id: 'login' or 'register' Back In Stock Notifier $source: 'back-in-stock-notifier-for-woocommerce/cwginstocknotifier.php' $form_id: product_id BBPress $source: 'bbpress/bbpress.php' $form_id: 'new_topic', 'reply', 'login', 'register' or 'lost_password' Beaver Builder $source: 'bb-plugin/fl-builder.php' $form_id: 'contact' or 'login' Blocksy $source: 'blocksy' $form_id: 'newsletter-subscribe', '$layer["__id"]', or 'product_id Brizy $source: 'brizy/brizy.php' $form_id: 'form' BuddyPress $source: 'buddypress/bp-loader.php' $form_id: 'create_group' or 'register' Classified Listing $source: 'classified-listing/classified-listing.php' $form_id: 'contact', 'login', 'lost_password' or 'register' Divi $source: 'Divi' $form_id: post_id for comment form, 'contact', 'email_optin', or 'login'

Sign In / Register

You need to sign in or register to use this feature.