Back

CSV Column Count

Count rows and columns in CSV data, automatically detect column count mismatches across rows. All processing happens in your browser.

CSV Column Count Checker: Guide

Intent
Count CSV rows and columns, then find rows whose column count differs from the header before importing the file elsewhere.
What it does
Counts rows and columns in pasted CSV data and flags rows whose column count differs from the first row.
Key features
Row count, Column count, Uneven-row detection, Automatic delimiter detection
Privacy
Everything runs locally in your browser. No uploads.
Best for
  • Checking a CSV before importing it into a spreadsheet or database
  • Finding a row with a missing or extra field
  • Quickly inspecting sample data while debugging an ETL or parser
Why this tool
  • Flags uneven rows instead of showing only one total
  • Works without opening a spreadsheet application
  • Links to focused delimiter and broken-CSV tools for deeper checks

How to use

  1. 1Paste CSV text into the input box or load the sample.
  2. 2Select Check columns.
  3. 3Review the row and column totals. Any row with a different width is highlighted.

Common mistakes

  • If automatic delimiter detection is wrong, check the file first with Delimiter Detector.
  • Quoted commas such as "ACME, Inc" are handled as part of one field.
  • Blank lines are trimmed, so surrounding whitespace does not increase the row count.

Examples

Count a consistent CSV
Input: id,name 1,Alice 2,Bob Result: Rows: 3 Columns in first row: 2 All rows have 2 columns
Find an uneven row
Input: id,name 1,Alice 2,Bob,bob@example.com 3,Charlie Result: Rows: 4 Columns in first row: 2 Row 3 has 3 columns