Free · No signup

Honeypot Field Generator

Generate an accessible anti-spam honeypot that bots fill and humans never see. Includes a visible test-mode snippet.

Do not use type="hidden" for honeypots. Many bots skip hidden inputs. Use a real text input positioned off-screen.

Production snippet

Output
<!-- Honeypot: bots fill this; humans never see it. Leave empty. -->
<input type="text" name="_gotcha" tabindex="-1" autocomplete="off" aria-hidden="true"
       style="position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;opacity:0" />

Test-mode snippet

Output
<!-- TEST MODE — visible honeypot. Do NOT ship this. -->
<!-- Submit once empty (should succeed) and once filled (should be spam). -->
<input type="text" name="_gotcha" tabindex="-1" autocomplete="off"
       style="border:2px dashed #d97706;padding:8px;background:#fff7ed;color:#9a3412" />

More free tools