テキストと文書ツール

Duplicate Line 削除

「Duplicate Line 削除」はテキストと文書に使えるブラウザツールです。入力内容と結果は通常この端末内で処理され、登録は必要ありません。

ブラウザ内で処理登録不要プライバシーの説明 ↗

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.