Sort Lines
Sort lines alphabetically, naturally, by length or at random, and remove duplicates.
Sort Lines
Sort any list of lines in seconds: alphabetically either way, in natural order (so "item 2" comes before "item 10"), by length, reversed or shuffled. Options ignore upper and lower case, drop duplicates and blank lines, and trim stray spaces. Sorting uses your language's rules, so accented letters land where you expect.
How to use Sort Lines
- Paste your lines.
- Choose the order.
- Tick the clean-up options you want.
- Copy the sorted list.
When it comes in handy
- Alphabetising names, keywords or references.
- De-duplicating a list of URLs or emails.
- Shuffling a list for a random draw or quiz.
Frequently asked questions
- What is natural sorting?
- It compares numbers inside text by their value, so file2 comes before file10. Plain alphabetical sorting would put file10 first because "1" comes before "2".