Line Sorter & Deduplicator
Sort, deduplicate, reverse, and trim lines of text.
Sort lines alphabetically, remove duplicate lines, reverse the order, and trim whitespace — a fast multi-tool for cleaning up lists of text.
Runs entirely in your browser — nothing is uploaded.
How to use the line sorter & deduplicator
- 1Paste your lines of text.
- 2Toggle the operations you want (sort, dedupe, reverse, trim).
- 3Copy the cleaned-up result.
Frequently asked questions
Is sorting case-sensitive?
You can choose — toggle case-insensitive sorting for natural A–Z ordering regardless of case.
Which duplicate is kept?
Deduplication keeps the first occurrence of each line and removes later repeats.