FORM WIDGET

Stop fake emails before they reach your database

One line of JavaScript checks syntax, looks up the domain’s MX records, catches 128k+ disposable domains and suggests typo fixes when the field loses focus.

The widget runs rapid checks (no SMTP mailbox probe), so a pass means the address looks valid, not that the mailbox is confirmed.

Try it

Enter a real inbox, a typo like [email protected], or a disposable address like [email protected].

Embed snippet

Zero dependencies (under 4KB gzipped). Lookups use privacy-first DNS over HTTPS.

index.html
<!-- Drop-in OpenEmailVerifier Script -->
<script
  src="https://openemailverifier.com/oev-widget.js"
  data-key="oev_live_YOUR_API_KEY"
  data-input="#demo-email"
  data-endpoint="https://openemailverifier.com/api/v1/verify/widget"
></script>

Match your page's colors

The widget reads ten CSS custom properties. Set them on the form, or on :root for every form on the page.

  • White or near-white page (#ffffff, #fafafa): nothing to set. Every text color reaches 4.5:1, and the Apply border and focus ring reach 3:1.
  • Light grey page (#f4f4f5): set --oev-widget-invalid. The default red is 4.39:1 there.
  • Grey page (#e4e4e7): set --oev-widget-invalid and --oev-widget-risky.
  • Darker or colored page: set all ten. Text colors need at least 4.5:1 on your background; the Apply border and the focus ring need 3:1.
--oev-widget-valid
"Looks valid" line
Default #047857
--oev-widget-invalid
Invalid line
Default #dc2626
--oev-widget-risky
Risky line
Default #b45309
--oev-widget-muted
"Checking…" and the typo hint sentence
Default #52525b
--oev-widget-ink
Suggested address in the typo hint
Default #09090b
--oev-widget-action
Apply button text and border
Default #15803d
--oev-widget-action-bg
Apply button background
Default #ecfdf3
--oev-widget-focus
Apply button focus ring
Default #15803d
--oev-widget-track
Spinner track
Default #e4e4e7
--oev-widget-spinner
Spinner arc
Default #22c55e

This example is for a dark page. It uses the same values as the demo above.

styles.css
.signup-form {
  --oev-widget-valid: #34d399;
  --oev-widget-invalid: #f87171;
  --oev-widget-risky: #fbbf24;
  --oev-widget-muted: #a1a1aa;
  --oev-widget-ink: #fafafa;
  --oev-widget-action: #4ade80;
  --oev-widget-action-bg: #0d2818;
  --oev-widget-focus: #4ade80;
  --oev-widget-track: #27272a;
  --oev-widget-spinner: #22c55e;
}

Usage and credits

  • With an API key from your account dashboard in data-key, each check uses 1 credit (new accounts get 500 free credits). When the balance runs out, the widget stops checking and lets the form submit as normal.
  • Without an account key, checks are free up to 500 per day (per key, or per visitor IP when no key is set).
  • The key is visible in your page source, so anyone can copy it and spend its credits. Use a dedicated key for the widget and revoke it from your dashboard if it is misused.

Integration guides

Vanilla JavaScript

Add the script tag before your closing </body> tag. It targets any input[type="email"].

WordPress and Webflow

Paste the snippet into your site footer or a Google Tag Manager container for no-code form protection.

Programmatic API

Listen for the custom input events oev:valid, oev:invalid and oev:risky.

Clean your list today. Send with confidence.

Verify up to 500 emails free, no account needed. Sign up for 500 free credits — no credit card.