Why an address can look right and still fail
Most people who manage email lists eventually meet the same puzzle. An address sits in the spreadsheet looking completely normal, yet the email platform rejects it during import, the syntax checker flags it as invalid, or a lookup against another list says it does not exist even though you can see it in both files. You retype it by hand and suddenly everything works. Nothing about the visible letters changed, so something else must have been there.
That something is usually a hidden character. Unicode, the standard that defines how computers store text, includes a number of characters that are designed to be invisible or to look exactly like a normal space. They exist for good reasons, mostly to control line breaking, joining of letters in certain scripts and the direction of text. Inside an email address, though, they are simply noise, and noise that software treats as part of the value.
Because the characters cannot be seen, the problem tends to waste a surprising amount of time. People blame the email platform, the file format or the person who supplied the list, when the real cause is a single code point picked up during a copy and paste. This guide explains which hidden characters turn up in email lists, how they get there, how to find them and how to remove them without damaging the addresses you want to keep.
How these characters get into a list
Hidden characters rarely come from someone typing an address. They are almost always carried in by a copy and paste or a file conversion. A few routes account for most of them.
Copying from web pages
Content management systems and rich text editors insert zero-width spaces and non-breaking spaces to control layout. A contact page might use a non-breaking space so a name and address stay on one line, or an editor might leave a zero-width space where someone deleted text. When you highlight an address on that page and paste it into a spreadsheet, the hidden characters travel with it. Some sites also deliberately insert zero-width characters inside addresses to confuse scrapers, which is one more reason to be careful with addresses gathered from public pages.
Documents, PDFs and slide decks
Word processors use non-breaking spaces, soft hyphens and word joiners as part of normal typesetting. PDF exports can turn layout spacing into non-breaking or narrow spaces. A list of attendees pasted from a conference PDF, or contacts copied out of a proposal document, is a classic source of space-family characters at the end of each line.
Chat apps, email bodies and signatures
Messaging apps and email clients sometimes add direction marks around text, particularly when a conversation mixes left-to-right and right-to-left languages. Signatures pasted from one client to another can bring joiners and non-breaking spaces along too. When a colleague shares a handful of addresses in a chat message and you paste them into your list, those marks come with them.
Spreadsheet and CRM exports
Some tools write a byte order mark at the very start of a CSV file to signal that it is UTF-8. That is normally harmless, but if the importing system does not expect it, the first column header becomes an invisible character followed by the word email. The platform then cannot find a column called email, and the import either fails or maps the field wrongly. Older exports in mixed encodings can also turn characters into odd sequences that look like spaces in one program and like symbols in another.
What goes wrong when you leave them in
It is tempting to think a few invisible characters are a cosmetic issue. In practice they cause real, measurable problems across almost every step of list management.
- Imports reject rows. Email platforms validate addresses on import, and a zero-width space or non-breaking space inside or around an address makes it invalid, so the contact is skipped or placed in an error report.
- Deduplication misses copies. Two entries that look identical are different strings if one carries a hidden character, so a duplicate check keeps both and the person may receive the same message twice.
- Suppression and unsubscribe matching fails. If an address on your suppression list has a hidden character and the copy in your main list does not, the match fails and someone who opted out may be contacted again. This is the most serious consequence and the best reason to clean carefully.
- List comparisons give misleading results. Comparing two lists to find overlaps or differences produces false differences when one list is clean and the other is not.
- Formulas and lookups behave oddly. Spreadsheet lookups, counts and filters treat the hidden character as real, so totals do not add up and searches come back empty.
None of these failures announce their cause. The error message says the address is invalid or the lookup says no match, and the address on screen looks fine. That is why detection is worth doing deliberately rather than waiting for a problem to surface during a send.
Be especially careful with suppression lists, unsubscribe exports and bounce lists. Clean them with exactly the same steps as the main list, so a hidden character on one side never stops a match on the other.
How to remove them safely
Once you know what is there, removal is straightforward, as long as you work in a sensible order and keep the original file. The aim is to delete characters that should never be in an address and turn look-alike spaces into normal spaces that ordinary trimming can handle.
- Save an untouched copy of the original list with its source and date in the file name.
- Remove zero-width characters. The Zero Width Character Remover strips zero-width spaces, joiners, non-joiners, word joiners and byte order marks in one pass. Switch on its options to convert non-breaking spaces to ordinary spaces and to remove soft hyphens if the scan found them.
- Normalise whitespace. Run the result through the Whitespace Normalizer with trimming switched on, so leading and trailing spaces disappear, repeated spaces collapse and line endings become consistent.
- Run the detector again on the cleaned text. It should report no hidden characters, or only ones you deliberately chose to keep elsewhere in the file.
- Lowercase addresses if your process does that, then remove duplicates. Doing this after cleaning means copies that differed only by an invisible character now collapse into one.
- Check syntax and review anything that still fails. By this point most remaining failures are real typos or missing parts, not hidden characters.
Order matters for one simple reason. Deduplication compares exact strings. If you remove duplicates before cleaning, a clean copy and a dirty copy of the same address both survive, and you only discover the duplicate later. Cleaning first, then normalising, then deduplicating gives you the smallest accurate list.
Removal should never change the visible characters of a valid address. Zero-width characters, byte order marks, soft hyphens and direction marks have no legitimate place inside an ordinary email address, so deleting them is safe. Converting a non-breaking space to a normal space is also safe, because the following trim step then removes it from the ends of the value. If a space ends up in the middle of an address after cleaning, that row needs a human look, because the original data was probably two values run together.
Why spreadsheet trimming is not enough
Many people reach for the spreadsheet TRIM function first, and it is a reasonable instinct. The catch is that TRIM in Excel removes ordinary spaces only, and other spreadsheet programs vary. Excel leaves non-breaking spaces in place, and TRIM does nothing about zero-width characters. The CLEAN function removes a range of old control characters, but those are not the characters that usually cause trouble in modern lists.
You can build formulas that substitute specific code points, and that works if you know exactly which characters to target. In practice, lists often contain a mix, and a formula that handles non-breaking spaces still misses a zero-width space from a different source. A detector followed by a remover handles the whole set in one go and shows you what it removed, which is easier to trust and easier to repeat.
| Cleaning step | Ordinary spaces | Non-breaking spaces | Zero-width characters | Byte order mark |
|---|---|---|---|---|
| Excel TRIM | Yes | No | No | No |
| Excel CLEAN | No | No | No | No |
| Zero-width remover with NBSP option | No | Converted to spaces | Yes | Yes |
| Whitespace normaliser with trim | Yes | Converted when enabled | No | No |
| Remover followed by normaliser | Yes | Yes | Yes | Yes |
The table shows why the combination is useful. Each tool handles one family well, and together they cover the characters that commonly break email lists.
Look-alike characters are a separate problem
Hidden characters are invisible. Look-alike characters, sometimes called homoglyphs, are visible but resemble ordinary letters. A Cyrillic letter a looks almost identical to a Latin a, and full-width forms of letters and the at sign, common in text typed with some East Asian input methods, look like normal characters with slightly wider spacing.
These cause the same symptoms as hidden characters, including failed validation and missed matches, but they need a different fix. Unicode normalisation using the NFKC form folds full-width characters into their ordinary equivalents, so a full-width at sign becomes a normal at sign. It does not convert Cyrillic or Greek letters into Latin ones, because those are genuinely different letters. If you suspect look-alikes, a syntax check will usually flag the address, and the safest response is to review it by hand rather than guess.
Look-alikes are rare in ordinary business lists, so there is no need to worry about them on every run. Keep them in mind when an address still fails after hidden characters have been removed and whitespace has been normalised.
A worked example
Imagine a small events team merging three sources before a follow-up campaign: 1,240 addresses exported from a registration form, 310 typed into a shared spreadsheet at the venue and 95 pasted from a partner's PDF of attendees. The combined file has 1,645 rows.
The first import attempt rejects 128 rows as invalid, and a duplicate check finds only 40 repeats, which seems low for people who registered and also signed in at the venue. A scan with the detector explains both numbers. It finds 95 non-breaking spaces, one at the end of every line from the PDF, 63 zero-width spaces scattered through rows pasted from a partner web page into the shared sheet, and a single byte order mark at the start of the registration export.
The team saves the original, runs the zero-width remover with non-breaking space conversion switched on, normalises whitespace with trimming and scans again. The detector now reports nothing. After lowercasing, the duplicate check finds 212 repeats instead of 40, because addresses that were previously different only by a hidden character now match. The syntax check flags 9 rows, all real typos such as a missing dot before the domain ending, which go to a short review list.
The final list has 1,424 unique addresses, with 9 held back for review. More importantly, the suppression list is cleaned the same way before matching, so two people who unsubscribed after the last event are correctly excluded. Without the cleanup, both would have stayed in the send list because their addresses carried a zero-width space on one side of the comparison.
Pre-import checklist
- An untouched copy of the original file is saved with its source and date.
- A detector scan shows which hidden characters were present and on which lines.
- Zero-width characters, byte order marks and soft hyphens were removed.
- Non-breaking and narrow spaces were converted to ordinary spaces and then trimmed.
- A second scan reports no remaining hidden characters.
- Duplicates were removed after cleaning, not before.
- Suppression and unsubscribe lists were cleaned with the same steps before matching.
- Rows that still fail syntax checks were reviewed by a person rather than deleted automatically.
