TOOLBOX

Sort Lines

Sort lines

Paste lines and sort them A–Z, Z–A, or numerically, ascending or descending. Use numeric when your lines are numbers (so 2 comes before 10, not after), and optionally remove duplicates and trim in the same pass. Runs entirely in your browser.

Frequently asked questions

How do I sort lines alphabetically?
Paste lines and pick A–Z or Z–A. Reorders instantly in your browser. You can also sort numerically, dedupe, and trim.
Alphabetical vs numeric?
Alphabetical compares text (so "10" precedes "2"); numeric reads each line as a number (2 before 10). Use numeric for numbers.
Sort and dedupe at once?
Yes — turn on remove-duplicates and it drops repeats before sorting for a clean, ordered, unique list.