Press ↑↓ to navigate ·
Enter to open ·
/ anywhere to search
🔤 Text Tool
Text Sorter
Sort lines alphabetically, numerically, by character length, or randomize. Remove duplicates and strip whitespace with one click.
6 sort modes
Remove duplicates
Live stats
Undo original order
A → Z
Alphabetical asc.
Apple, Banana…
Z → A
Alphabetical desc.
Zebra, Mango…
1 → 9
Numeric asc.
1, 2, 10, 100
9 → 1
Numeric desc.
100, 10, 2, 1
Short → Long
Sort by length
a, ab, abc…
🎲 Shuffle
Random order
—
Input Lines
Sorted Output
0 lines0 duplicates0 emptyMode: A → Z
About this tool
The PixelForge Text Sorter sorts lines of text alphabetically, numerically, by length, or in reverse order. It supports case-insensitive sorting, natural sort order (sorting '10' after '9' instead of before '2'), and removal of duplicates during sorting. Use it to sort word lists, CSV rows, code imports, file names, or any line-by-line text data.
Frequently Asked Questions
Alphabetical (A–Z), reverse alphabetical (Z–A), numerical (ascending and descending), by line length (shortest to longest and vice versa), and natural sort order (for mixed alphanumeric strings like filenames).
Natural sort treats numbers within strings as numeric values. 'file10.txt' sorts after 'file9.txt' with natural sort, but before it with strict alphabetical sort. Natural sort matches human expectations for filenames and numbered lists.
Yes. Enable case-insensitive mode to sort without regard to uppercase and lowercase differences.
Yes. Toggle the 'Remove duplicates' option to deduplicate as part of the sort operation.
There is no practical limit. Large lists with thousands of lines are sorted instantly.