Contact

Remove Duplicate Lines

Keep the first copy of each line and drop the rest, in the original order.

Your text stays on your device.

Output

oak
ash
pine
Kept
3
Removed
1

Worked example

oak, ash, oak, pine becomes oak, ash, pine. The first copy of each line is kept, and later copies are dropped.

FAQ

Is the comparison case-sensitive?
Yes. Oak and oak are different lines.
Are blank lines removed?
Only extra copies of a blank line. The first blank line stays.
Does the order change?
No. Surviving lines stay in their original order.