Duplicate Line Remover
Paste text and remove repeated lines, keeping the first occurrence of each.
Last updated
Deduplicated text will appear here.
Copied
About this tool
Lines are compared as whole strings — the first time a line is seen it's kept, and every later line that matches it (under the options you've chosen) is dropped, preserving the original order of what remains. "Ignore leading/trailing whitespace" trims each line before comparing, so foo and foo count as the same line, but the version you kept still has its original spacing intact.
Nothing you paste here is sent to a server — the entire tool runs as JavaScript in your browser tab.