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.

  1. Paste your text.
  2. Click the cleaning actions you need. They apply in order and can be combined.
  3. 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.