Sort Lines
Paste a list and sort it alphabetically or numerically in either direction. Optional switches let you ignore case, trim whitespace, drop blank lines and remove duplicates.
Sorting lists correctly
Sorting alphabetizes names, keywords, or imports, and makes lists easier to scan and dedupe. Enable numeric sorting so 2 comes before 10 instead of being compared character by character.
Combine options to clean as you sort: trim whitespace, drop blank lines, remove duplicates, and reverse the order. It's handy for tidying CSV columns, config files, and word lists — all processed in your browser.
How to use Sort Lines
- 1Paste your list, one item per line.
- 2Choose ascending or descending, and numeric if the lines are numbers.
- 3Toggle trim, remove-empty and dedupe as needed.
- 4Copy the sorted result.
Frequently asked questions
Can it sort numbers correctly?
Yes. Enable 'Numeric' so 2 sorts before 10 (instead of as plain text).
Does it remove duplicates?
Optionally — turn on 'Remove duplicates' to keep only unique lines.
Is anything uploaded?
No. Sorting happens entirely in your browser.