Text sorter
Paste any list and sort it the way you need — alphabetically, numerically, or reversed. Options for case-insensitive sort and deduplication included.
About this tool
Sort lines alphabetically, numerically, or in reverse instantly. Case-insensitive and dedupe options — runs entirely in your browser, no signup.
Paste any list and sort it the way you need — alphabetically, numerically, or reversed. Options for case-insensitive sort and deduplication included.
- 1
Paste the lines of text you want to sort into the input field.
- 2
Choose ascending (A→Z), descending (Z→A), or random shuffle.
- 3
Optionally enable case-insensitive sorting or numeric sorting.
- 4
Click Copy to copy the sorted output.
Sort a list of names, tags, or keywords alphabetically before pasting into a doc.
Numerically sort log lines that start with counts or IDs.
Reverse-sort a changelog or timestamped list to put the newest entries first.
Sort alphabetically
banana
apple
cherry
dateapple
banana
cherry
dateSort numerically
10
3
25
1
81
3
8
10
25These answers explain common text sorter tasks, expected input formats, and edge cases so both visitors and search engines can understand what this tool does.
What sort modes are available?
Alphabetical (A→Z), reverse alphabetical (Z→A), numerical ascending, and numerical descending. Numerical mode compares the numeric value at the start of each line.
What happens to lines that aren't numbers in numerical sort?
Lines with no leading number are treated as zero and sorted to the beginning of ascending results or end of descending results.
Does case-insensitive sorting change the output text?
No. It only affects the sort order — 'Apple' and 'apple' are grouped together — but the original casing of each line is preserved in the output.
Can I remove duplicates while sorting?
Yes. Enable the Remove duplicates option to keep only the first occurrence of each line after sorting.