Skip to content
Menu
Theme

List Counter

Count how many times each item appears in a list, see the most common ones and find the unique items. Free, and it runs in your browser.

TextRuns in your browser
One item per line by default. The result updates as you type.
Show
Items
7
Distinct
4
Apple
3 (42.9%)
banana
2 (28.6%)
Cherry
1 (14.3%)
Fig
1 (14.3%)

What is a list counter?

A list counter tells you how often each item shows up in a list. You paste a column of answers, names or codes, and it groups the repeats together and counts them. You see each distinct item once, next to how many times it appeared and what share of the whole list that is.

This is the kind of question that comes up all the time. Which answer did most people choose in a quick poll? Which product name appears most often in a column of orders? How many different cities are in this address list, and which ones appear only once? A spreadsheet can answer that with a pivot table, but for a quick check it is much faster to paste the list here.

The tool has three views:

  • Counts lists every distinct item with its count and percentage. You can order the rows by how often they appear or from A to Z. Two numbers at the top show the total number of items and how many distinct ones there are.
  • Items that appear once keeps only the items that occur exactly one time in the whole list. This is handy for spotting typos or the one person who answered differently.
  • All distinct items lists every item once, in the order it first appeared, with repeats removed.

You decide whether capital letters matter. With match case off, “Paris” and “paris” are counted as the same item, and the result shows the spelling that appeared first.

Items do not have to be on separate lines. You can split them by comma or by any other character. Everything runs in your browser. Your list is not sent anywhere and is gone when you close the page.

How to use the list counter

  1. Click inside Your list. It holds a short sample so you can see a result straight away.
  2. Replace the sample with your own list, one item per line. If your items are separated by commas or something else, change the separator setting under the box.
  3. Tick match case if “Apple” and “apple” should be counted separately.
  4. Pick a view: counts, items that appear once, or all distinct items.
  5. In the counts view, choose whether the most frequent items or the alphabetical order come first.
  6. Read the numbers in the Result area. In the other two views, press Copy result to copy the list.

FAQ

How is the percentage worked out?

Each count is divided by the total number of items in your list, then shown with one decimal place. Because of rounding, the percentages may add up to 99.9 or 100.1 instead of exactly 100.

What is the difference between unique and distinct?

Distinct items are every different value, with repeats folded into one. Items that appear once are stricter: if a value shows up twice or more, it is left out completely. In the list “a, b, b”, the distinct items are “a” and “b”, but only “a” appears once.

Do spaces and empty lines count?

By default, spaces at the start and end of each item are trimmed and empty lines are skipped, so “ tea” and “tea” count as one item. You can turn either option off under the input box if spacing matters to you.

Why can I only see 500 rows?

To keep the page fast, the counts view shows the first 500 rows and tells you how many more there are. The totals at the top still include every item. Switch the order to A to Z or use the distinct items view if you need the rest.

Is my list stored or sent anywhere?

No. The counting happens inside the page on your own device. Nothing is uploaded and nothing is kept after you close the tab.

Related tools