How to Add a CAPTCHA to Your Contact Form: Joomla, WordPress and Any Website
InfoPeak Captcha now has an official plugin for Joomla 5 and 6. Here is every way to add a free, GDPR-compliant CAPTCHA to your contact form, from Contact Form 7 and Gravity Forms to two lines of HTML.
Your contact form is the first thing bots find. InfoPeak Captcha now has an official plugin for Joomla 5 and 6, and it joins the WordPress plugin for Contact Form 7, WPForms and Gravity Forms, the server libraries and the two lines of HTML that work on any website. Here is how to add a free, GDPR-compliant CAPTCHA to your contact form, whatever your site runs on.
Every way to add a CAPTCHA to your contact form, at a glance
InfoPeak Captcha is a privacy-first captcha hosted in the EU. It uses proof of work instead of puzzles, sets no cookies and is free for up to 10,000 verifications a month. These are the ways to add it:
| Your site | How to add it | Server code to write |
|---|---|---|
| Joomla 5 or 6 | The InfoPeak Captcha plugin from the Joomla Extensions Directory | None |
| WordPress | The InfoPeak Captcha plugin from WordPress.org | None |
| InfoPeak Forms | Add the widget to the form | None |
| Your own code | Two lines of HTML and one verification call | One request |
| Node.js, PHP, Python or Go | A ready-made library | One function call |
| Already on another captcha | Swap the script, the widget element and the verify address | One changed address |
A free CAPTCHA your visitors never notice
InfoPeak Captcha does not ask people to pick traffic lights or read warped letters. The moment a visitor starts filling in a form, their browser solves a small computing task in the background. Your server then asks InfoPeak whether the answer is genuine before it accepts the form. For a person it takes a fraction of a second. For a bot sending thousands of forms, it adds up to real cost.
- Nothing to click or solve: no image grids and no puzzles, so the form stays accessible.
- No cookies and no tracking: there is nothing to add to your cookie banner for the captcha.
- Hosted in the EU: the service runs in the EU, and your server sends only the sitekey, the secret and the token. Nothing about the visitor or the form content.
- Only valid verifications count: stopped bots and fake or reused tokens never count toward your quota.
- Free to start: 10,000 verifications a month at no cost, with no card required.
New: a CAPTCHA plugin for Joomla 5 and 6
The Joomla plugin is built on the captcha system in Joomla 5 and 6, so you choose it in Global Configuration like any other captcha. It is listed in the Joomla Extensions Directory, and updates arrive through the normal Joomla update screen.
It protects every Joomla form that offers a captcha:
- User registration
- Forgot your password and forgot your username
- Contact forms
- Forms from other extensions that use the Joomla captcha system
How to add a captcha to Joomla in three steps
- Install: in System, Install, Extensions, upload the plugin from the Joomla Extensions Directory. It is switched on automatically.
- Enter your keys: open the plugin settings and paste the sitekey and secret from your Captcha console.
- Choose it: in Global Configuration, set Default Captcha to InfoPeak Captcha.
The settings page checks your keys with InfoPeak and shows which forms are protected, so you can see at a glance that everything is in place. Joomla itself has no captcha on its login form, so the login form is not part of it.
WordPress: CAPTCHA for Contact Form 7, WPForms and Gravity Forms
The InfoPeak Captcha plugin for WordPress adds the captcha to your forms automatically. You switch each form type on or off on one settings page:
- WordPress itself: login, registration, lost password and comments.
- Form plugins: Contact Form 7, WPForms, Jetpack Forms and Gravity Forms, where you choose the forms one by one.
- Shop: the classic WooCommerce checkout.
Add a CAPTCHA to any website: two lines of HTML
If you build the site yourself, you place the widget in your form and load the script:
<div class="infopeak-captcha" data-sitekey="YOUR_SITEKEY"></div>
<script src="https://captcha.infopeak.io/infopeak-captcha.js" defer></script>When the form arrives, your server sends the token to InfoPeak with your sitekey and secret and gets a clear yes or no back. The developer documentation has the full reference and ready examples in PHP, Node.js, Python, Go and Ruby.
Ready-made libraries for your backend
Prefer a package to a hand-written call? The server-side check is published for the most common languages:
- Node.js: @infopeak/captcha on npm
- PHP: infopeak/captcha on Packagist
- Python: infopeak-captcha on PyPI
- Go: captcha-go
InfoPeak Forms: the check is already built in
With InfoPeak Forms you do not write any server code at all. You add the widget to the form, and Forms checks the token itself before it saves an answer. The answers are encrypted, so only you can read them.
Switching from another captcha
Coming from reCAPTCHA v2, hCaptcha or Turnstile, you change three things: the script, the widget element and the address you verify tokens at. The widget can keep your current form field name, and the verification answer has the same shape, so your form handling stays as it is. The developer documentation lists the exact lines for each of them.
For agencies: every client in one console
Whether a client runs Joomla, WordPress or a custom site, it is the same captcha and the same console. With the InfoPeak partner programme you create a Captcha account for each client, see every client's usage in one place and receive one invoice for all of them, at partner prices.
Frequently asked questions
How do I add a CAPTCHA to a contact form?
On Joomla, install the InfoPeak Captcha plugin and choose it as the default captcha. On WordPress, install the InfoPeak Captcha plugin and switch on the form plugin you use, such as Contact Form 7, WPForms or Gravity Forms. On any other site, add the widget and the script to the form and verify the token on your server. In InfoPeak Forms the check is already built in.
How do I add a CAPTCHA to Contact Form 7?
Install the InfoPeak Captcha plugin from WordPress.org, paste your sitekey and secret, and switch on Contact Form 7 on the settings page. The widget is added to your Contact Form 7 forms automatically, so there is nothing to edit in the forms.
How do I add a captcha to Joomla?
Install the InfoPeak Captcha plugin from the Joomla Extensions Directory, paste your sitekey and secret in the plugin settings, and set Default Captcha to InfoPeak Captcha in Global Configuration. Registration, password and username reminders and contact forms are then protected.
Does the plugin protect the Joomla login form?
No. Joomla has no captcha on its login form, for the site or the administrator, so no captcha plugin can protect it through the Joomla captcha system.
Which Joomla versions does the plugin support?
Joomla 5 and Joomla 6, on PHP 8.1 or later. Joomla 4 has reached the end of its life and is not supported.
Do my visitors have to click or solve anything?
No. The browser solves the task in the background while the visitor fills in the form. There is nothing to click and nothing to solve.
Can I try it before I create an account?
Yes. The public test keys ipk_test_sitekey and ipk_test_secret work on any domain and never count toward a quota. Replace them with your own keys before the site goes live.
What does InfoPeak Captcha cost?
Up to 10,000 verifications a month are free, with no card required, and only valid verifications count. If you need more, the paid plans are on the Captcha pricing page.
Is InfoPeak Captcha GDPR-friendly?
It is hosted in the EU, sets no cookies and does not track visitors. When a form is sent, your server sends only the sitekey, the secret and the token, never anything about the visitor or what they wrote.
Pick the way that fits your site and protect your forms today with InfoPeak Captcha.
More from Product News
The Inner Circle
Sign up for occasional insights on digital sovereignty and InfoPeak updates. No noise, no spam. Just pure value.
Claim your sovereignty.
You've explored the why. Start free - encrypted mail, files, calendar and docs on EU infrastructure. No credit card. No trial. Free forever.
Start free