Sort lines
Paste a list with one item on each line. Pick an order. Duplicates can be removed before the sort.
- One item per line
- Free, no sign-up
Free to use, no account. More everyday tools
How to use it
- Paste one item per line.
- Choose A to Z, Z to A, or a numeric order.
- Turn on duplicate removal if you want each line once.
How lines are ordered
Alphabetical order uses the browser's language-aware comparison and ignores case. Numeric order uses the number at the start of the line. Lines that are not numbers sort as NaN and group together.
Duplicate removal keeps the first copy of a line and compares the whole line, including spaces.
Private by design
Privacy
The list stays in this tab and is not uploaded.
Questions
Does it sort words inside a line?
No. Each line moves as a whole.
How are 2 and 10 ordered numerically?
As numbers, 2 comes before 10. Alphabetical order would put 10 first.
Are blank lines kept?
Yes, unless they are duplicates and you asked to drop duplicates.