Duplicate Remover & Line Sorter

LocalRuns in your browser; files and input stay on this deviceFreeFree to use

Clean up lists fast: remove duplicate lines, sort alphabetically or by length, trim whitespace, and drop blank lines — all in your browser.

Sort
Case
Input
Output
Runs in your browser; files and input stay on this device

About line tools

When you have a list — emails, keywords, IDs — you often need to dedupe it, sort it, or strip blank lines before using it. This tool does all of that in one pass, entirely client-side, so even long lists are processed instantly and privately.

How to use Duplicate Line Remover & Sorter

  1. 1Paste a list with one item per line.
  2. 2Choose deduplication, whitespace trimming, blank-line removal, case conversion, and a sort order.
  3. 3Check the input and output line counts, then copy the cleaned list.

Frequently asked questions

Are duplicate lines matched before or after trimming?
When trimming is enabled, whitespace is removed first. Case conversion also happens before duplicate removal, so those options affect which lines are considered equal.
Does alphabetical sorting follow the current language?
The browser’s locale-aware comparison is used. Results can differ from byte-order or command-line sorting.
What does Reverse do?
It reverses the current line order after the selected cleanup operations. It does not reverse characters within each line.