Sort lines in any order
Turn a messy list into a tidy one. Choose the order and the tool does the rest. You can drop blanks and repeats too. Nothing is uploaded.
Paste one item per line. Choose the order and the tool sorts it.
This runs in your browser. Your file is not sent to us.
How to use sort lines
- Paste your list. Add one item per line.
- Choose the sort. Pick the direction and what the tool should compare.
- Copy the result. The sorted list appears at once. Copy it or save a file.
What you get
- A to Z or Z to A
- Sort by text, length or number
- Optional duplicate removal
- Live result as you type
Why this runs in your browser
Most free PDF sites ask you to upload your file. Then you wait. Then you hope they delete their copy. That is a bad deal for a payslip, a contract or a passport scan.
Sort Lines reads the file on your device and saves the result to your downloads folder. There is no upload and no copy on a server. For the details, see how it works.
Sort Lines questions
How are numbers sorted?
Number mode reads each line as a value. It puts 2 before 10, which text mode does not.
Does case affect the order?
Yes, unless you turn on ignore case. With it on, Apple and apple sort together.
Can I remove duplicates at the same time?
Yes. Turn on remove duplicates and keep one copy of each line.
Where do blank lines go?
Blank lines stay unless you remove them. They sort before the text.
Is my list uploaded?
No. The sort runs on your device and nothing is sent to us.