What this tool does
This tool cleans copy-pasted text with four explicit options: collapse extra spaces and tabs, remove blank lines, replace curly quotes/dashes/ellipses with plain characters, and trim spaces at line ends.
Non-breaking spaces (common in web copies) are always normalised to regular spaces. Everything is processed in your browser.
How to use it
- Paste your messy text.
- Choose which cleanups to apply — they are all on by default.
- Press “Clean text”.
- Copy or download the cleaned result.
Supported formats
- Input: pasted plain text
- Output: cleaned text, with copy/download
Limitations
- Collapsing spaces also removes indentation, because leading spaces are treated as extra spaces.
- Curly quotes are replaced with straight quotes ' and ", em dashes with -- and ellipses with three dots — intentional stylistic dashes are flattened too.
- The tool does not fix grammar or spelling; it only normalises characters and whitespace.
Frequently asked questions
Why are my quotes turned into straight ones?
Curly quotes (and “smart” dashes) break code, CSVs and some form inputs. Replacing them with plain characters makes the text safe to paste anywhere. Turn the option off if you want to keep them.
Can I keep the paragraph structure?
Yes — turn off “Remove blank lines” and blank lines between paragraphs are preserved.
What are non-breaking spaces?
Invisible characters (often copied from websites) that look like spaces but are not — they cause odd wrapping. This tool always converts them to normal spaces.