Value Counts for a CSV Column

Paste a CSV/table, choose one column, and get a value,count,percent table ranked like pandas value_counts. Runs entirely in your browser — no upload.

Try:
Value counts CSV

Count category values in one CSV column

Paste a CSV or delimited table, choose a single column by header name or 1-based index, and this tool returns a compact value,count,percent CSV. It is the browser-local version of the pandas Series.value_counts() workflow: count each distinct value, compute its share of the counted rows, and sort the result by frequency or by value.

Worked example

Input:

fruit
apple
banana
apple
cherry
apple
banana

With Column = fruit, the output is:

value,count,percent
apple,3,50%
banana,2,33.33%
cherry,1,16.67%

Use Case-sensitive grouping off to group Open, open, and OPEN together while keeping the first spelling. Turn Include blank cells on to count blank cells as (empty) instead of skipping them.

Limits & edge cases

FAQ

How is this different from count-line-frequency?

count-line-frequency treats every input line as one value. This tool parses a CSV/table first and counts only the column you choose, then adds a percentage column and delimiter-aware output.

Can I count a tab- or semicolon-delimited file?

Yes. Set Delimiter to tab, semicolon, pipe, comma, or any single character. The output uses the same delimiter so it can be pasted back into a spreadsheet.

What happens to empty cells?

They are skipped by default, matching the common "drop missing values" workflow. Enable Include blank cells to count every blank or whitespace-only cell as the literal value (empty).

How are percentages calculated?

Each percentage is count / total counted values * 100. If blanks are skipped, they are not part of the denominator; if blanks are included, (empty) counts like any other value.

Is my CSV uploaded?

No. Parsing and counting happen in WebAssembly in your browser; the pasted table never leaves your machine.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool value-counts "fruit
apple
banana
apple
cherry
apple
banana" 'column=fruit'

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/value-counts/?data=fruit%0Aapple%0Abanana%0Aapple%0Acherry%0Aapple%0Abanana&column=fruit&delimiter=%2C&sort=count&case_sensitive=true&include_empty=true

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.