Line Cleanup, Sorting & Deduplication
Trim whitespace, drop blanks, deduplicate retaining first occurrences, sort stably, reverse, normalize LF/CRLF endings, and add line numbers locally.
Text Line Cleaner, Sorter & Deduplicator Guide
Trim whitespace, remove duplicate lines, sort naturally, and normalize line endings.
Overview
Line Tools processes list-based text through a multi-stage pipeline: stripping empty lines, trimming surrounding whitespace, removing duplicate lines (preserving first occurrence), natural/codepoint sorting, order reversal, line numbering, and CRLF vs LF normalization.
How to Process Line Lists
Input your list of items, URLs, or data lines. Upload local .txt, .csv, or log files.
Toggle "Remove Duplicates", "Remove Empty Lines", "Trim Whitespace", and choose sorting order (A-Z, Z-A, or Natural).
Download the cleaned list as a .txt file or copy directly to your clipboard. Review before/after counts in the summary banner.
- Handles lists up to 50,000 lines smoothly in browser RAM.
- Includes 60-step Undo/Redo stack preserving exact line endings.
- All line filtering, sorting, and deduplication run completely inside your browser.
- No list data or files are sent to remote servers.