RepairAnyFile
All supported formats
document.csv.tsv

Repair Malformed CSV & TSV Spreadsheets Online

Sanitizes broken UTF-8 sequences, strips NUL (0x00) bytes, and auto-closes unclosed quotes (while preserving valid multi-line RFC 4180 quoted cells).

Select or drop CSV files

Accepts .csv,.tsv files (or any supported format). Runs 100% locally in your browser.

No CSV file handy? Try a broken sample:
0 bytes uploaded • Zero server storage

CSV Errors You Might See

  • Excel or Google Sheets merges hundreds of rows into one cell
  • Import fails with "Invalid UTF-8" or embedded NUL byte errors
  • Broken quotes shift columns across the rest of the spreadsheet

What We Repair Locally

  • Sanitizes invalid UTF-8 byte sequences
  • Removes embedded NUL (0x00) bytes
  • Auto-closes unclosed double quotes when total quote count is odd
  • Preserves valid RFC 4180 multi-line quoted fields and renders an instant table preview

How CSV Repair Works

1

Sanitize Encoding

Replaces invalid UTF-8 bytes and strips NUL characters.

2

Balance Quotes

Closes unbalanced quotes without breaking valid multi-line cells.

3

Preview Table

Displays an RFC 4180 table preview before you download.

What Cannot Be Repaired Automatically

Other document Formats

Frequently Asked Questions

Can I preview my repaired CSV before downloading?
Yes, RepairAnyFile renders an instant client-side table preview of the cleaned rows.
Will it break multi-line cells inside quotes?
No. The repairer checks total quote parity across the file so valid multi-line quoted fields stay intact.