文字与文档工具

重复行移除

按精确、修剪后、忽略大小写或修剪后忽略大小写规则移除重复行,可保留首项或末项并选择是否保留空行;报告保留/移除数量并支持复制与TXT下载。

优先本地处理无需注册隐私说明 ↗

The first spelling is kept when matching changes the comparison key.

Blank lines are compared as empty text after any selected trimming.

使用步骤

如何使用

  1. Paste up to 100,000 characters, one line per entry.
  2. Choose how lines match, whether to keep the first or last occurrence, and how blank lines are handled.
  3. Remove duplicates, review the count, then copy or download the TXT result.

Defined matching and retention

Exact mode compares line text as entered. Trimmed mode ignores leading and trailing whitespace for matching while preserving the selected occurrence’s original spelling. Case options use Unicode lowercasing. First retention scans top to bottom; last retention scans from the end while restoring original order.

Bounded local processing

The browser processes up to 100,000 UTF-16 characters and keeps the output within that input boundary. Blank lines can be retained as one matching value or omitted before duplicate detection. No text is uploaded.

常见问题

你可能还想知道

Does trimming change the output?

No. Trimming only changes the comparison key; the retained line keeps its original whitespace.

What does last occurrence mean?

For each matching group, the final line in the input is kept, and the retained lines remain in their original order.

How many duplicates were removed?

The result status reports the number of removed matching lines after the blank-line setting is applied.