A CSV with line breaks inside quoted fields

A memo, a note or an address typed over several lines ends up in an export as one field in double quotes with line breaks inside it. A tool that splits the file line by line then sees several broken rows where there is one transaction. Choose the file below: the page works in your browser, reads each quoted field as one value, shows the first 20 cleaned rows and lists every line it left out, with the reason.

Clean your CSV export

The cleaner detects the delimiter (comma, semicolon or tab), looks for a header row with a date column and an amount column, and writes eight fixed columns, comma-delimited: date, description, amount, currency, fee, net, reference and source. It recognises common header names in English, Spanish, German and French, such as Date, Fecha, Buchungstag, Amount, Importe, Betrag and Montant.

Your file is read in your browser and is never uploaded, stored or logged. It is held in the memory of this tab only, and closing or reloading the page discards it. Operator: Augeo. See the privacy notice.

Exports do not share one layout, and this page makes no promise about yours: the free preview shows what it does to your file.

The cleaning logic is checked by an automated test script that runs the engine file of this site over six synthetic sample files and a set of checks of the parsing rules; it ran in a sandbox before this site was published and finished with no failed check. The script does not open this page in a browser, does not test the licence key step, and nothing was tested against a real export from any provider. Use the free preview to check your own file.

Download the full cleaned file

  • Price: 6 USD, paid once on Gumroad. No subscription. You receive a licence key.
  • What the key unlocks: the download of every cleaned row of the file you chose, as one CSV named after your file with -cleaned.csv at the end, instead of the first 20 rows on screen. The report and the way files are read stay the same.
  • The key is for one buyer. Runs are not counted and no number of runs is promised. The key is kept in the memory of this page only, so you enter it again after closing or reloading the page.
  • Refunds are requested through your Gumroad receipt and follow Gumroad's refund policy.
  • Try the free preview first. If the preview cannot read your file, the full download cannot either.

Get a licence key on Gumroad for 6 USD

How line breaks inside quoted fields are read

In the lists of lines left out, the text of a line is shown with its white space collapsed to single spaces and is cut after 200 characters.

The output is always the same eight columns (date, description, amount, currency, fee, net, reference and source), comma-delimited. A multi-line field in any other column of your file is read as one value, so the columns stay aligned, but that column is not carried over. This is a cleaner for files of transactions and not a general CSV editor.

In a spreadsheet instead: import a copy of the file through the import dialog with the double quote set as the text delimiter, replace the line breaks in the column with spaces using find and replace, and save as CSV.

Notices

Other pages