Writer

Duplicate Line Remover

Remove repeated lines while preserving the first occurrence.

All tools

Lines

Output

json
markdown
base64

Frequently asked questions

Does the tool keep the first or last occurrence?
The first occurrence is preserved and any later duplicates are removed, so the original order of unique lines stays intact.
Are leading and trailing spaces considered when comparing lines?
Lines are compared as written, so "hello" and " hello" count as different. Run the text through Whitespace Cleaner first if you want trimmed comparisons.
Is the comparison case-sensitive?
By default the comparison treats different cases as different lines, so "Email" and "email" both survive. Convert to a single case beforehand if you want them merged.