---
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-11-08T01:45:17.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)
-   [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

![](/images/blog/edge-functions-firecracker-microvms.png)

News & Announcements September 29, 2026

[

### 5x faster Edge Functions: v8 isolates to Unikraft MicroVMs

](/blog/edge-functions-firecracker-microvms/)

-   Jake Champion
    
-   ![Profile picture of Aarthy Chandrasekhar](/images/people/aarthy-chandrasekhar.jpg)
    
    Aarthy Chandrasekhar
    
-   ![Profile picture of Ivan Zarea](/_astro/451968a8e873f95cf69c7edd78eb29a9035541eb-1024x1024_2wyTXf.webp)
    
    Ivan Zarea
    

![](/_astro/293b82c564c394853a3b9f6f7c4df278dd41846d-1200x675_1XQqSx.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_qfdWJ.webp)
    
    Karthik Puvvada
    

## Recent posts

News & Announcements September 29, 2026

[

### 5x faster Edge Functions: v8 isolates to Unikraft MicroVMs

](/blog/edge-functions-firecracker-microvms/)

-   Jake Champion
    
-   ![Profile picture of Aarthy Chandrasekhar](/images/people/aarthy-chandrasekhar.jpg)
    
    Aarthy Chandrasekhar
    
-   ![Profile picture of Ivan Zarea](/_astro/451968a8e873f95cf69c7edd78eb29a9035541eb-1024x1024_2wyTXf.webp)
    
    Ivan Zarea
    

Opinions & Insights September 22, 2026

[

### How we built Git storage for millions of Netlify projects

](/blog/how-we-built-git-storage-for-millions/)

-   ![Profile picture of Philippe Serhal](/_astro/795792fe4d14648b1b96285e46426ed964b802d7-512x512_Z23ebKb.webp)
    
    Philippe Serhal
    

Tools & Services September 10, 2026

[

### Cursor Origin repositories build, preview, and deploy on Netlify

](/blog/cursor-origin-repositories-on-netlify/)

-   ![Profile picture of Gehrig Kunz](/_astro/b4e9f58d914d1334ea70d53ea55a1f26b26f1445-512x512_Z202edR.webp)
    
    Gehrig Kunz
    

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

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

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