Duplicate Line Counter

Counts how many times each line appears in a list and shows the lines that repeat, starting with the most frequent. Use it to spot repeated answers in a survey, repeated entries in a name list or repeated items in a log before you clean the list up.

Up to 1 MiB.

Results

Results appear here.

Options

How to use the Duplicate Line Counter

  1. Paste a list with one item per line.
  2. The report shows how many lines repeat and lists each repeated line with its count, most frequent first.
  3. Turn on List lines that appear only once too for a full frequency list.

Rules applied

  • Spaces at the start and end of lines are ignored by default; empty lines are not counted.
  • Accented letters typed in different ways count as the same line.
  • To remove the duplicates, use Remove Duplicate Lines.

Limitations

  • The table shows up to 1,000 lines; the downloaded text contains all of them.

Worked examples

Repeated survey answers

Input

red
blue
red
green
blue
red

Result

Non-empty lines: 6
Distinct lines: 3
Lines that repeat: 2
Extra copies: 3

Count	Line
3	red
2	blue
Repeated email addresses

Input

a@example.com
b@example.com
a@example.com
  a@example.com
c@example.com

Result

Non-empty lines: 5
Distinct lines: 3
Lines that repeat: 1
Extra copies: 2

Count	Line
3	a@example.com

Practical uses

  • Find repeated survey answers

    A researcher pastes survey answers with one answer per line. The report lists each repeated answer with its count, most common first. They can see which answers repeat before deciding whether to remove any duplicates.

  • Spot repeated entries in a list

    An admin pastes a sign-up list to find out whether anyone entered more than once. The report shows which email addresses repeat and how many times each appears. They can then follow up on the repeated entries with confidence.

Privacy: this tool runs entirely in your browser. Your text is not uploaded, logged or saved, and it is never sent to analytics. Maximum input: 1 MiB.