Text Cleaner
Remove extra spaces, tidy lines and eliminate duplicates.
Input & settings
Result
How to use it
- 1Paste your text
Drop in the messy text: copied emails, exported lists, scraped tables.
- 2Tick what to fix
Collapse spaces, trim lines, drop blank lines, remove duplicates, sort, or join everything into one paragraph.
- 3Copy the clean version
The result appears beside your input, ready to copy or download.
Good to know
Runs in the order shown
Options apply top to bottom, so trimming happens before duplicates are compared.
Duplicates keep the first line
Comparison is case sensitive, so "Apple" and "apple" both survive.
Sorting is Unicode order
Numbers and capitals sort before lower-case letters. It is not language-aware alphabetical order.
Your original is untouched
The input box keeps what you pasted, so you can change options and run it again.
Common uses
- Tidying a list copied out of a PDF or email
- Removing duplicate addresses before a mail merge
- Flattening a column of values into one line
- Stripping the blank lines from exported notes
- Preparing a word list for import
Questions
How do I remove duplicate lines?
Tick "Remove duplicate lines" and press the button. The first time a line appears is kept and later copies are dropped.
Can it remove line breaks?
Yes. Tick "Join lines with spaces" to turn a list into a single paragraph.
Does it change my text in other ways?
No. Only the options you tick are applied. Wording, capitalisation and accents are left alone.
Is my text uploaded?
No. Everything happens in your browser.
How it works
Operations run in the order shown. Duplicate removal keeps the first occurrence. Sorting uses Unicode order, not language-specific alphabetical ordering. Original input remains unchanged.