Duplicate Line Remover & Sorter
Dedupe, sort, and trim a list of lines in one pass.
Input
Result
About Duplicate Line Remover & Sorter
Clean up a list — trim whitespace, remove empty lines, remove duplicate lines, and sort alphabetically — with each option toggled independently rather than forced together.
Independent, toggleable options
Trim whitespace, remove empty lines, and remove duplicate lines are each their own checkbox — turn on only what you need. Deduplication has its own ignore-case toggle, so you can choose whether "Example" and "example" count as duplicates. Sorting is a separate choice between A-Z, Z-A, or no sorting at all.
How to use it
Paste your list, check the options you want (trim, remove empty lines, remove duplicates, case-insensitive dedup), choose a sort order if any, and run — the cleaned result appears below with an in/out line count.
Use cases
Tidy up a list of email addresses before importing them somewhere. Remove case-insensitive duplicates from a tag list that's accumulated variants like "Sale" and "sale". Sort a list Z-A instead of the usual A-Z. Strip blank lines left over from a copy-paste.
Limitations
Sorting is alphabetical (A-Z or Z-A) only — there's no numeric or custom sort order.
Is deduplication case-sensitive?
You choose — there's a separate "ignore case" toggle. With it off, "Example" and "example" are treated as different lines; with it on, they're treated as duplicates.
Can I sort without removing duplicates, or vice versa?
Yes — trimming, removing empty lines, deduplication, and sorting are all independent options you can mix and match.
Is this actually free?
Yes.