Skip to content
LineOtter

CSV validator

Imports often fail with a vague message. Paste the file here to see exactly which line has a broken quote or which record has the wrong number of columns.

Runs in your browser. Nothing is uploaded.

Loading tool…

How to use

  1. Paste your CSV or open a UTF-8 CSV or text file.
  2. Choose its delimiter and review the preview.
  3. Review the report. If no problems are found, you can continue to CSV-to-JSON without pasting again.

Common uses

  • An import into a CRM, shop or database fails with a vague error and you need the exact line.
  • Check a file generated by a script before sending it to a client or partner.
  • Confirm that a hand-edited CSV still has the same number of columns in every row.

Example

Input
id,name 1,Ana 2
Result
1 problem found: Record 3 has 1 column. The header has 2. Check for a missing separator or value.

Good to know

  • What it checks: quotes, column names, the number of columns in each row, and blank rows (standard CSV rules, RFC 4180).
  • Broken quotes: only the first is reported, with its line number. Fix it and check again to see the next.
  • Wrong delimiter: you get a warning when everything lands in one column but the header contains another delimiter.
  • The report flags the first value with leading zeros or 16 or more digits as a spreadsheet import risk. It does not validate data such as dates or email addresses.
  • The validator reads up to 1,000,000 characters and files up to 4 MB. The preview displays up to six records and eight columns. Preview shortening does not change your input.
  • Text stays in your browser tab and is not saved.

Questions

What is a record versus a line?

A record is one row of data. A quoted field can contain line breaks, so one record can span several lines. Problems are reported by record number, quoting errors by line number.

Which delimiter should I choose?

The one your file uses. If everything shows as one column, the delimiter is probably wrong; the validator warns when it sees another delimiter inside the header.

Does it fix the problems?

No. It reports them so you can fix the source. Automatic repair could move data into the wrong column without you noticing.

Why is a blank line reported?

Many importers treat a blank line as an empty record, which can create an empty row or fail validation.