CSV check & repair
Find quoting errors and uneven records, check the delimiter and encoding, then export a UTF-8 CSV with explicit settings.
First visit · Step 1 of 3
Paste or upload
Choose a CSV file or paste text below. Processing stays in this browser; nothing is uploaded.
- 1 Paste or upload
- 2 Preview
- 3 Download
Skip anytime. This browser only stores that you finished or skipped — never your file. Storage details
- 01 Add data
- 02 Review
- 03 Export
Start with your source.
Loads the same teaching content as the public /samples/ CSVs into this page. Nothing is uploaded. Pick one, then Preview. The status line states the expected preflight outcome and an honest limit. You can also download leading-zeros.csv, scientific-notation.csv, date-looking-text.csv, phone-numbers.csv, sku-codes.csv, zip-plus-4.csv or long-ids.csv.
CSV/text only: 5 MiB, 20,000 records, 256 columns, 250,000 cells. Processing stays in your browser. Keep an original copy.
Auto detection suggests a separator. Export is blocked only when detection is uncertain — if Comma (or another choice) is already selected and confirmed, you do not need to resolve it again.
Encoding applies to selected files. Pasted text is already decoded by your browser.
Keyboard: Ctrl or ⌘ + Enter runs Preview from the workbench. Escape moves focus to the error if one is shown. Undo last change restores the previous file, paste, sample or clear.
Add a file, paste some text, or try the example. Nothing is uploaded.
Review your result
Local preflight summary
A local copy of these checks (topic, level, detail, what to do). It is not your data file and is not uploaded.
Review duplicate groups
Compare the original parse with the current result. Changed cells are highlighted on the result view. Download always exports the result, not the original-parse view.
Before you download
Export this checked result directly. Changing the format does not change the source or cleaning rules.
Excel column types · Text by default
Keep IDs, phone numbers and long references as Text. Choose Number only for quantities you want to calculate. Use plain decimals with a dot, without spaces, commas, currency or exponents. Empty fields stay blank. We conservatively allow up to 15 significant digits.
Two-decimal display changes appearance, not the stored value; Excel may round what you see. Dates and formulas are not inferred. Number display may differ from the input spelling.
Text by default in Excel; choose numeric columns deliberately. CSV has no column types. Keep the original and check the downloaded file.
What can CSV check & repair actually fix?
This tool changes separators and decodes bytes with the encoding you select. It cannot reconstruct missing characters. Quoting errors identify a record, physical line and field, then add a What to do sentence (close the quote, wrap the field, or choose a different delimiter). Uneven-record diagnostics show the starting line and expected field count. These are format checks, not a validation of business rules or every CSV dialect.
A record can span several lines
A quoted note containing a line break is still one record. Physical line numbers count CRLF as one line break. Source record numbers include the header, when present. Use both locations to inspect the source without splitting a valid multiline field. If auto detection cannot parse your text, select the delimiter explicitly for a precise quoting error.
What the local preflight adds
After Preview, the preflight summary lists encoding/BOM hints, delimiter certainty, empty rows, whole-row duplicate risk, identifier heuristics (leading zeros, long IDs, ZIP+4 shapes, plus-prefixed phones), header blanks, date-looking text, formula-like fields, edge whitespace and replacement characters. A tally counts warnings, notes and clear checks, and warnings are listed first. Each row has a What to do step; a fired check can link to the matching how-to. Download that summary as a CSV if you want a local copy of the checks (checklist order, not the on-screen order). It is heuristic and does not change the file.
What a repaired download is named
A successful CSV or XLSX export uses your original file stem plus -repaired (and -matched if you export only filter matches). The original is not overwritten. Preflight downloads as -preflight.csv and is not the repaired data file.
Fix a one-column CSV → · Understand CSV quoting → · When UTF-8 is valid but the text is wrong → · Delimiters and decimal commas → · Fix garbled characters →
Inputs this checker accepts
Choose the original bytes when encoding matters — Auto is strict UTF-8 unless a UTF-16 BOM is present. You can then select UTF-8, UTF-16 LE/BE, Windows-1252, Shift JIS or GB18030. Delimiters are comma, semicolon, tab and pipe. Quoting errors name the record, physical line and field, then add a Next step sentence (close the quote, wrap the field, or choose another delimiter). Pasted text cannot test original encodings.
What you download
Default output is UTF-8 CSV with a -repaired suffix and the output delimiter you choose. XLSX is available. Preflight downloads as -preflight.csv and is not the repaired data. Formula protection is off by default; turning it on prefixes formula-like fields with an apostrophe and changes those exported values. Original parse versus Result is available when blank rows were removed from the preview.
What CSV check & repair cannot do
- Reconstruct replacement characters (
�) or turn saved mojibake such as Café back into Café. - Detect every historical encoding, or treat Auto as proof of Windows-1252, Shift JIS or GB18030.
- Pad or delete fields to hide uneven nonempty records.
- Validate prices, SKUs or business rules; these are format checks, not a schema validator.
Validate structure before converting the delimiter
This synthetic semicolon-delimited file contains a separator inside a quoted description:
id;description;quantity 00127;"Notebook; blue";12
The correct preview has three columns, with Notebook; blue in one cell. A global replacement of semicolons would also change the description. This tool parses quoted fields before exporting another delimiter.
What the CSV validator checks
- Quoting errors and their record, physical line and field locations.
- Nonempty records with different numbers of fields.
- Whether the selected byte encoding decodes without invalid sequences.
A structurally valid file can still contain wrong prices, outdated records or damaged text saved by another application. These checks do not validate business rules or reconstruct lost characters.
Check more than the first few records
The preview displays twenty data records per page and every parsed column. Scroll inside the table for wide files, use Next for later records, or filter a specific column. The source record number is a preview label, never an extra output column. Quoted line breaks belong to a field, so a record can span several physical lines.
Choose All result records to export the complete result, or Only records matching the filter to export all matches across all pages. The current preview page does not determine the download. The header, when enabled, is retained in either export. Zero matches disable a matching export.
What happens to my original file?
Parsing and encoding changes stay in this browser. A successful export uses -repaired so it does not replace the source. Preflight CSV is a check list, not the repaired data. Undo last change restores the previous file, paste or sample.
Can changing encoding restore already-wrong letters?
No. Replacement characters and saved mojibake need a fresh export from the source system. Auto mode does not detect Windows-1252. See mojibake and BOM and fix encoding.
What does the local preflight summary actually check?
After Preview, it reports encoding/BOM hints, delimiter certainty, empty rows, whole-row duplicate risk, identifier risks (leading zeros, 16+ digit tokens, exponents, ZIP+4 shapes, plus-prefixed phones), header blanks/duplicates, date-looking text, formula-like fields, edge whitespace and replacement characters. Each row includes a What to do step. It is heuristic, runs only in this browser, and does not change your file. You can download that summary as a CSV.
Why is download blocked, and what is the file named?
Quoting errors stop the parse before a preview exists. Uneven nonempty records and an uncertain delimiter block download after preview. Blank physical rows do not. Ready files use -repaired, plus -matched for a filter export.
How can I prove nothing was uploaded?
Open DevTools → Network, preserve the log, then preview and download a synthetic file. Your CSV fields should not appear in a POST body. Static assets and optional analytics beacons are expected. See the prove zero-upload guide.
When should I re-export instead of repairing?
Repair helps when delimiters, quoting or encoding hide intact characters. Re-export when zeros, long IDs or accents are already rewritten in the file. The decision guide is repair versus re-export.