Create email validation patterns at basic, standard

Check whether an email address has a conventional local-part and domain shape.

freeworks offlinenothing uploaded
ToolEmail Regex
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

The pattern checks a simplified local-part, at sign, and dot-separated domain labels with whole-input anchors. It validates syntax only and does not query DNS or deliver mail.

  • Common dot-atom syntax is practical for forms.
  • Obsolete quoted RFC forms are intentionally outside the simple pattern.

Worked example

Standard email address validation pattern
Generate a standard email validation regex pattern
Input
											standard
										
Output
												Email Regex (standard):

^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

Standard email validation: alphanumeric with common special chars

Usage: new RegExp(pattern) or /pattern/i for case-insensitive
											

When to use this

Signup forms, contact imports, and mail API prechecks use email patterns.

Edge cases

  • Plus tags such as [email protected] fit dot-atom syntax.
  • Quoted local parts may be RFC-valid but fail the simplified pattern.
  • A valid shape does not prove DNS or mailbox existence.

References