Text cleaner
Clean up
How to use it
- Paste your text on the left.
- Tick the clean-up options you want. The result updates at once.
- Copy the clean text or download it.
Common questions
How do I remove extra spaces from text?
Tick “Collapse repeated spaces” and “Trim spaces”. Runs of spaces become one, and spaces at line ends are removed.
How do I remove line breaks?
Tick “Join everything into one line”. This is handy for text copied from PDFs.
What are hidden characters?
Zero-width spaces and non-breaking spaces sometimes come along when you copy from web pages or AI tools. They can break search and code. This option removes them.
Can I remove duplicate lines?
Yes. Tick “Remove duplicate lines” to keep only the first copy of each line.
Is my text uploaded?
No. It is cleaned in your browser.