Text with duplicates

Result

How does it work?

This tool removes duplicate lines from your text, keeping only the first occurrence of each line. You can choose whether the comparison should be case-sensitive or case-insensitive.

Example of removing duplicates

Original text

Line 1
Line 2
Line 3
Line 1
Line 4
line 1
Line 2
Line 5
Line 3

Case-sensitive (default)

Line 1
Line 2
Line 3
Line 4
line 1
Line 5

Case-insensitive

Line 1
Line 2
Line 3
Line 4
Line 5

This tool is useful for:

  • Removing redundant lines from data
  • Cleaning up lists with duplicates
  • Deduplicating log files
  • Creating unique sets of items
  • Preparing data for analysis

Options:

  • Case sensitive comparison: When enabled, "Line" and "line" are treated as different lines. When disabled, they are considered the same line.

Note:

This tool preserves the original order of lines, keeping only the first occurrence of each unique line. If you want to keep only the duplicate lines instead of removing them, use the "Keep duplicates" tool.

Other tools

See other tools