Text cleanup
How to remove invisible characters from copied text
Invisible characters are formatting marks that take up little or no visible space. They can appear after copying from PDFs, websites, word processors, spreadsheets, and translated text. Common examples include zero-width spaces, soft hyphens, non-breaking spaces, byte order marks, and left-to-right or right-to-left marks.
Inspect hidden marks
CleanText Shelf shows suspicious invisible characters as labeled markers before you clean them.
Open CleanTextChecklist
- Paste the text into a hidden-character preview.
- Look for markers around line breaks, pasted links, names, numbers, and code snippets.
- Remove invisible marks that are not intentionally part of the text.
- Replace non-breaking spaces with normal spaces when the destination editor does not need them.
- Retest the cleaned text in the original form, editor, or import tool.
Warning signs
Hidden characters are likely when search fails to match visible words, pasted code throws unexpected errors, CSV columns shift, or a form rejects text that appears valid.
FAQ
Are invisible characters always bad? No. They can be legitimate in multilingual text and typography. Remove them only when they are causing problems or were accidentally copied.
Can I see them manually? Some code editors reveal whitespace, but browser cleanup tools are faster for everyday text.
Some future links on this page may be affiliate links. UtilityShelf may earn a commission at no extra cost to you.