Text Sorter
Sort lines alphabetically, by length, or numerically with powerful options
Frequently Asked Questions
How does alphabetical sorting work? +
Alphabetical sorting (A-Z) arranges lines from the beginning of the alphabet to the end. Z-A reverses this order. By default, sorting is case-insensitive, meaning "Apple" and "apple" are treated the same. You can enable case-sensitive sorting if needed.
What does numerical sort do? +
Numerical sort extracts the first number found in each line and sorts by that value. Lines without numbers are placed at the end. This is useful for sorting numbered lists, prices, scores, or any data with numeric values.
What does "Sort by Length" do? +
Sort by Length arranges lines from shortest to longest based on character count. This is useful for organizing lists where you want to see the shortest entries first, or for formatting text in a visually pleasing way.
How does Remove Duplicates work? +
Remove Duplicates eliminates any lines that appear more than once, keeping only the first occurrence. The comparison respects your case-sensitivity setting, so with case-sensitive off, "Hello" and "hello" are treated as duplicates.
Is my data private? +
Yes. All sorting happens entirely in your browser using client-side JavaScript. No data is ever sent to a server, stored, or shared. Your text remains completely private on your device.