Loading tool…
Sort lines alphabetically, numerically or in reverse, with optional case-insensitivity and duplicate removal.
Loading tool…
Sort Lines is a free, private online tool that lets you sort lines alphabetically (A-Z or Z-A), numerically, or reverse them, with dedupe. It runs entirely in your browser, so nothing you enter is uploaded to a server.
Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.
Sort A-Z or Z-A, sort numerically by the number on each line, or simply reverse the current order.
Case-insensitive sorting treats upper and lower case alike; the dedupe option removes repeats while sorting.
Organising lists, keywords, imports, CSV columns and any line-based data.
A line sorter reorders the lines of a block of text - alphabetically (A-Z or Z-A), numerically, or in reverse - and can optionally remove duplicates and ignore case while it sorts. It is the quick way to organise any list without pasting it into a spreadsheet.
The case-insensitive option treats 'Apple' and 'apple' as equal when ordering, which usually gives a more natural result for mixed-case lists. The remove duplicates option de-duplicates while sorting, combining two cleaning steps in one. Both are toggles you can turn on as needed.
A frequent frustration is that ordinary alphabetical sorting treats numbers as text, producing 1, 10, 11, 2, 3... Numeric mode reads the value of each line so it sorts 1, 2, 3, 10, 11 correctly. This matters whenever your lines start with or contain numbers - versions, IDs, quantities, rankings.
Alphabetise a list of names, tags or imports; sort numbers by value; reverse an order; and tidy data exports or CSV columns. Combined with the dedupe option it is a one-step list cleaner. Paste your lines, pick a mode, and copy the result - all in your browser.