Count List Items
Count list items with frequency analysis, duplicates, unique-only output, TSV export. Free, client-side, instant.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Count items in any delimited list with frequency analysis, duplicate detection, unique-only view, and TSV export. Useful for log analysis, survey responses, CSV column dedup, and any "how many of each X?" question.
Summary
Frequency table
How to Use Count List Items
- Paste your list. Pick a separator (newline default).
- Toggle case-sensitive if you want
Appleandapplecounted separately. - Read the summary (total, unique, duplicate count + character/word stats).
- The frequency table is sorted by count descending. Switch view to see duplicates only (items appearing more than once), unique only (items appearing exactly once), or first-seen order.
- Download as TSV for use in spreadsheets or other tools.
Frequently Asked Questions
What does “duplicates” count?
Items appearing more than once – by distinct key, not by total occurrences. So apple, apple, apple, banana, banana has 2 duplicates (the keys “apple” and “banana”), not 5. If you want total duplicate occurrences instead, subtract uniqueItems from totalItems.
What’s the difference between unique and total?
Total = how many items in the list, including repeats. Unique = how many distinct items (keys). The example above has total 5, unique 2.
How is case sensitivity handled?
When off (default), all comparisons lowercase the key. The first-seen original casing is preserved for display. So "Apple, apple, APPLE" case-insensitive counts to 1 entry, displayed as “Apple” (the first one seen).
Does trim whitespace affect the counts?
When on (default), " apple " and "apple" count as the same item. When off, leading/trailing whitespace makes them distinct entries. Useful when whitespace itself is meaningful in your data.
What separators are supported?
Newline (default), comma, semicolon, tab, pipe, and space. For multi-character or regex separators, pre-process your input (e.g., replace all ;|, with n before pasting).
What’s TSV format?
Tab-separated values – two columns: item and count, separated by tabs, one row per line. Pastes cleanly into Excel/Sheets/Numbers and into any text editor as aligned columns.
Why is the longest item only one entry?
If multiple items tie for longest, only the first one encountered is shown. Same for shortest. The “longest” field is informational, not exhaustive.
What about empty lines or empty items?
Empty results after split + trim are dropped – they don’t count toward total. If you want to count them, turn off “trim whitespace” so empty rows survive (they’ll be counted under the empty key, which is rare to want).
Is my list uploaded?
No. All processing happens in the browser.
What’s the row cap on the displayed table?
500 rows for screen render (otherwise the page would slow down). The TSV download includes all rows.
Related Tools
Add Suffix to List Items →
Add suffix to list items instantly. Periods, commas, punctuation, or custom text. Free, secure,…
Append List Items - Merge Lists →
Append and merge lists instantly. Combine multiple lists with duplicate removal. Free, secure, client-side…
Delete Empty List Items →
Remove empty / whitespace-only / Unicode-whitespace items from any list. Trim-before-check and invert (show-only-empties)…
Delete List Items →
Delete list items by pattern (5 match modes), line numbers, or ranges with live…
Delete Repeating List Items →
Remove duplicates from any list. 3 modes (consecutive, all, run-length collapse to N). 6…
Extract Unique List Items →
Dedupe a list, find duplicates, or keep only singles - newline/comma/tab/pipe input, 5 modes,…
Find Duplicate List Items →
Find the items that appear more than once in a list, each with its…
Group List Items →
Group identical items in a list and count how many times each one appears,…
Map List Items with a Template →
Rewrite every list item with a template, using {} where each item should go.
Quote List Items →
Wrap each item in a list with quotes, or remove them, using double, single,…
Skip List Items →
Skip the first few items of a list and keep the rest, choosing how…
Swap List Items Online →
Swap two items in a list by their positions, counting from 1, leaving the…