Zero-CAPTCHA Anti-Spam Tool

HTML Honeypot Spam Trap Generator

Protect landing page conversion rates by replacing image CAPTCHAs with accessible, invisible honeypot traps.

Honeypot Settings

Tip: Use _gotcha if posting to SubmitDrop for automatic zero-config spam filtering.

1. Frontend Form Markup
<!-- HTML Silent Anti-Spam Honeypot -->
<div style="position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none;" aria-hidden="true">
  <label for="hp__gotcha">Leave this field empty</label>
  <input
    id="hp__gotcha"
    type="text"
    name="_gotcha"
    tabindex="-1"
    autocomplete="off"
  />
</div>
2. Optional Server Validation Handler
// Server-Side Validation (Node.js / Next.js Route Handler)
// Note: SubmitDrop handles "_gotcha" automatically for you!
export async function POST(req: Request) {
  const data = await req.json();

  // If a bot filled the hidden honeypot field, return fake 200 OK silently
  if (data['_gotcha'] && String(data['_gotcha']).trim().length > 0) {
    return Response.json({ success: true, filtered: true }, { status: 200 });
  }

  // Proceed with real lead processing...
  return Response.json({ success: true });
}

Honeypot vs. reCAPTCHA: Which Should You Choose?

Visual CAPTCHA widgets inject third-party JavaScript, slow down Core Web Vitals, and frustrate real visitors. A properly hidden honeypot adds 0ms of render blocking and stops automated form scrapers silently. Read our full guide: How to Stop Contact Form Spam Without CAPTCHA →

Frequently Asked Questions

Does a honeypot hurt accessibility or screen readers?

No, as long as you add aria-hidden="true" on the wrapper and tabindex="-1" on the input, keyboard users and screen readers skip it completely.

Should I use display:none or off-screen positioning?

Off-screen positioning (position: absolute; left: -9999px) is harder for sophisticated bots to detect because some scrapers check computed display:none styles before filling inputs.

Why return HTTP 200 OK instead of 400 when a bot triggers the honeypot?

Returning a silent 200 OK tricks automated bots into thinking their spam succeeded so they move on without reverse-engineering your form validation.

Want built-in _gotcha spam filtering with zero backend code?

Create 3 free SubmitDrop endpoints (250 leads/mo) in 10 seconds.

Get Free Endpoint