Skip to content
FormatMyCSV
Runs in your browser · Files are never uploaded

Repair a Broken CSV

Try recovering inconsistent row widths, stray quotes, and mixed separators before exporting a new CSV.

Workspace

CSVCSV

Input data

or drop a CSV or TSV file here

Options

Cleanup options
Advanced options

Use column numbers starting at 1. Omitted columns are deleted.

Enter comma-separated names in output order. Leave positions blank to keep their names.

Preview

Your rows and columns will appear here.

How to use Repair CSV

  1. Add the broken CSV and set its main separator if the guess looks wrong.
  2. Keep Attempt CSV repair selected and read the change report.
  3. Compare affected values with the original file before downloading the repaired copy.

Example

Name,ZIP,Status
Maya,02108,Active
Leo;00501;Pending
Ana,08001
"Noah,02109,Active
Iris,01001,Pending

The tool tries to recover the semicolon row and the unclosed quote, and it pads the short Ana row on export.

Frequently asked questions

What is a CSV file in Excel?

It is a text table that Excel can open as rows and columns. If a quote is missing or a separator changes mid-file, Excel may show records in unexpected cells. Inspect the preview and repair report before opening the result in Excel so you can verify the affected fields.

What type of CSV to use?

Use UTF-8 CSV with a consistent separator and correctly quoted cells for a new export. Quote values containing separators, double quotes, or line breaks, and double any quotes inside a quoted value. A consistent source format makes it easier for the receiving software to identify complete records.

What can the CSV repair tool recover?

It can try to recover mixed separators, stray quotes, and rows with inconsistent field counts. It uses the first populated record as a width guide and pads short rows on export. The repair runs in your browser, and your CSV file is never uploaded for analysis.

Will the tool get every broken row right?

No. A missing quote can make multiple interpretations possible, especially when a field spans lines. The tool reports its recovery attempts so you can inspect the affected rows. Compare the output with the original data when accuracy matters, and correct ambiguous records at the source if possible.

How do I tell whether the repair changed my data?

Check the report for separator, quoting, and row-width messages, then compare those kinds of values in the preview. Download the output as a separate file so the original is available for comparison. If the only issue is character display, try Fix CSV Encoding instead.