Sort Lines
Sort lines alphabetically (A–Z, Z–A), by length, or reverse the list.
Put your lists in order
Name lists, word lists, product names, bibliographies or code lines: Sort Lines organises any list in seconds.
Sorting options
- Alphabetical A to Z or Z to A
- Shortest or longest lines first
- Reverse the list as it is
Smart sorting
The tool uses natural, language-aware ordering: accented letters land in the right places and 'Chapter 2' comes before 'Chapter 10'. Sorting happens in your browser.
How to use Sort Lines
- Paste the list to sort.
- Choose the sort type.
- The sorted list appears instantly.
- Copy the result.
Why use this tool?
Sort correctly without opening a spreadsheet or word processor.
FAQ
Are numbers sorted naturally?
Yes. 'Item 2' comes before 'Item 10', exactly as you'd expect.
Are accented letters sorted correctly?
Yes, the sort is language-aware rather than a raw character-code sort.
Can I also remove duplicates?
Use Remove Duplicate Lines for that.
Related tools
Remove Duplicate Lines
Remove repeated lines from a list in one click while keeping the original order.
Open toolText Reverser
Reverse text character by character, reverse word order or reverse line order.
Open toolWhitespace Cleaner
Trim lines and clean up extra spaces, tabs and empty lines.
Open toolWord Counter
Count words, characters with and without spaces, sentences, paragraphs and reading time instantly.
Open tool