Text Sorter
Sort lines A to Z, Z to A, by number, by length, shuffle them or reverse the order.
Text
Delete repeated lines from a list and keep the first occurrence of each, in order.
Processed locally in your browser.
Email lists, keyword exports, log files and to-do lists pick up repeated lines as they are merged. This tool keeps the first time each line appears and drops the rest, so the order you started with is preserved.
By default lines must match exactly. Turn on case-insensitive matching to treat Apple and apple as the same, or trimming to ignore stray spaces around a line. The kept line is always shown exactly as you wrote it.
Input
apple Banana apple banana Cherry
Result
apple Banana banana Cherry
Input
apple Banana apple banana Cherry
Result
apple Banana Cherry
Blank lines are left exactly where they are instead of being treated as duplicates of each other. That keeps the spacing of a list that has blank separator lines. To delete blank lines instead, use Remove Extra Spaces.
No. The first occurrence of each line stays in its original position. To sort the list as well, use the Text Sorter with its duplicate option.