Text Sorter

Sort lines of text alphabetically, numerically, or in reverse order instantly. Remove duplicates and organize any list with flexible sorting options

TEXT LIST

Input

Output

Tip: one item per line — sorted output updates instantly as you type or change options.

Runs 100% Locally in Your Browser

This tool processes your data entirely on your device. Nothing is uploaded, stored, or sent to any server.

No Uploads Privacy First Secure by Default

Frequently Asked Questions

How to sort a list of text lines alphabetically online?
Paste your list — one item per line — choose the sort order, and the tool outputs the sorted result instantly.
What is the difference between alphabetical and numerical text sorting?
Alphabetical sort orders by character code, so '10' comes before '9'; numerical sort compares values as numbers, so '9' comes before '10'.
Can I sort text lines in reverse order?
Yes. The Z → A option outputs the sorted list in descending alphabetical order, and Longest first sorts by line length.
Does the text sorter remove duplicate lines automatically?
Optionally — enable the 'Remove duplicates' checkbox to deduplicate the list after sorting.
Is alphabetical sorting case-sensitive by default?
Yes — uppercase letters sort before lowercase by default. Check the 'Case-insensitive' option to treat A and a as equal.
Does the Text Sorter send my list to a server?
No. Sorting runs entirely in your browser — your list is never uploaded, stored, or transmitted.