Text Cleaner
Clean up pasted text: extra spaces, blank lines, hidden characters, HTML tags and more.
How it works
- Paste your text.
- Tick the clean-up options you want.
- Copy or download the cleaned text.
About this tool
Text copied from PDFs, emails or web pages often has double spaces, blank lines, odd line breaks, curly quotes and hidden characters. This tool fixes all of that with a few ticks.
You can trim every line, join lines into one paragraph, strip HTML tags and remove invisible characters such as zero-width spaces that can break code and forms. The result updates as you change the options, and your text never leaves your browser.
Questions
What are hidden characters?
Invisible characters such as zero-width spaces. They can cause bugs in code, search and form fields.
Can it remove line breaks?
Yes. Use Join lines into one paragraph to turn many lines into one.
Is my text uploaded?
No. All cleaning happens in your browser.