Contact Form Zero


Zero Difficulty. Zero Spam.

Add a stupidly simple and lightweight contact form to your website in any page, post, or text widget with this shortcode:


The entire point of this plugin is to be completely hands-free, easy, and just work straight out-of-the-box. Simply plug and play without any settings to adjust.

If you’re looking for the exact opposite of that, that is, a form you can custom build with advanced options, I recommend Contact Form 7.


  • The most lightweight contact form plugin available for WordPress (no settings to adjust or forms to create)
  • Name, Email, Phone, and Message form fields (phone field is optional for your visitors)
  • Automatically sends emails to the email address set under Settings > General > Administration Email Address
  • Highly effective and hidden anti-spam measures (no annoying CAPTCHAs required)
  • Enable Google reCAPTCHA for additional protection if you like (usually no annoying CAPTCHAs required)
  • Enable hCaptcha for additional protection if you like (CAPTCHAs required — only paid accounts offer invisible options)
  • Fully compatible with all the protections of Stop Spammers
  • Easy to customize with CSS (please ask for help if you need it — I’m happy to write custom code for you to copy/paste)

Optional Shortcode Attributes

[contact-form-zero email=""] — Set a custom email address for form submissions to be sent to.

[contact-form-zero accent="#000"] — Change the accent color for the form.

[contact-form-zero unstyled="yes"] — Form is left naked for you or your theme to style.

[contact-form-zero g-key="SITE KEY HERE"] — Add your API key ( to enable Google reCAPTCHA.

[contact-form-zero h-key="SITE KEY HERE"] — Add your API key ( to enable hCaptcha.


There are no settings to adjust. Simply use the [contact-form-zero] shortcode on any page, post, or text widget or in your theme code, use <?php echo do_shortcode( '[contact-form-zero]' ); ?>.


Why am I not receiving emails?

I’m using the built-in wp_mail function. Most hosting environments (even shared hosts like Bluehost and GoDaddy) can handle email, but not very well out-of-the-box and require being optimized. It actually takes quite a bit of work to make sure your emails are deliverable. Some recommendations:

  • Check that your SPF, DKIM, and other email records are set up correctly ( is a great all-around tool for checking and fixing common email deliverability issues)
  • Even on shared hosts, you should be able to add a dedicated IP to your account for very cheap (which allows you to get away from shared IPs that have a bad reputation because your neighbors are spamming)
  • If all else fails, you can abandon using your own server for mail altogether, and host offsite with a free or paid third-party service like Gmail (check out the WP Mail SMTP plugin to go that route)

Why is the CAPTCHA not appearing on my form?

The modern versions of Google reCAPTCHA and hCaptcha are relatively invisible. Be sure to send yourself a test message through your form.


Read all 1 review

Contributors & Developers

“Contact Form Zero” is open source software. The following people have contributed to this plugin.


“Contact Form Zero” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Contact Form Zero” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Added support for hCaptcha


  • Added support for Google reCAPTCHA


  • Minor code cleanup


  • Translation-ready
  • Various improvements


  • Improved sanitization


  • Improved spam protection even more


  • Added optional shortcode attributes for customizing the form


  • Improved spam protection


  • PHP notice fix


  • Added placeholders for form fields


  • New