Text Sorter
Sort lines or items alphabetically, by length, randomly, or in reverse. Remove duplicates and empty lines!
Remove duplicates
Trim whitespace
Remove empty items
Enter text to sort
Features
- Sort A-Z or Z-A
- Sort by length
- Random shuffle
- Remove duplicates
- Custom separators
- One-click copy
How to Use
- 1Paste or type your list
- 2Choose the separator (newline, comma, etc.)
- 3Select sort order
- 4Enable options like remove duplicates
- 5Copy the sorted result
Frequently Asked Questions
What separators can I use?
Newline (each line is an item), comma, space, or any custom character/string.
Is the sort case-sensitive?
No, sorting is case-insensitive. "Apple" and "apple" are treated as equal.
What does "Sort by length" do?
It sorts items by their character count, shortest to longest or vice versa.
How does random shuffle work?
It uses the Fisher-Yates algorithm for true random shuffling of your items.