CSV cleaner and validator
Validate CSV quoting, headers and record widths, then clean spaces or Unicode text with explicit options. Preview changes and download locally.
Runs in your browser. Files are not uploaded.
UTF-8 only: up to 2 MiB, 10,000 data records and 100 columns. Output up to 8 MiB. The first record must contain unique, non-empty headers.
Cleaning applies to data cells, not headers. Line breaks inside quoted cells are preserved. No number or date conversion. Formula protection may add an apostrophe in the download; previews show the text before protection.
Paste CSV or choose a UTF-8 file, then validate and clean.
Validation report
Changed cells: first 10, up to 400 characters each
Output preview
Check first, then clean
Select the separator used by your file. Validation reports malformed quotes, duplicate or empty headers and records whose field count differs from the header. Record numbers include the header and count quoted multiline fields as one record. The first 50 structural issues are shown. Invalid CSV is not repaired by guessing.
What is preserved?
All cleaning options start off. Enable only the changes you need, then compare the before/after examples. Blank-record removal is explicit and can remove completely empty records before width checks. Output uses quoted fields, CRLF and a UTF-8 BOM. Preview shows up to 10 records and 8 columns; the download includes all cleaned records. Files stay on your device.