Text Cleaner
Remove duplicates, sort lines
FreeNo sign-upNothing uploaded
Lines
Spaces & characters
Field guide
About the Text Cleaner
Tidy up lists, data exports and copied text in one place. Remove duplicate or empty lines, trim extra spaces, sort alphabetically or numerically, reverse or shuffle lines, add a prefix or suffix to each line, and run a find & replace.
- Paste your text.
- Click the cleaning actions you need. They apply in order and can be combined.
- Copy the result or undo the last step.
Questions
Frequently asked
How do I remove duplicate lines?
Paste your list and press “Remove duplicates”. The first occurrence of each line is kept, in its original order.
Can I sort lines numerically?
Yes. “Sort A→Z” uses natural sorting, so “item 2” comes before “item 10”.
Is my text uploaded?
No, all processing is done in your browser.
More from the Text & Writing drawer
Other tools kept in this drawer, plus a few favourites from the bench.
Word Counter Words, characters & reading time Case Converter UPPER, lower, Title, camelCase Online Notepad Notes that auto-save Text to Speech Read text aloud Speech to Text Voice typing & dictation Typing Speed Test WPM & accuracy test Fancy Text Generator Stylish fonts for bios Lorem Ipsum Generator Placeholder text Slug Generator Title → URL slug Rhyme & Synonym Finder Rhymes, synonyms & related words