Skip to main content

Text: Email Validator

Validate and decompose an email address per RFC 5322. The input is trimmed of surrounding whitespace before parsing. Emits the normalized address, the domain (after @), and the local part (before @). Any parse error or banned-domain hit fails the step.

Example
Input: "alice@example.org"
Outputs:
email: "alice@example.org"
domain: "example.org"
local part: "alice"

Parameters

Allow display name

When enabled, accept and parse RFC 5322 display-name forms like My Name <user@example.org>. Default rejects them.

Allow domain literal (IP)

When enabled, accept domain literals like user@[10.0.0.2]. Default rejects them.

Allow no TLD

When enabled, accept domains with no top-level domain (e.g. user@host). Default requires a TLD.

Banned domains

List of domains that fail validation when matched (case-sensitive, exact match against the parsed domain).

Input

Emailrequired
The email address to validate.

Output

All outputs are optional.

email
The normalized address.
domain
The domain part (after @).
local part
The local part (before @).