Skip to content
OddsockLocal
Local
Source text
ItemQuantity
Notebook12
Pencil4
3 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste the table into Source text or choose the file.
  2. Set Input delimiter to auto, or to the delimiter the file actually uses.
  3. Read the sentence. A valid table states the column count and the data-row count.
  4. When the message names a row, fix that line in the source and check again.

What is CSV validator?

A table that looks fine in an editor can still be illegal: two headers with the same name, a blank header, a row with one cell too few, or a quote that never closes. CSV validator parses the file and, when the table is rectangular and the headers are unique and nonempty, reports how many columns and how many data rows it found. It does not rewrite the file.

Read more

A short row stops with the line number and the widths, such as Row 3: expected 2 cells, got 1. Duplicate headers are named as duplicate column headers. A stray quote surfaces as a parse error on that CSV row. Set Input delimiter when the file is not comma-separated, or leave it on auto. Formatting and delimiter changes happen on the other pages after this one says the table is valid.

Use cases

  • A developer checks a fixture before a test run so a ragged row fails here instead of halfway through an import.
  • An analyst confirms an export is 2 columns and 2 data rows before charting it.
  • A data clerk tracks down a quote that was opened and never closed.
  • Someone merging files checks that a new export did not repeat a header name.
  • A teacher shows why a missing comma on the last row is a structure error, not a blank value.

A small sheet that parses

Item,Quantity / Notebook,12 / Pen,4. Input delimiter auto. A broken variant drops the quantity on the last line, leaving Pen alone.

Valid table: 2 columns, 2 data rows. The broken last line reports Row 3: expected 2 cells, got 1. A header row of Item,Item reports Duplicate column headers.

Why use Oddsock

A one-line structural check catches ragged rows and repeated headers before a converter guesses what the short row meant.

Related tools

Using this tool

Valid table: 2 columns, 2 data rows. The cells are not copied into the result. A passing check is that one sentence.