PDFのミカタ

消えた行数を確認する方法

公開日:2026年10月19日|最終更新:2026年10月19日|運営者情報

この記事のポイント
  • 貼り付ける
  • 整える
  • 行数を見る

重複を消したとき、何行が消えたのかを確認することは大切です。想定より多く消えた、または少なかった場合は、設定を見直す合図になります。重複した行を消す・並べ替える は、行数を3つ表示します。

手順

  1. 「整える前(1行に1つ)」に、リストを貼り付けます。
  2. 整え方(重複を消す・空行を消す・空白を消す)を選びます。
  3. 結果の欄で、次の3つの数字を確認します。
  1. 数字に納得したら、「結果をコピー」でコピーします。
「もとの行数」から「整えた後の行数」を引いたものが、「消えた行数」です。

数字の見方

確認の方法

  1. 消えた行数が、想定どおりか見る。
  2. 想定と違うときは、オプションを1つずつ変えて、数字の変化を見る。
  3. 「整えた後」を、目で確認する。

空行と重複を、分けて数える

どちらで消えたのかを知りたいときは、まず空行だけを消して、数字を見ます。次に、重複を消して、もう一度数字を見ます。

向いている場面

例

200行のリストで、消えた行数が3行だった。10行くらいを予想していたため、空白を消すオプションを足したら、12行になった。

つまずきやすい点

よくある質問

消えた行の内容は、見られますか?

このツールでは、行数のみ表示されます。内容を確認したい場合は、整える前の欄を見直します。

まとめ

3つの行数で、整えた結果をチェック。想定と違うときは、設定を見直しましょう。

重複した行を消す・並べ替えるを使う(無料)

あわせて使えるツール

この解説が役に立ったら、応援してもらえるとうれしいです。

応援する(300円)ほしい物リストで応援

同じツールの、ほかの解説

解説の一覧を見る

How to See How Many Lines Were Removed

Published: Oct 19, 2026 | Updated: Oct 19, 2026 | About (Japanese)

Key points
  • Paste
  • Tidy
  • Check the counts

When removing duplicates, it matters to check how many lines disappeared. If more or fewer than expected were removed, it is a sign to review the settings. Remove Duplicate Lines and Sort a List shows three line counts.

Steps

  1. Paste the list into "Before tidying (one per line)".
  2. Choose how to tidy (remove duplicates, remove empty lines, remove spaces).
  3. In the result area, check these three numbers.
  1. When satisfied with the numbers, copy with "Copy result".
"Lines removed" is "Original line count" minus "Line count after".

Reading the numbers

How to check

  1. See whether the number removed is as expected.
  2. If it differs, change the options one at a time and watch how the number changes.
  3. Check "After tidying" by eye.

Counting empty lines and duplicates separately

To know which removed them, first remove only the empty lines and look at the number. Then remove duplicates and look at the number again.

Good for

Example

For a 200-line list, 3 lines were removed. Having expected about 10, adding the option to remove spaces made it 12.

Common stumbling blocks

Frequently asked questions

Can I see the content of the removed lines?

This tool shows only the counts. To check content, review the "before" field.

Summary

Check the result with the three line counts. If it differs from expectation, review the settings.

Use "Remove Duplicate Lines and Sort a List" (free)

Tools that go well with this

If this guide helped, a small tip would mean a lot.

Send a tip (¥300)Send a gift (Amazon wishlist)

More guides for this tool

See all guides