Line Sorter & Deduplicator
Sort, filter, and transform lines of text
Input: 0 lines
Output: 0 lines
Removed: 0 lines
Frequently Asked Questions
What sorting options?
Alphabetical, numerical, by length, random shuffle, reverse order, and duplicate removal.
Can I sort CSV data?
For single-column data yes. For multi-column CSV, use a dedicated CSV tool.
Does it preserve whitespace?
Yes. Use the trim option to remove extra whitespace before sorting.
How do I remove duplicate lines while sorting?
Enable the 'Remove Duplicates' option before sorting. This filters out identical lines, keeping only unique entries. Combine with case-insensitive mode to treat 'Hello' and 'hello' as duplicates.
What is the difference between alphabetical and natural sort order?
Alphabetical sort treats numbers as text ('file10' before 'file2'). Natural sort recognizes numbers within strings and sorts them numerically ('file2' before 'file10'), matching human expectations.
Features
Alphabetical Sort: Sort lines in A-Z or Z-A order.
Numeric Sort: Sort lines containing numbers numerically (1, 2, 10, 20 instead of 1, 10, 2, 20).
Length Sort: Sort lines by character count.
Remove Duplicates: Keep only unique lines.
Random Shuffle: Randomize the order of lines.