テキストツール

重複行の削除

リスト内の重複行を削除します。

重複行の削除

UtilBrix が提供

入力内容はブラウザ内で処理されます。アカウントは不要です。 Character counts use Unicode code points. Reading: 200 words/minute. Speaking: 130 words/minute.

詳しい方法と使用例は英語で提供しています。

Step-by-step instructions (English)

  1. Paste a list with one entry per line.
  2. Choose whether to trim edges, ignore case, discard blank lines, and preserve the first or last occurrence.
  3. Run the tool and compare the remaining entries with the original list.

計算式と方法

Lines are compared after optional trimming and case normalization. Preserve first keeps the earliest occurrence; preserve last keeps the final one in its original relative order. Ignoring empty lines removes them from the output.

使用例

Apple, apple, and Banana on separate lines become Apple and Banana when Ignore case and Preserve first are selected.

When this tool is useful

Clean a list of repeated labels, URLs, or identifiers while keeping a chosen occurrence order. Decide whether case and edge spaces are meaningful before treating two lines as duplicates.

Common mistakes and limitations

  • Ignoring case can merge identifiers that a receiving system treats as distinct.
  • The comparison covers the whole line; matching one column of a CSV requires a separate column-aware process.

Practical questions about this tool (English)

Will removing duplicates sort the list?

No. Deduplication retains the relevant original order. Use Sort Lines afterward if alphabetical or numerical ordering is also needed.

What is the difference between preserving first and last?

Preserve first retains the earliest occurrence. Preserve last retains the final occurrence and its relative position among the surviving lines.

Put this tool into practice

関連ツール

UtilBrixをインストール

ホーム画面からツールをすぐに開けます。

  1. ブラウザのメニュー(⋮)を開きます。
  2. 「アプリをインストール」または「ホーム画面に追加」を選びます。
  3. 確認してUtilBrixをホーム画面に追加します。

項目がない場合はAndroid版Chromeで開いてください。

ツールを検索

↑ ↓ Navigate · Enter Open · Esc Close