Skip to content
Using the google recaptcha v3 api with C# and ASP.Net
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

google recaptcha v3 c-sharp-example

This example code using the Google reCAPTCHA v3 from to validate online form submissions to help reduce spam and bots.

You will need to generate a site key and secret from the admin console for each website.

Requires Newtonsoft.Json from

Install using package manager in Visual Studio using:

Install-Package Newtonsoft.Json

Requires Jquery for client side code from



Contains the functions to generate the client side javascript and server side processing of the response.


Contains a demo web contact form which shows the responses and score from the Google reCAPTCHA v3.

You can’t perform that action at this time.