Repair CSV quotes & rows

Close an unfinished quoted field, pad short rows and export a reviewed UTF-8 CSV copy.

Formats CSV · TSVSteps & examples
Two quotation marks align the rows of a table.

Workspace

Runs locally in your browser. No file upload.

Input & settings

Choose a file to get startedRead locally · No upload · 20 MiB max

No file selected

Paste text or edit a loaded file

Select a file or paste data to begin.

Data preview

Run the tool to check your output here.

Review and repair malformed CSV rows

  1. Choose or paste the original CSV and confirm its delimiter.
  2. Run repair and inspect the warnings, added closing quote and padded short rows.
  3. Compare the output with the source before downloading the CSV.

Worked example

With a three-column header, a two-value row receives an empty third cell. An unmatched quote at the end of the file can be closed, but the intended row boundaries still need review.

Input and output

Choose the source delimiter before repairing. A comma-separated header and a properly quoted note can contain different numbers of commas yet still have the same field count. The browser exports repaired CSV so you can compare the note and the columns on either side.

Format and size limits

Use a file up to 20 MiB. Padding a short record adds empty cells at its end. It cannot establish that a missing value belonged in the middle, so compare meaningful columns such as customer ID and amount before importing the repaired data.

If processing fails

If several records have become one long note, locate the opening quote immediately before the first missing row. In a working copy, close it where the note actually ends and rerun the repair. A line break inside a quoted note can be legitimate.

Questions about this tool

Does repair remove extra values from long rows?

No. Rows with extra fields are preserved. Decide manually whether the source contains an extra delimiter or an intentional value.

Can this recover any broken multiline CSV?

No. A missing quote can make intended row boundaries ambiguous. The tool uses conservative repairs; verify multiline cells against the original data.

How it works

The tool appends a closing quote when a quoted field reaches the end of the file unfinished. Short rows are padded with empty cells to match the first row; longer rows are kept. Review the table, warnings and change report before exporting.

Important limitations

Closing an unfinished quote does not recover row boundaries swallowed by that field. Missing values and ambiguous records still need manual repair; keep the original file.