Sort Lines Tool
This tool sorts the lines of a list. It can sort alphabetically, by number, by length, in reverse or at random, and can remove repeats and empty lines.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Sort Lines Tool online
- Paste the list. One item per line.
- Pick the sort. A to Z, numbers, length, reverse or shuffle.
- Set options. Case, natural order, repeats and empty lines.
- Copy the result. Copy or save the sorted list.
Why use this free Sort Lines Tool
- Eight ways to sort
- Natural number order
- Remove repeats
- Remove empty lines
- Fair shuffle
- Share by link
Many ways to sort
Paste a list with one item on each line and pick how to order it. A to Z and Z to A put items in alphabetical order. The number sorts read the first number in each line. Length sorts put the shortest or longest first. Reverse flips the order you gave, and shuffle puts the lines in random order.
Natural order
Plain alphabetical sorting puts item 10 before item 2, because 1 comes before 2. Natural order reads whole numbers inside the text, so item 2 comes before item 10, which is what people expect. It is on by default and applies to text sorts. You can switch it off for strict character order.
Cleaning as you sort
Two more options tidy the list while you sort it. One removes repeated lines, ignoring case if you ask, and keeps the first of each. The other drops empty lines. Together with the sort they turn a messy paste into a neat list, ready for a spreadsheet, a document or code.
Shuffle
The shuffle option puts the lines in random order, using the secure random generator of your browser. It is a fair shuffle in which every order is equally likely. Use it to draw an order for presentations, to pick teams or to mix flashcards. Each press of the sort re-runs the shuffle when you change an option.
Limits
Sorting follows the rules of your browser’s language settings for accents and letters, so the order of letters like é can differ between devices. Lines are sorted as whole lines, not by a column, so for a table with fields, sort a copy of the column you need.
Using the tool
There is no button to wait for: the Sort Lines Tool result follows every change. Open a text file into the box, or drop one on it.
Sort Lines Tool: frequently asked questions
How do I sort a list alphabetically?
Why does item 10 come after item 2?
Can I sort numbers?
Can I remove duplicates while sorting?
Is the shuffle fair?
Where does my text go when I use the Sort Lines Tool?
How do I keep the result of the Sort Lines Tool?
Related searches for Sort Lines Tool
- Sort Lines Tool online
- free Sort Lines Tool
- Sort Lines Tool online free
- Sort Lines Tool for mobile
- Sort Lines Tool without sign up
- Sort Lines Tool – Text & Writing Tools
Sort Lines Tool is a free online tool on MAITBOX, in the Text & Writing Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.