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
| Type | Code points |
|---|---|
| Zero-width space | U+200B |
| Zero-width non-joiner | U+200C |
| Zero-width joiner (only if you choose to remove them) | U+200D |
| Byte order mark / ZWNBSP | U+FEFF |
| Word joiner | U+2060 |
| Soft hyphen | U+00AD |
| Direction marks and bidirectional controls | U+200E, U+200F, U+061C, U+202A to U+202E, U+2066 to U+2069 |
| Other invisible format characters | U+180E, U+2061 to U+2064 |
| Control characters | U+0000 to U+001F except tab, line feed and carriage return, plus U+007F |
| Special spaces | U+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?
Why does my copied password or coupon code not work?
What is a byte order mark and why is it a problem?
Will removing invisible characters break emoji?
Is it safe to use on Hindi or Malayalam text?
Does it remove line breaks or tabs?
Related guides
- How to Clean Up Copied Text: Extra Spaces, Line Breaks, Hidden Characters Fix text copied from a PDF, Word or WhatsApp: remove double spaces, broken line breaks, curly quotes and invisible characters, with the right free too...
- How to Remove Duplicate Lines: Online, Excel, Google Sheets, Command Line Remove duplicate lines from any list, keeping the original order. Fix case and trailing-space misses, and do it in Excel, Google Sheets, sort -u or aw...
- Fancy Fonts for Instagram: How Bold and Italic Text Really Works Instagram "fonts" are Unicode maths characters, not fonts. How bold and italic text works, where it breaks, what screen readers hear, and how to use i...