About this tool
Strip duplicate and empty lines from a list, all in your browser.
Lines are split at line breaks and the first occurrence of each distinct line is kept. Trim each line, off by default, removes leading and trailing spaces before comparing, so "apple" and "apple " count as different until you turn it on. Remove empty lines, on by default, also drops whitespace-only lines. Case-insensitive matching treats Apple and apple as the same and keeps the first spelling.
Turning keep order off sorts the remaining lines in plain character order, with capitals before lowercase unless matching is case-insensitive. A note shows how many lines were removed out of the total.