Remove Invisible Characters
Strip zero-width, non-breaking and control characters hidden in pasted text.
About the Remove Invisible Characters
Text copied from the web, PDFs and chat apps often carries hidden characters like zero-width spaces and non-breaking spaces that break search, code and formatting.
This tool strips those invisible characters, converts non-breaking spaces to normal spaces and removes control characters, leaving clean, predictable text.
You can also collapse extra spaces and trim each line for a full cleanup, and it reports how many characters were removed.
Key features
- Remove zero-width characters
- Convert non-breaking spaces to normal spaces
- Remove control characters
- Optional space collapse and line trim
How to use
- 1Paste text that may contain hidden characters.
- 2Choose which cleanups to apply.
- 3Click Clean text and copy the result.
Examples
A[zero-width space]BABHidden zero-width characters are removed and non-breaking spaces can be normalized.
Frequently asked questions
- What is a zero-width space?
- It is an invisible character with no width that can hide inside text, breaking searches, links and code without being visible.
- Why convert non-breaking spaces?
- Non-breaking spaces look like normal spaces but behave differently, which can cause layout and matching problems. Converting them normalises your text.
- Is my text uploaded anywhere?
- No. Cleaning happens entirely in your browser, so your text never leaves your device.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- Text ToolsText Cleaner
Trim lines, collapse extra spaces and remove blank lines.
Open tool - Text ToolsText Trimmer
Trim whitespace from each line or the whole text and collapse extra inner spaces.
Open tool - Text ToolsText Cleaner Advanced
Developer whitespace fixer: tabs and spaces, line endings, indentation and trailing spaces.
Open tool
