Count Values in CSV Files Online
Group and count rows by any column in CSV files directly in your browser. Sort by frequency or value to find the most common entries — no upload required.
About this tool
Group and count rows in a CSV file by any column. See how many rows share each unique value — sorted by frequency. A fast way to understand the distribution of categorical data.
Frequently Asked Questions
What does the count-by tool do with a CSV file?
It groups rows by the unique values in a chosen column and counts how many rows fall into each group — equivalent to SELECT col, COUNT(*) FROM table GROUP BY col ORDER BY count DESC.
Can I count by multiple columns in a CSV file?
This tool counts by one column at a time. For multi-column grouping use the SQL Query tool or the Aggregate tool, which supports GROUP BY on multiple columns.
How are results sorted in the CSV count-by output?
Results are sorted by count descending by default, so the most frequent values appear first. You can re-sort the output using the Sort tool.
Is my data private?
Yes — completely. Your file is never uploaded to any server. Everything runs locally in your browser using WebAssembly — processing happens entirely inside your tab. Once you close the tab, nothing is retained.
What is the maximum file size?
The free limit is 50 MB. For larger files, performance depends on your device's available memory — most modern machines handle 500 MB to 1 GB comfortably.
Related Tools
Convert Arrow to CSV Online
Convert Arrow files to CSV format directly in your browser. No upload required — your data never leaves your device.
Convert Excel to CSV Online
Convert Excel files to CSV format directly in your browser. No upload required — your data never leaves your device.
Convert CSV to YAML Online
Convert CSV files to YAML directly in your browser. Download clean, human-readable YAML — no upload required.
Convert YAML to CSV Online
Convert YAML files to CSV format directly in your browser. No upload required — your data never leaves your device.
Convert CSV to XML Online
Convert CSV files to XML directly in your browser. Download a structured XML document with one element per row — no upload required.