Lines and Lists
Sort, shuffle, reverse, number, count and clean the lines of a list. 7 free tools, all running in your browser.
Try it now: Sort Lines Alphabetically
10 9 Apple banana cherry pear
Private: Everything runs in this page. Nothing you type is sent anywhere or saved.
All 7 tools
- Remove Duplicate LinesDelete repeated lines and keep the first of each
- Sort Lines AlphabeticallySort a list A to Z, Z to A, by number, by length or naturally
- Add Line Numbers to TextPut a number in front of every line
- Reverse LinesFlip the order of the lines in a list
- Remove Empty LinesDelete blank lines from text
- Count Lines in TextCount lines, empty lines, unique lines and the longest line
- Shuffle Lines RandomlyPut a list of lines in random order
What each tool does
Remove Duplicate Lines
Remove repeated lines from a list and keep the first copy of each, in the original order.
Sort Lines Alphabetically
Sort the lines of a list alphabetically, by number, by length, or in natural order such as file2 before file10.
Add Line Numbers to Text
Add a number to the start of every line of your text, with the first number, the separator and the padding you choose.
Reverse Lines
Reverse the order of the lines of your text so that the last line comes first.
Remove Empty Lines
Delete the empty lines of your text, or squeeze several blank lines into one.
Count Lines in Text
Count the lines of your text, and see how many are empty, how many are different, and how long the longest line is.
Shuffle Lines Randomly
Put the lines of a list in a random order, using your browser's secure random generator, so every order is equally likely.