Sort Lines
Sort lines alphabetically, numerically, or randomly. Remove duplicates and empty lines.
Runs entirely in your browser.
Sort, Dedupe and Shuffle Text Lines
About Line Sorting and Deduplication
Line sorting and deduplication are common tasks when working with lists of items.
This tool helps you organize and clean up your data by sorting lines alphabetically, numerically, or randomly, and by removing duplicates and empty lines.
Single-Purpose Line Tools
This page does every operation at once. If you only need one, these pages each do a single job:
- Remove Duplicate Lines — keep the first of each
- Find Duplicate Lines — report what repeats, and how often
- Shuffle Lines — randomize the order
- Reverse Line Order — flip the list upside down