Sort Lines
Sort the lines of a list or block of text alphabetically or numerically, ascending or descending. Free and private, right in your browser.
Paste in a list, log, or CSV column and get it back sorted alphabetically, numerically, in reverse, or with duplicates stripped, useful for cleaning up spreadsheet exports, alphabetizing names, or putting a set of numbers in order before you paste them somewhere else.
How to use it
- Paste or type your lines into the box
- Choose alphabetical or numeric order (and ascending/descending)
- Copy the sorted result back out
Frequently asked questions
- Does it sort numbers correctly, or just alphabetically?
- Both. Pick alphabetical sort for text (case-insensitive by default) or numeric sort to order lines by the number they contain, so 2 comes before 10 instead of after.
- Can I remove duplicate lines while sorting?
- Yes, there's a dedupe option that drops repeated lines after sorting, handy for cleaning up lists before a diff or import.
- Will it mess up my line order for things like CSV rows or code?
- It only reorders whole lines, nothing inside them, so CSV rows, log lines, or code snippets stay intact, just rearranged. Since sorting happens in your browser, nothing you paste is ever uploaded.
- 1
Nothing is uploaded
The file never leaves your device. There is no server to send it to, so there is nothing to leak, log, or subpoena.
- 2
No signup, no limits
No account, no email, no daily cap, no watermark, and no paid tier waiting behind the third file.
- 3
Works offline
Load the page once and it keeps working with the network off, because all the work was always happening locally.