Email List Cleaner
Operator: Abdulla Al Fahad. How tools are built and checked
Email List Cleaner reads a CSV export of subscribers, leads or customers, looks at one email column and gives every row a status: ok, typo fixed, invalid, disposable, role address, duplicate or empty. It adds that status and a cleaned address as two new columns, or drops the rows you choose.
The checks rely on three fixed lists shipped with the page: 50 misspelled domains with their corrections, 52 throwaway providers and 22 role names such as info and sales. Fixed lists are also the honest limit. The tool looks at how an address is written. It does not contact any server, so it cannot tell you whether a mailbox exists, whether a domain has mail servers, or whether a message will bounce.
Key features
- Seven statuses per row: ok, typo fixed, invalid, disposable, role address, duplicate, empty
- Syntax check based on RFC 5322 characters with dot, label and length rules
- Domain typo correction from a fixed map of common misspellings of Gmail, Hotmail, Yahoo, Outlook, iCloud and others
- Disposable-provider and role-address flags, including subdomains and +tag addresses
- Mark only or Clean mode with per-status drop choices
- Status counts above the preview, plus copy and CSV download
Input is a CSV with a header row. You pick the column that holds the addresses; the tool pre-selects the first column where most filled cells contain an @ sign. Each value is trimmed of surrounding spaces before it is checked.
Output keeps every original column in its original order and appends email_status and cleaned_email. If your file already has a column with one of those names, the new one is called email_status_2 or cleaned_email_2 so nothing is overwritten. cleaned_email keeps the part before the @ exactly as typed, lowercases the domain and applies any typo correction. It is left blank for invalid and empty values, because there is no usable address to write.
How it works
Each trimmed value goes through the checks in a fixed order, and the first rule that applies sets the status. A blank cell is empty. A value that fails the syntax rules is invalid. For a well-formed address the domain is lowercased and looked up in the typo map; if it is listed, the corrected domain is used from then on. The (corrected) domain is then compared with the disposable list, including subdomains such as inbox.mailinator.com. Next, the part before the @ is lowercased, anything after a + is ignored, and the result is compared with the role list. An address that clears all of that is ok, or typo fixed if its domain was corrected.
Duplicate detection runs last over the rows in file order. The key is the cleaned address in lower case, so x@gmial.com and X@gmail.com share a key. The first row with a key keeps its own status; every later row with the same key becomes duplicate. Invalid and empty values never count as duplicates of each other.
Common use cases
- Checking a trade-show sign-up sheet, where addresses were typed on a tablet, before importing it into a newsletter tool
- Removing mailinator and yopmail sign-ups from a free-trial export before counting real leads
- Finding shared inboxes such as sales@ and info@ in a B2B prospect list, so they can go to a separate campaign
- Collapsing the same customer exported twice with different capitalisation from two shop systems
How to use this tool
- Paste the CSV into the input box or select a file with Click to upload.
- Check that the Email column select shows the right column; change it if the file has several address columns.
- Choose Mark only to keep every row, or Clean to drop rows. In Clean mode tick the statuses to remove: invalid, disposable and duplicate are ticked by default; role address and empty are not.
- Click Check list and read the status counts above the preview.
- Copy the result or download it as a CSV, then import it into your email tool.
Example
Six sign-ups with an email column (input)
name,email
Jane Doe,jane.doe@example.com
Jan Doe,jane..doe@example.com
Xavier Lee,x@gmial.com
Front Desk,info@company.com
Temp Signup,me@mailinator.com
Jane Doe,JANE.DOE@EXAMPLE.COMMark only mode (output)
name,email,email_status,cleaned_email
Jane Doe,jane.doe@example.com,ok,jane.doe@example.com
Jan Doe,jane..doe@example.com,invalid,
Xavier Lee,x@gmial.com,typo fixed,x@gmail.com
Front Desk,info@company.com,role address,info@company.com
Temp Signup,me@mailinator.com,disposable,me@mailinator.com
Jane Doe,JANE.DOE@EXAMPLE.COM,duplicate,JANE.DOE@example.comTips for best results
- Run Mark only first and sort the result by email_status in a spreadsheet. Seeing the invalid rows next to their names often shows a pattern, such as a form field that captured phone numbers.
- Import cleaned_email rather than the original column when you want the domain fixes, such as gmial.com corrected to gmail.com.
- Role addresses are often valid and wanted in B2B lists. Leave role address unticked in Clean mode unless your email provider penalises them.
Common pitfalls
A status of ok means the address is well formed and its domain is not on the throwaway list. It does not mean the address works. jane.doe@example.com passes every check here and would still bounce, because nobody receives mail at it.
Duplicates are matched on the whole address in lower case. Provider-specific tricks are not folded together, so j.doe@gmail.com, jdoe@gmail.com and jdoe+news@gmail.com count as three different addresses even though Gmail delivers all three to one inbox.
The disposable list is a fixed snapshot of 52 domains from well-known services. New throwaway domains appear every week and will show as ok until the list is updated.
Common errors and how to fix them
- No column with email addresses was found. Choose the email column.
- No column had a majority of values containing @, and none was selected. Pick the column from the Email column select. If the select is empty, the input has no header row yet.
- CSV is empty. Provide a header row.
- The input box is blank or the uploaded file has no text. Paste the rows again, or re-export the file as CSV rather than XLSX.
- Almost every row comes back invalid.
- The wrong column is probably selected, or the file uses semicolons between fields, so a whole line lands in one cell. Re-export with commas, or convert the delimiter first.
Best practices
- Keep the original export untouched and work on a copy. Clean mode deletes rows without listing them anywhere, so if you later want the disposable or duplicate addresses it dropped, for example to add them to a suppression list in your email tool, only the original still has them.
- After cleaning, still send through a provider that handles bounces. This tool removes the obvious problems cheaply; bounce handling catches the addresses that only a mail server can reject.
- If you use a paid verification service, run this cleaner first. Removing duplicates and malformed rows locally means you pay to verify fewer addresses.
What the syntax check accepts
The rules follow the common subset of RFC 5322 that mail providers actually accept, not the full standard with quoted strings and comments. A value must contain exactly one @ and no spaces anywhere.
The part before the @ may be 1 to 64 characters of letters, digits, dots and the symbols ! # $ % & ' * + / = ? ^ _ ` { | } ~ -. It cannot start or end with a dot or contain two dots in a row, which is why jane..doe@example.com is invalid. The domain may be up to 253 characters and needs at least one dot. Each label between dots is 1 to 63 letters, digits or hyphens and cannot start or end with a hyphen. The last label must be at least two letters, so a@b fails for having no dot and x@a.c0m fails for the digit in its ending.
- jane.doe@example.com: ok
- jane..doe@example.com: invalid (doubled dot)
- a@b: invalid (no dot in the domain)
- bob@ex ample.com: invalid (space)
- x@-a.com: invalid (label starts with a hyphen)
Why typo fixes come only from a fixed map
It would be easy to correct any domain that is one letter away from gmail.com, but that would rewrite real addresses. gmal.com is a typo; gmx.com is a genuine provider that also sits close to gmail.com. So the cleaner only corrects domains listed in its map, such as gmial.com, gmai.com, gmail.co, hotmial.com, yaho.com, outlok.com and iclod.com, each pointing to the intended provider. A misspelling that is not in the map is left alone and keeps the ok status, and the original column always stays in the output so you can see what was changed.
What this tool cannot tell you
Paid verifiers check deliverability by looking up a domain's MX records and opening a conversation with its mail server to see whether it accepts the recipient. A web page cannot do either: browsers have no API for DNS lookups or for talking to mail servers. This tool therefore never reports an address as deliverable or undeliverable. It reports how the address is written and whether it matches known patterns, which is enough to catch typos, junk sign-ups and repeats before you import or pay for anything else.
Frequently asked questions
Does ok mean the email address exists?
No. It means the address is well formed, its domain is not on the disposable list and its local part is not a role name. Whether a mailbox exists can only be confirmed by a mail server, which the browser cannot contact.
Which row is kept when there are duplicates?
The first one in file order. Later rows with the same lowercased, typo-corrected address are marked duplicate, and Clean mode removes them when duplicate is ticked.
Are typo-fixed rows ever dropped?
No. typo fixed is not one of the drop options. Those rows stay in the output with the corrected address in cleaned_email.
Is info+news@company.com a role address?
Yes. Anything after a plus sign is ignored for the role check, so the local part is read as info.
Is my mailing list uploaded anywhere?
No. The typo map, disposable list and role list are fixed lookup tables built into the page's own script, so each address is checked against them in your tab rather than sent to a lookup service.