Text Cleaner
100% PrivateText & Writing ToolsClean pasted text by removing extra spaces, stray punctuation, accents or hidden characters.
Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.
- 1Paste the messy text in the box.
- 2Tick the cleanups to apply: line trimming, space collapsing, blank line removal, HTML stripping, quote normalization, zero-width removal.
- 3Compare the character counts before and after.
- 4Copy or download the cleaned text.
Input: two spaces, "Hello", three spaces, "world", two spaces, then four line breaks, then "Next", two spaces, "line". With trim, collapse spaces and remove duplicate blank lines ticked, the result is: Hello world Next line
- Stripping HTML removes the tags only; the text between tags stays, and HTML entities like & are not decoded.
- Normalizing quotes also turns en and em dashes into simple hyphens, which suits plain-text targets.
- Space collapsing affects spaces and tabs inside lines, never the line breaks themselves.
They are invisible characters copied from web pages and documents. They make two identical-looking words compare as different in searches and code. Removing them makes text behave as it looks.
About this tool
The Text Cleaner fixes the mess that copy and paste leaves behind: padded lines, runs of spaces, stacks of blank lines, pasted HTML tags, curly quotes and invisible zero-width characters that break searches and imports. Tick only the cleanups you want and watch the character count change.
Related tools
Part of Ovatly's free tools in Text & Writing Tools.