Paste text and the invisible characters you cannot see, zero-width spaces, joiners, the byte-order mark and soft hyphens, are deleted, while non-breaking spaces become normal ones. These characters break search, sorting and code, and this removes them in your browser.
Zero-width space, non-joiner, joiner and word joiner are deleted, along with the byte-order mark (BOM).
The soft hyphen and the left and right direction marks that hide inside copied text are removed too.
Non-breaking and narrow spaces become ordinary spaces, then doubles are collapsed.
Download this exact setup as a ready-made Invisible character remover profile. Give it a global hotkey in the Windows app and any text you copy is cleared of hidden characters the instant you paste. Same engine as above, entirely offline.
Paste the text above and the zero-width and other invisible characters are deleted instantly. Copy the clean result, or export it as a profile for the Windows app.
A zero-width space (U+200B) is a character that takes up no width and is completely invisible, but still counts as a character. It is used for line-break hints and is a common cause of failed string matches and duplicate-looking values.
They come from copying out of web pages, PDFs, chat apps and rich editors, which insert zero-width joiners, byte-order marks and direction marks. Because you cannot see them they cause bugs that are hard to spot, and deleting them fixes it.
Just the non-breaking spaces? Try remove non-breaking spaces.