About this tool
There is a class of characters designed to be unseen: zero-width spaces and joiners, byte-order marks, soft hyphens, word joiners. They ride along when text is copied from web pages, PDFs and chat apps, and then they cause failures that look supernatural — a password that 'cannot' be wrong, a search that finds nothing, an import that rejects a clean-looking row, a slug with a ghost in it. This remover strips the known set and converts non-breaking spaces to ordinary ones, then reports how many of each it found, so the invisible becomes a number.
The report matters as much as the removal: if your text held 47 zero-width characters, you have learned something about its source worth knowing. Legitimate uses of these characters exist — zero-width joiners shape some scripts' rendering — so the tool is a deliberate pass, not an automatic one: run it on text that is behaving strangely or heading into a system (a CMS, a spreadsheet, a codebase) where invisible passengers cause real damage. Processing is local; the suspicious text never leaves your device.
How to use it
- Paste the text that is behaving oddly.
- Press Remove invisible characters.
- Read the report — what was found and how much — then copy the cleaned text.
Good to know
- Classic symptom: a word that will not highlight, search or match even though it looks identical. That is a zero-width character until proven otherwise.
- Clean text before it enters a slug, a password field or a spreadsheet import — the three places ghosts do the most damage.
- If a name in a script with joining characters renders wrong after cleaning, the joiners were load-bearing for that script — re-copy that one name from the source.
Frequently asked questions
Which characters does it remove?
Zero-width space, zero-width non-joiner and joiner, word joiner, byte-order marks (BOM), soft hyphens and a few related formatting marks — the standard invisible set. Non-breaking spaces are converted to normal spaces, not deleted.
Can these characters be harmful?
They are how some watermarking and tracking schemes hide identifiers in copied text, and how a few spoofing tricks disguise links. Removing them from text you republish is good hygiene.
Why does copied text contain them at all?
Web pages and documents use them for layout and line-breaking hints. They are harmless in the original context and become debris only when the text travels — which is most of the time.
More Text & Data tools
Word Counter Pro
Live counts as you type: words, characters, sentences, paragraphs, reading time — plus the keyword density serious writers actually use.
Case Converter
One click between UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case and the playful alternating cases.
Text Diff Checker
Compare two versions of a text line by line — see exactly what was added, removed and kept between drafts.
Remove Duplicate Lines
Clean a list down to its unique lines — duplicate emails, repeated tags, doubled entries — keeping the first occurrence and the order.
Sort Lines A–Z
Alphabetise a list, reverse it, or sort by line length or numeric value — with natural ordering, so item2 comes before item10.
Reverse Text
Reverse characters, word order, line order, or every line individually — four different flips for four different jobs.
Making videos too? Try our YouTube Title Generator, or browse the full Toolkit and the free YouTube tools.