Invisible Text Remover
Invisible characters take up a place in text but show nothing on screen, and they are a common reason code will not run or pasted text behaves oddly. This remover takes them out of anything you paste and lists exactly what came out, inside your browser, so nothing is uploaded.
Everything happens in your browser. Your text is never uploaded, stored or logged.
Where the hidden characters were
How to use it
- Paste your text in the left box. The cleaned version appears on the right straight away.
- Check the report underneath. It says exactly what was taken out and where it was.
- Press Copy clean text. Paste it wherever you needed it.
Why text breaks, and how this fixes it
The usual reason people come here: something looks fine and does not work.
Press Code that will not run under the box above. It loads a line of JavaScript with two hidden characters in it — one where a space should be, one inside a function call. Neither is visible in any editor. Watch the report name both, then look at the cleaned version on the right.
The same thing breaks search (you cannot find the word), spellcheck, and sorting in spreadsheets.
Everything is switched on already
You do not need to change any settings. Paste, copy, done.
If you want more control, open What to remove. There is one thing worth knowing there:
Writing in Arabic, Hebrew, Hindi or Thai?
Some of these characters are a real part of the writing, not mess to clear up. Two settings are worth a look.
Arabic and Hebrew. If your text has numbers or English words mixed into it, untick Direction controls. Those are what keep the two directions in the right order. Text with no numbers and no English in it has none of them at all, so it makes no difference either way.
Arabic, Hebrew, Hindi and Thai. Leave Remove stacked accent marks switched off. It already is. Fully vowelled Arabic, pointed Hebrew, and some Hindi and Thai spellings put three or more marks on one letter, and three in a row is exactly what that setting removes.
Vietnamese is safe whatever you do. It never puts more than two marks on a letter.
The characters most cleaners miss
Two characters are used everywhere for blank usernames: one from Korean writing, one from Braille. Most cleaning tools skip both, because the computer files them as a letter and a symbol rather than as blank space.
They have their own setting here, and it is on by default. This is the main reason text cleaned somewhere else can still come here and turn something up.
Common questions
My text looks exactly the same afterwards. Did it work?
Yes — that is the point. What came out was invisible, so the text should look identical. Check the report under the boxes: it counts what was removed. If it says nothing was found, your text was already clean.
My code will not run and I cannot see why.
This is the classic case. Copying a snippet from a website or a chat app often brings a hidden character with it. Your editor shows nothing wrong, because there is nothing to show. Paste the failing line above.
Will this change my actual words?
No. By default it only removes characters that show nothing. Two extra options can change visible text, and both are switched off until you turn them on — they are the ones marked changes visible text.
Is there a size limit?
Only what your own device can handle. Nothing is uploaded, so there is no file limit and no waiting.
I only want to fix the spacing, not hidden characters.
Use the whitespace cleaner. It handles double spaces, trailing spaces, tabs and runs of blank lines, and it leaves everything else exactly as it is. It also tells you if hidden characters are still in there when it finishes.
What if I want to see what was hidden first?
Use the detector. It shows you what is there, and reads any hidden message, without changing anything.