Skip to content
Toolden

TOOLDENTEXTON-DEVICE

Duplicate Line Remover

Clean up lists, logs and exports by removing repeated lines while keeping the original order. Toggle case sensitivity and whitespace trimming to match your data. Everything stays in your browser.

Empty
Paste lines on the left, the unique ones appear here as you go.
0 unique0 removed

HOW TO USE

  1. 1Paste your text with one line per row.
  2. 2The first occurrence of each line is kept in its original order. Output updates live.
  3. 3Switch between Case sensitive and Case insensitive to match "Apple" with "apple" or not.
  4. 4Switch between Trim whitespace and Keep whitespace to ignore or respect leading and trailing spaces.
  5. 5Copy the result with one tap, or load the built-in sample to see how it works.

EXAMPLE

INPUT

red
green
red
blue
green

OUTPUT

red
green
blue

FAQ

Which duplicate is kept?
The first occurrence of each line is kept, so the original order of first appearances is preserved.
What does Case sensitive do?
When on, "Red" and "red" are treated as different lines. When off, they are considered duplicates of each other.
What does Trim whitespace do?
It strips leading and trailing spaces before comparing, so "red " and "red" count as the same line.
Is my text uploaded?
No. Everything runs in your browser.

RELATED TOOLS