Text cleaner
Paste messy text, tick what to fix, and see exactly what was changed.
About Text Cleaner
Text pasted from the web, a word processor or a chat tool carries things you cannot see: curly quotes, non-breaking spaces, double spaces, zero-width characters and sometimes whole HTML tags. This page removes them. Choose the clean-ups you want, and the page shows the cleaned text with a short list of what it found and how many times. That list is useful on its own, because hidden characters are a common reason that a search or a comparison fails. The text stays on your device.
- Getting plain text out of a web page copy.
- Finding the invisible character that breaks a formula or a search.
- Replacing curly quotes before pasting into code.
- Closing up double spaces and blank lines in a draft.
How to use Text Cleaner
Step 1
Paste your text.
Step 2
Tick the clean-ups that you want.
Step 3
Read the change list, then copy the cleaned text.
Good to know
- Stripping HTML removes anything that looks like a tag. If your text has a plain less-than sign followed by letters, such as in code, leave that option off.
- Zero-width characters are sometimes used on purpose, for example in some scripts and in emoji sequences. Removing them can change those texts.
- The change list counts every replacement, so a count that looks too high is a sign to check the options.
Common questions
What are invisible characters?
They are characters that take no space on screen, such as the zero-width space, the soft hyphen and left-to-right marks. Some editors and websites add them without telling you.
Does it fix text that came out as odd symbols?
No. Broken symbols come from a wrong encoding at the source. This tool cleans characters that are present, it cannot guess the original ones.
Will it remove the formatting from rich text?
Yes in effect, because the box takes plain text only. Bold and links are lost when you paste, and HTML tags can be stripped with the first option.