TXT MetricsEN

Clean lists

Remove duplicate lines online

Deduplicate a list while preserving the first occurrence and the original order.

3 duplicate or empty lines removed · 3 lines remain

Clear rules, private processing

Built to be useful, not mysterious.

Choose whether spaces and letter case matter. You can also remove blank lines, then copy or download the cleaned result.

  • Preserves first occurrence
  • Ignore-case option
  • Whitespace controls
  • Removal statistics

How to use this tool

A short, repeatable workflow.

  1. Paste one list item or record per line.
  2. Choose whether letter case and surrounding spaces should be ignored.
  3. Keep Remove empty lines enabled if blank rows are not meaningful.
  4. Review the removal count, then copy or download the unique lines.

Method and limits

The first matching line keeps its place

This is stable deduplication: the first occurrence is retained and later matches are removed. It is useful for email lists, IDs, tags, imported records, and any list where the existing order matters.

Will Apple and apple be treated as duplicates?

Only when Ignore letter case is enabled. Otherwise they remain separate lines.

Are internal spaces changed?

No. Trimming removes surrounding whitespace only; it does not rewrite the content inside a line.