Integrations Hero

Free Email Validation JavaScript Widget

ZeroBounce Image
ZeroBounce Image

Email

Need real-time email validation for your forms?

The ZeroBounce JavaScript widget is a plug-and-play email validation and verification tool designed for websites without server-side capabilities. Customize the widget to fit your form, copy and paste it, and automatically check email signups.

Try it free – create a free ZeroBounce account today and get access to the JavaScript widget along with 60+ unique integrations!

Try the JavaScript widget free

Get 100 credits free monthly when you sign up with a business/premium domain.

The No. 1 email validationA process that determines if an email address uses valid syntax, exists on a given domain, and is configured to receive incoming email messages service for 400,000+ clients

ZeroBounce JavaScript widget features

Real-time email validation checks for front-end users

Can’t access the back end when using drag-and-drop builders like Unbounce or Instapage?

The free ZeroBounce JavaScript widget allows you to copy and paste our email validation tool into your forms with minimal setup. Follow our easy-to-use guide to set up the necessary fields, paste the widget, and check incoming email signups in real time.

Example of a valid email signup

ZeroBounce Image

Example of an invalid email signup

ZeroBounce Image

Domain-specific validation

Create a unique API key bound to your desired website domain. To prevent fraud or form abuse, the JavaScript widget will only check emails entered on your website.

Customizable email validation rules

The JavaScript widget includes easy-to-use setup options on your dashboard. Check the box next to the email types you consider “valid,” and we’ll automatically block the rest. The detectable email categories include:

  • Valid
  • Invalid
  • Catch all
  • Unknown
  • Spamtrap
  • Abuse
  • Do not mail
ZeroBounce Image

Throttle rules to prevent spam and abuse

Don’t waste your email checks on bots and bad actors. Customize your throttle limits and set the JavaScript widget to allow or block future form entries for the next 24 hours.

ZeroBounce Image

Customize your email verification message

Use the built-in prompts to create customized “valid” and “invalid” email messages that appear depending on the result. Help your users understand the error and show them how they can provide accurate data.

ZeroBounce Image

Block invalid emails or record incoming signups

The JavaScript widget provides two easy options to protect your database and mailing list:

  • Automatically block all email types you select as “invalid”
  • Allow all signups and record those entries for further data analysis

How to use the email validation JavaScript widget

To use our free JavaScript email checker, you’ll just need two things:

  • A website page with a form that includes an email type field with the class: zb email
  • A free ZeroBounce account to access the JS widget

Then, add the JavaScript code snippet to your form in a few simple steps:

  1. Enter your domain and generate a new API key.
  2. Customize your rules: select your approved email types, set up your throttle rules, and customize your messages.
  3. Finally, copy and paste the code into the front end of your website to enable email validation!

Turn this…

ZeroBounce Image

Into this!

ZeroBounce Image

For in-depth instruction and explanation of the ZeroBounce JavaScript widget rules, check out our official documentation.

Read the JS Widget docs

Why use the free ZeroBounce JavaScript widget?

ZeroBounce Image Protect your email list and database from invalid emails, bot signups, and bad actors

ZeroBounce Image Simplified implementation for front-end users with no access to the website backend

ZeroBounce Image Built-in protection and throttle rules to minimize spam and form abuse

ZeroBounce Image Help your visitors spot and correct typos when entering email addresses

ZeroBounce Image Keep tabs on all email data that’s submitted through your form

ZeroBounce Image Improve your email lead quality and lower your email bounce ratesThe percentage of emails that are undelivered vs. delivered to the intended recipient.

ZeroBounce Image Minimal coding and zero expertise required

Try the free email validation JavaScript widget now

Don’t waste time emailing fake or invalid mailboxes. Protect your forms and provide your marketing and sales teams with high-quality email data.
Create a free ZeroBounce account today and get access to the JS Widget, plus these recurring monthly benefits:

moosend_s5_b_1

100 credits for email validation and Email ScoringA ZeroBounce service that uses AI and proprietary technology to grade an email contact based on their likelihood to interact with an email and convert (most commonly used for catch-all email addresses). (credits never expire!)

10 Email Finder queries

10 Email FinderA tool that allows users to look up an email address by using either a name, an email domain, or a combination of both data points. queries

1 Blacklist Monitor

1 Blacklist MonitorA service that actively observes your email domain and IP address while comparing it to known email blacklists and antispam services around the internet. If a blacklist flags either the domain or IP, the monitor will notify the user.

1 Inbox Placement Test

1 Inbox Placement TestA process that allows users to analyze how an email performs with various email service providers before sending the campaign to a real audience. The test identifies errors with the header, body, and footer to help users remedy problems that prevent them from reaching the inbox.

1 Email Server Test

1 Email Server TestA ZeroBounce service that analyzes an email server’s configuration by performing 100+ checks regarding header information, RFC documents, DNS records, email ports, and email authentication.

Real-Time Email Verification API

Real-Time Email Verification APIAn API, or application programming interface, that allows an email verification tool to connect and communicate with another software application.

Access to 60+ integrations

Access to 60+ integrations

Get the free JavaScript widget

JS Widget is free for all users.
A business or premium domain is required during signup to obtain additional monthly benefits.

Frequently asked questions

The ZeroBounce JavaScript widget is free for all users. When added to your website form, it will call our API when an email address is entered. You can validate the email address by consuming one credit per email.

The only requirement to use the widget is to ensure that your form has an email type field with the class: zb email. You can configure this by using your website or form builder to create the necessary type field. From there, simply copy and paste the provided code into your form.

The email validation JavaScript widget checks for the following email statuses: valid, invalid, catch-all, spam trap, abuse, and do not mail. These six primary statuses encompass all major email address categories and various other subtypes, including disposable or toxic domains.

The JS widget works by associating a unique ZeroBounce API key with your provided website domain. When a visitor enters their email address into the correct field, the JS widget uses the ZeroBounce API to call our email validation tool and perform a real-time check. When the status is determined, the email is accepted or blocked based on your custom widget rules.