重複した行を消す方法(無料・スマホOK)
- 文章を貼り付け
- 重複を消す
- 結果をコピー
名簿やメールアドレスのリストに、同じ行が何度も入っている。手作業で探して消すのは大変です。重複した行を消す・並べ替える は、重複した行を消し、並べ替えもできるツールです。入力した文章は、端末の外に送られません。
手順
- 「整える前(1行に1つ)」の欄に、リストを貼り付けます。1行に1項目で入れます。
- 整え方を選びます。
- 「重複した行を消す」
- 「重複を調べるとき、大文字と小文字を区別しない」
- 「行の前後の空白を消す」
- 「空行を消す」
- 「並べ替え」で、「並べ替えない」「五十音・ABC順」「逆順」「短い順」から選びます。
- 「整えた後」に結果が出ます。「結果をコピー」でコピーします。
オプションの意味
- 重複した行を消す:同じ内容の行を、1つだけ残す(最初に出たものを残す)。
- 大文字と小文字を区別しない:「ABC」と「abc」を同じとみなす。
- 行の前後の空白を消す:行頭・行末の空白を取ってから、比べる。
- 空行を消す:何も書かれていない行を削除。
向いている場面
- メールアドレスのリストの整理
- 名簿・参加者一覧の重複チェック
- キーワードリストの整理
- ExcelやCSVの1列を貼り付けて、重複を除く
例
イベントの参加者リスト120行を貼り付けて、「重複した行を消す」と「空行を消す」を選んだ。結果は108行になり、12行が消えた。
つまずきやすい点
- 重複が消えない:行の前後に空白が入っている。「行の前後の空白を消す」を選ぶ。
- 大文字と小文字が違うだけで残る:区別しないオプションを選ぶ。
- 全角と半角の違いは、別物として扱われる:先に全角・半角を整える。
よくある質問
元の並び順は保たれますか?
「並べ替えない」を選ぶと、元の順番のまま、重複だけが消えます。
入力した文章は、送られますか?
いいえ。ブラウザの中で処理します。
まとめ
貼り付けて、オプションを選ぶだけ。消えた行数を、必ず確認しましょう。
重複した行を消す・並べ替えるを使う(無料)あわせて使えるツール
- 文章の改行を消す・整える:PDFなどからコピーした文章の改行を整えます。
- 文字数カウント(エントリーシート・レポート用):文章の文字数・行数・原稿用紙の枚数などを数えます。
- 全角・半角、ひらがな・カタカナを変換する:全角・半角、ひらがな・カタカナを変換します。
同じツールの、ほかの解説
How to Remove Duplicate Lines (Free, Phone OK)
- Paste the lines
- Remove duplicates
- Copy the result
A list of names or email addresses has the same lines many times. Finding and deleting them by hand is tiring. Remove Duplicate Lines and Sort a List removes duplicate lines and can also sort. The text you enter is never sent off your device.
Steps
- Paste the list into "Before tidying (one per line)". Enter one item per line.
- Choose how to tidy.
- "Remove duplicate lines"
- "Ignore case when checking duplicates"
- "Remove spaces at the start and end of lines"
- "Remove empty lines"
- Under "Sort", choose from "Do not sort", "A–Z / Japanese order", "Reverse order" and "Shortest first".
- The result appears under "After tidying". Copy with "Copy result".
What the options mean
- Remove duplicate lines: keep only one of lines with the same content (the first to appear stays).
- Ignore case: treat "ABC" and "abc" as the same.
- Remove spaces at the start and end of lines: strip leading and trailing spaces before comparing.
- Remove empty lines: delete lines with nothing written.
Good for
- Tidying a list of email addresses
- Checking a roster or attendee list for duplicates
- Tidying a keyword list
- Pasting one column of Excel or CSV and removing duplicates
Example
Pasted a 120-line attendee list and chose "Remove duplicate lines" and "Remove empty lines". The result was 108 lines, with 12 removed.
Common stumbling blocks
- Duplicates do not disappear: blanks at the start or end of lines. Choose "Remove spaces at the start and end of lines".
- Remain only because of case: choose the option to ignore case.
- Full-width and half-width are treated as different: tidy those first.
Frequently asked questions
Is the original order kept?
With "Do not sort", only duplicates are removed, keeping the original order.
Is the text sent?
No. It is processed inside the browser.
Summary
Paste and choose options. Always check the number of lines removed.
Use "Remove Duplicate Lines and Sort a List" (free)Tools that go well with this
- Remove and Tidy Line Breaks in Text: Tidy line breaks in text copied from PDFs and elsewhere.
- Character Counter (for Applications and Reports): Count characters, lines and manuscript sheets of your text.
- Convert Full-Width, Half-Width, Hiragana and Katakana: Convert full-width/half-width and hiragana/katakana.