WRITING · FREE TOOL

Line-list cleaner

Remove duplicates and blank lines, trim whitespace and sort your list.

You choose what gets cleaned.

Options apply in this order: trim, remove blank lines, remove duplicates, then sort. Deduplication keeps the first matching line. Ignoring case uses English lowercase comparison, without changing the retained text.

Sorting is deterministic text order, not numeric or language-specific dictionary order. Line endings become standard newline characters and a trailing newline is not added. Your input remains available for comparison.