Quick Start

Lightweight, privacy-first, and designed to put you first. Switch from reCAPTCHA in minutes.

Last updated Jan 27, 2026

Install the SDK and add one line of code.

bun add @requestguard/js
import RequestGuard from "@requestguard/js";

RequestGuard.captcha({
  el: ".rg-captcha",
  onVerify: (result) => {
    // Enable the submit button only after verification succeeds
    document.getElementById("contact-send").disabled = !result.success;
  }
});
<div class="rg-captcha"></div>
<button id="contact-send" disabled>Send</button>

Live Demo

Manual implementation

<script src="https://requestguard.com/js/captcha.js"></script>
<div class="rg-captcha"></div>
<button id="contact-send" disabled>Send</button>
<script>
  RequestGuard.captcha({
    el: ".rg-captcha",
    onVerify: (result) => {
      // Enable the submit button only after verification succeeds
      document.getElementById("contact-send").disabled = !result.success;
    }
  });
</script>