📮 An ultratiny (1.9 KB) and fast JavaScript email checker to reduce users typing a wrong email. Written in TypeScript. Enterprise-grade.




96,000+ weekly downloads
1
Install @zootools/email-spell-checker
npm i @zootools/email-spell-checker --save2
Import and call run method to validate your email
import emailSpellChecker from '@zootools/email-spell-checker';
const suggestion = emailSpellChecker.run({
email: 'jorge@gmaik.co'
})
3
If the user made a typo, suggestion contain the fixed email. 🎉
if (suggestion) {
// dev: user made a typo -- handle the suggestion.
// for example: show a message to fix the email.
console.log(suggestion.address); // jorge
console.log(suggestion.domain); // gmail.com
console.log(suggestion.full); // jorge@gmail.com
}
🔥 96k+ weekly downloads
Top companies and brands use it every day in demanding production products.
⚡️ Lightning fast
Highly performant email checking using Sift3 - a fast and accurate string distance algorithm.
🔨 1-minute migration
Same API and functions as mailcheck so you can switch in a sec!
🔋 Updated
39+ popular domains, and 66+ modern TLDs out-of-the-box. Frequently updated.
🚀 Ridiculously small
1.9KB (minzip) and 0 external dependencies. We agree, big bundles suck!
💙 Written in TypeScript
Fully written in TypeScript, cause we know you love it and we too.
⚙️ Extensible
Allows you to pass your custom rules and domains. Tweak it as you need.
🔐 Unit tested
Cause we'd never use a library without tests :).
No. The library runs entirely in the browser and makes zero network requests. Addresses are compared against a local dictionary of popular domains and TLDs, so nothing is ever transmitted or stored.
Not quite — it's complementary. The spell checker fixes obvious typos at the point of entry (like gmaik.co → gmail.com). To confirm an address is real, deliverable, and not disposable, use SMASHSEND's Email Verification add-on, which checks MX records, mailbox existence, and known spam-trap domains.
Yes. Pass your own domains, topLevelDomains, threshold values, or even a custom distance function to run() to tune it for your specific audience.
The library is free and open source (MIT). It's built and maintained by the team behind SMASHSEND — the email platform that helps you turn every clean signup into a customer.
Watch this quick tutorial or contact us
Catch typos on the way in, then send campaigns, automations, and transactional email that actually land — all from one platform.
Free tool • Zero dependencies • Open source • Built by SMASHSEND