
Free Email Validation JavaScript Widget
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 freeGet 100 credits free monthly when you sign up with a business/premium domain.
Email validation trusted by 500,000+ customers
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.
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

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.

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.

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:
- Enter your domain and generate a new API key.
- Customize your rules: select your approved email types, set up your throttle rules, and customize your messages.
- Finally, copy and paste the code into the front end of your website to enable email validationⓘ!
For in-depth instruction and explanation of the ZeroBounce JavaScript widget rules, check out our official documentation.
Read the JS Widget docsWhy use the free ZeroBounce JavaScript widget?
Protect your email list and database from invalid emails, bot signups, and bad actors
Simplified implementation for front-end users with no access to the website backend
Built-in protection and throttle rules to minimize spam and form abuse
Help your visitors spot and correct typos when entering email addresses
Keep tabs on all email data that’s submitted through your form
Improve your email lead quality and lower your email bounce rates
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:
100 credits for email validationⓘ and Email Scoringⓘ(credits never expire!)
10 Email Finderⓘ queries
1 Blacklist Monitorⓘ
1 Inbox Placement Testⓘ
1 Email Server Testⓘ
Real-Time Email Verification APIⓘ
Access to 60+ integrations
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.


