---
title: "Bring your own reCAPTCHA to Netlify Forms | Netlify"
description: "Realize the speed, agility and performance of a scalable, composable web architecture with Netlify. Explore the composable web platform now!"
source: "https://www.netlify.com/blog/2018/05/23/bring-your-own-recaptcha-to-netlify-forms/"
last_updated: "2026-08-29T10:05:13.000Z"
---
Netlify’s [form handling functionality](https://docs.netlify.com/forms/setup/) provides several mechanisms to secure your project from spam messages and abuse. However, our standard conventions can’t always cover every single case. Today, we’re giving you full control to configure reCAPTCHA 2 validations in your forms, regardless of how you decide to build them, by allowing you to set your own reCAPTCHA 2 site keys and secrets.

If you want to to include a reCAPTCHA 2 on your site, you can set the key and secret in your site’s build environment variables, and Netlify will use them to secure your form submissions. Use `SITE_RECAPTCHA_KEY` to set your site key, and `SITE_RECAPTCHA_SECRET` to set the secret provided by reCAPTCHA 2. You can find more details in the [docs](https://docs.netlify.com/forms/setup/).

![reCAPTCHA settings](/v3/img/blog/recaptcha-settings.png)

Questions or feedback about this update? Give us a shout on [Twitter](https://twitter.com/Netlify), or [through support](/support/).

### Share

-   [X (fka Twitter)](https://twitter.com/intent/tweet?text=Bring your own reCAPTCHA to Netlify Forms&url=https://www.netlify.com/blog/2018/05/23/bring-your-own-recaptcha-to-netlify-forms//)
-   [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.netlify.com%2Fblog%2F2018%2F05%2F23%2Fbring-your-own-recaptcha-to-netlify-forms%2F%2F)
-   [Facebook](https://www.facebook.com/sharer.php?u=https://www.netlify.com/blog/2018/05/23/bring-your-own-recaptcha-to-netlify-forms//)
-   [Bluesky](https://bsky.app/intent/compose?text=Bring your own reCAPTCHA to Netlify Forms+https://www.netlify.com/blog/2018/05/23/bring-your-own-recaptcha-to-netlify-forms//)

* * *

### Tags

-   [Forms](/blog/tags/forms/)

## Keep reading

![](/_astro/293b82c564c394853a3b9f6f7c4df278dd41846d-1200x675_4A4KF.webp)

News & Announcements August 25, 2026

[

### Compete in OpenAI’s WebMCP Challenge with Netlify

](/blog/compete-openai-webmcp-challenge)

-   ![Profile picture of Karthik Puvvada](/_astro/e5524d3c315ad5114e1d5300d8991bfe902916fe-192x192_Z1w18MB.webp)
    
    Karthik Puvvada
    

![](/_astro/0650db9aa1a0dd8f146c91d7c19161c57ba0833a-1600x900_Z1nSiGU.webp)

News & Announcements August 19, 2026

[

### New clarifying questions in Agent Runners

](/blog/new-clarifying-questions-in-agent-runners)

-   ![Profile picture of Taylor Barnett-Torabi](/_astro/cf4624da8c1286738397b6fecb53bad504df140b-400x400_ZsvK0s.webp)
    
    Taylor Barnett-Torabi
    

## Recent posts

News & Announcements August 25, 2026

[

### Compete in OpenAI’s WebMCP Challenge with Netlify

](/blog/compete-openai-webmcp-challenge)

-   ![Profile picture of Karthik Puvvada](/_astro/e5524d3c315ad5114e1d5300d8991bfe902916fe-192x192_Z1w18MB.webp)
    
    Karthik Puvvada
    

News & Announcements August 19, 2026

[

### New clarifying questions in Agent Runners

](/blog/new-clarifying-questions-in-agent-runners)

-   ![Profile picture of Taylor Barnett-Torabi](/_astro/cf4624da8c1286738397b6fecb53bad504df140b-400x400_ZsvK0s.webp)
    
    Taylor Barnett-Torabi
    

Opinions & Insights August 14, 2026

[

### The full power of Git, without the friction: A conversation with Netlify CTO Dana Lawson

](/blog/netlify-source-with-netlify-cto-dana-lawson)

-   ![Profile picture of Dana Lawson](/_astro/856bf146d0c05c9dc25d45b59f7eac955fbbd644-512x512_1n84rs.webp)
    
    Dana Lawson
    

![](/_astro/3f255b372fa958df35802666ee33b4609b2d71bd-1200x1586_1VtE2D.webp)

### How do the best dev and marketing teams work together?

[Access the report](https://www.netlify.com/reports/2024-leadership-trend-report/access/)