Runs in your browser

CSV Validator

Find broken quotes, wrong column counts, encoding problems and bad headers, with line numbers.

Part of the Data Checker bot
Processed in your browser
1

CSV file

Drop a CSV file hereCSV, TSV or TXT · stays on your device
2

Check results

Findings · click one to see the rows
File details
3

Preview

Fix what's safe: pads short rows, makes headers unique, removes blank lines and saves clean UTF-8 with proper quoting.

About the CSV Validator

This CSV Validator checks whether a CSV file is well-formed before you import it: rows with too many or too few fields, broken quotes, encoding problems and garbled characters, BOM markers and empty or repeated headers, each with its line number and a safe fix.

How to use the CSV Validator

  1. Drop a CSV file, or paste the text. The file is read exactly as it is, byte for byte.
  2. See every problem with its line number: wrong column counts, broken quotes, encoding trouble, bad headers and blank lines.
  3. Click a finding to see the affected rows, then download a fixed copy with the safe repairs applied.

Why imports fail

An import that stops at "line 4,812" usually has one of a few causes: a row with an extra comma, a quote that was never closed, a file saved in the wrong encoding, or blank and duplicate headers. This validator finds each of them and shows where they are.

Encoding problems, explained

Text like "Café" or "it’s" means a UTF-8 file was opened as another encoding at some point. The validator spots these garbled characters, files that aren't UTF-8 at all, and the byte-order mark (BOM) that some importers reject.

Safe fixes only

The fixed file pads short rows, gives blank or repeated headers unique names, drops completely blank lines and re-saves everything as properly quoted UTF-8 with the separator you choose. Rows with too many fields are reported, not guessed at, because only you know which value is extra.

Questions

Is my file uploaded?

No. The file is checked in your browser, on your device.

What is a BOM?

A byte-order mark is an invisible marker at the start of a file. Excel needs it to read UTF-8 accents correctly, but some databases and APIs reject it. Choose with the Excel-friendly option when downloading.

Why are rows called records?

A value in quotes can contain line breaks, so one record can span several lines. Findings show the record number and the line where it starts.

Can it fix garbled characters?

It flags them. They come from an earlier encoding mistake, so the safest fix is to export the file again from its source as UTF-8.

Also searched as: csv lint · check csv format · fix csv file · csv file errors · validate csv online · csv too many fields