Sort Lines
Sort lines alphabetically, in reverse, naturally (item2 before item10) or by length.
Runs in your browserText → Text
Loading tool…
Example
item10 item2 Item1
Item1 item2 item10
How to use the Sort Lines
- Paste or type your Text into the input area, or open a file from your device.
- Adjust the options above the editor if the tool offers any.
- Review the Text result, then copy it or download it as a file.
Privacy and limitations
- Your data is processed on your device and is not uploaded to any server.
Related converters
Remove Duplicate LinesDelete repeated lines while keeping the first occurrence and original order, with case options.List ShufflerShuffle the lines of a list into a random order using an unbiased Fisher–Yates shuffle.Remove Empty LinesDelete blank and whitespace-only lines from text, logs or code.Trim WhitespaceTrim leading and trailing spaces from every line and collapse repeated spaces and tabs.Character CounterCount characters with and without spaces, code points, UTF-16 units and UTF-8 bytes for any text.Remove Line BreaksJoin lines into a single line, optionally keeping paragraph breaks, for pasting copied PDF text.Word CounterCount words, characters, sentences and paragraphs, and estimate reading and speaking time.Add Line NumbersPrefix each line with its number, with a choice of format, starting number and padding.