Remove Duplicate Lines
Paste a list to strip out repeated lines. Optionally ignore case, trim whitespace, and sort the result.
Remove Duplicate Lines
Runs in your browser — nothing you enter is uploaded or stored.
Scratchpad auto-saved
About the Remove Duplicate Lines
This tool scans your text line by line and keeps only the first occurrence of each line, discarding later repeats. It's ideal for cleaning up email lists, keyword lists, CSV columns, or any data where each entry should appear once.
Four options control how duplicates are matched. Trim whitespace removes leading and trailing spaces before comparing, so "apple" and " apple " are treated as the same. Case-sensitive, when unticked, treats "Apple" and "apple" as duplicates; tick it to keep case differences distinct. Drop blank lines removes empty rows, and Sort output alphabetizes the result for easier scanning.
The original order is preserved unless you choose to sort. All processing is done in your browser, so even large or sensitive lists never leave your device.