Remove Duplicate Lines

Efficiently remove all duplicate lines from your text content. Choose to keep the first or last occurrence of each line.

Advertisement

Examples

Duplicate lines

Input:

apple
banana
apple
orange

Output:

apple
banana
orange

How to Use Remove Duplicate Lines

  1. 1Paste your text with duplicate lines
  2. 2Click Remove Duplicates
  3. 3Copy the deduplicated result

Frequently Asked Questions

Is the comparison case-sensitive?

Yes, 'Apple' and 'apple' are treated as different lines.