Example: count occurrences in a list
Six input lines contain three distinct values. Two values repeat, and there are three extra occurrences beyond their first copies. These are different counts, useful for different questions.
Repeated only shows pear and apple. Appear once shows banana. Counting uses complete lines, rather than individual words.
How to count occurrences in a list
Paste one value per line or open a text file, choose whether spaces and letter case matter, and select Count lines. Each distinct value appears with its occurrence count. Most frequent puts the largest counts first; Original order follows the first appearance of each value; A–Z sorts the displayed values alphabetically. Choose Repeated only to focus on duplicates, or Appear once to find values with no repeats. Copy the current view or export a two-column CSV.
Repeated values and extra occurrences are different
If pear appears three times and apple appears twice, there are two repeated values. There are also three extra occurrences: two extra copies of pear and one extra copy of apple. The summary reports both, along with the number of non-blank lines and distinct values. This makes it easier to distinguish how many values are affected from how many repeated entries would disappear if you kept one copy of each.
Count complete lines, rather than words
Every non-blank line is a single value, so a full product name, email address, ID, or phrase is counted together. A line containing red apple stays one value; it does not add separate counts for red and apple. Blank and whitespace-only lines are skipped. One final line ending is treated as a file delimiter. Multi-column CSV cells and quoted multi-line records are not parsed: select and copy the column you want to count before using this line-based tool.
Choose case and whitespace matching deliberately
Trim spaces removes leading and trailing whitespace before grouping. Ignore case puts Apple and apple in the same group while keeping the first displayed spelling. Leave that option off for case-sensitive identifiers. Internal spaces, punctuation, accents, and leading zeroes are preserved; 001 and 1 remain distinct. When a matching rule changes, count again so the result reflects the new definition. The source text remains available for you to review.
Find repeated entries before cleaning an export
Use the count table to inspect repeated SKUs, repeated names in a roster, duplicated keywords, or recurring lines from a log. Frequency can be meaningful: the same product may appear in several orders, and the same attendee may have registered for several sessions. A repeated value is not automatically an incorrect record. Keep the original and decide whether your next action should be deduplication, reconciliation against another list, or retaining every occurrence.
Export counts without losing the full result
The table previews up to 200 values in the current filter and sort order. Copy and downloads include the complete selected view. CSV exports have separate value and count columns, with commas and quotation marks escaped; TXT and clipboard output put the value and count on each tab-separated line. Appear once exports each single-occurrence value with a count of one. Large inputs depend on device memory, so keep a source copy outside the tab.
Keep the work private
This tool runs in the browser tab you are using. No account is required and your text is not submitted to a server. The result exists only on this device, so copy or download it before closing the page.
Frequently asked questions
Does the list frequency counter count individual words?
No. It counts complete non-blank lines. A line containing red apple is one value, not separate observations for red and apple. Use a word-frequency workflow when individual words, tokenization or language segmentation are the actual question.
What is the difference between repeated values and extra occurrences?
A value repeated three times contributes one repeated value and two extra occurrences beyond its first copy. The summary distinguishes those quantities. Counting affected values and counting removable copies answer different questions, so do not use them interchangeably.
Does Appear once mean one copy of every value?
No. It shows only values whose original grouped count is exactly one. Values that repeat are excluded from that view. Use deduplication to keep one representative of every value, including those that originally occurred several times.
Are case and accents grouped together?
Ignore case groups letter-case variants while preserving the first displayed spelling. It does not remove accents or punctuation. Leave case handling off for case-sensitive identifiers, and review whether surrounding spaces should be trimmed before grouping values.
Are blank lines included in the totals?
Blank and whitespace-only lines are skipped and reported separately. One final line ending is treated as a delimiter. Counted lines therefore describe non-blank observations, which can differ from the number of physical rows you see in a text editor.
Why are only 200 rows visible?
The table limits the preview to keep a large result readable. Copy and download include every value in the current filter and sort order. Select Repeated only or Appear once first if you want the export to contain just that view.
Can I count a spreadsheet column?
Yes, by copying one column as one value per line. This counter does not parse an entire multi-column workbook or quoted multiline CSV records. Select the intended field first so each supplied line corresponds to one observation.
Does a repeated value prove a duplicate record?
No. Several valid records can share a value, such as product codes across orders or a name shared by several people. Counts summarize the supplied lines under your grouping rules. Use a reliable record identity and source context before deleting or merging real records.