Remove duplicate lines, trim whitespace, and organize text with precision.
Paste text into the editor, tune the advanced settings, and instantly produce clean output with line occurrence statistics, removed line counts, and raw line index tracking.
Advanced Settings
Fine-tune comparison, conversion, trimming, and sorting behavior.
How the Cleaner Works
First remove duplicates, then apply sorting and text normalization.
1. The input is split into lines and normalized to preserve source line numbers.
2. Duplicate detection respects your case sensitivity and trimming settings.
3. Empty lines can be removed before or after deduplication depending on your preferences.
4. The final output can be sorted, converted, and copied without losing the original line statistics.
Output Text
Sorted, cleaned, and ready to copy.
Line Occurrences
Apple pie
Original line 1
Occurrences: 1, 6, 7
banana
Original line 2
Occurrences: 2, 3, 8, 9
Cherry tart
Original line 5
Occurrences: 5
Dragon fruit
Original line 11
Occurrences: 11