Social media growth services from EthicalSMM

Invisible Character Remover

Find and remove hidden characters such as zero-width spaces, byte order marks, soft hyphens and non-breaking spaces from copied text.

Was this tool helpful?

Thanks for the feedback!

This tool finds characters you cannot see, such as zero-width spaces, byte order marks, soft hyphens and non-breaking spaces, and removes them or shows exactly where they are. These characters slip in when you copy text from web pages, PDFs, Word files and some apps, and they cause odd problems: a coupon code that looks right but fails, a spreadsheet lookup that will not match, or code that refuses to compile. Everything runs in your browser.

The three settings

What to do has two choices. Remove them deletes the hidden characters. Show them as ⟦U+200B⟧ markers leaves your text in place but replaces each hidden character with its Unicode code point in brackets, so you can see what was there before deciding.

Non-breaking and special spaces controls space characters that look like an ordinary space but are different underneath. Turn into normal spaces swaps them for a plain space; Leave them keeps them and only counts them. In Show mode with the first option, they appear as markers too.

Zero-width joiners (used inside emoji like 👨‍👩‍👧) defaults to Keep, so emoji stay whole. Family, profession and skin-tone emoji are built from several emoji glued together with joiners. Choose Remove them too only if you really want every joiner gone, knowing that the family emoji will fall apart into 👨👩👧.

What it looks for

TypeCode points
Zero-width spaceU+200B
Zero-width non-joinerU+200C
Zero-width joiner (only if you choose to remove them)U+200D
Byte order mark / ZWNBSPU+FEFF
Word joinerU+2060
Soft hyphenU+00AD
Direction marks and bidirectional controlsU+200E, U+200F, U+061C, U+202A to U+202E, U+2066 to U+2069
Other invisible format charactersU+180E, U+2061 to U+2064
Control charactersU+0000 to U+001F except tab, line feed and carriage return, plus U+007F
Special spacesU+00A0 no-break space, U+202F narrow no-break space, U+2000 to U+200A, U+3000 ideographic space

Tabs, line breaks and ordinary spaces are never touched. Below the result, a card appears for each type found with its count, then Total removed. Special spaces are reported on their own card and are not part of that total, and in Show mode the total is 0 because nothing was deleted.

Worked example

Suppose you copied this line from a PDF quotation: a byte order mark at the start, a non-breaking space after "Price:", a zero-width space after the amount, a word joiner after "Call", a soft hyphen inside "Cooperative", and a family emoji at the end. On screen it reads "Price: ₹1,25,000 only. Call now. Cooperative 👨‍👩‍👧".

With the default settings the tool reports Zero-width space 1, Byte order mark 1, Word joiner 1, Soft hyphen 1, Special spaces → normal 1 and Total removed 4. The emoji stays whole. Switch to Show mode and the output becomes:

⟦U+FEFF⟧Price:⟦U+00A0⟧₹1,25,000⟦U+200B⟧ only. Call⟦U+2060⟧ now. Co⟦U+00AD⟧operative 👨‍👩‍👧

Set the joiner option to remove as well and the tool also counts Zero-width joiner 2, the total rises to 6, and the emoji splits into three separate faces.

A caution for Indian languages

The zero-width non-joiner and zero-width joiner are not always junk. In Devanagari, Bengali, Malayalam and other Indic scripts they control whether letters join into a conjunct or show a half form, and Urdu and Persian use the non-joiner as well. This tool always removes U+200C and removes U+200D when you ask it to, which can change how Hindi, Marathi or Malayalam words display. For text in these scripts, run Show mode first and check where the markers fall.

The tool does not collapse double spaces or trim lines. For that, follow up with Remove Extra Spaces. If the text also has curly quotes that break code or CSV files, the Smart Quotes Converter straightens them.

Frequently asked questions

How do I find a zero-width space in my text?
Paste the text, set What to do to Show them as markers and press Clean text. Each zero-width space appears as ⟦U+200B⟧ exactly where it sits.
Why does my copied password or coupon code not work?
It may contain a hidden character such as a zero-width space or a non-breaking space picked up while copying. Clean it here, then paste the result.
What is a byte order mark and why is it a problem?
The byte order mark is U+FEFF, which some programs put at the start of UTF-8 files such as CSV exports. It can end up glued to the first column name or break scripts that expect the file to start with plain text.
Will removing invisible characters break emoji?
Not with the default setting, which keeps zero-width joiners so emoji like 👨‍👩‍👧 stay whole. Only the Remove them too option splits such emoji.
Is it safe to use on Hindi or Malayalam text?
Check first with Show mode. Indic scripts use the zero-width non-joiner and joiner to control conjuncts, and the tool always removes the non-joiner, which can change how some words display.
Does it remove line breaks or tabs?
No. Tabs, line feeds and carriage returns are kept, and so are ordinary spaces.

Related guides

Related tools

People also used

Embed this tool on your site

Paste it into any blog or website. Free, with a credit link.