FREE WEB TOOL

Duplicate line remover

Remove duplicate lines while keeping the first occurrence.

Use tool

Your input is processed in your browser and is not sent to our server.

How to use this tool

Remove duplicate lines while keeping the first occurrence.

  1. Set Text, Ignore leading/trailing spaces, Ignore case.
  2. Use Remove duplicates to process the input.
  3. Compare the result with your source data and return to the input to make corrections.
Ignore leading/trailing spaces
Default: on
Ignore case
Default: off

Input and settings example

apple banana apple → apple / banana

Use the whitespace and case options to control which lines count as duplicates.