Clean a CSV before importing into accounting software

An import of transactions tends to fail on the file, not on the figures: semicolons where commas are expected, decimal commas, day-first dates, a closing balance line under the data, the same row twice. Choose the file below: the page works in your browser, 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

Prefer a file you keep? Offline CSV cleaner, single HTML file, 6 USD on Gumroad. The offline file was built from an earlier version of the engine, and its build self-check covered the six original sample layouts (PayPal activity, Etsy sold orders, Etsy monthly statement and three bank layouts); it does not include the later Fee/Net column reading used for the Stripe, Shopify, eBay and Square pages.

What is cleaned before the import

What this page does not do. The cleaned file is not shaped for any particular importer. It always has the same eight columns under the same names: date, description, amount, currency, fee, net, reference and source. Before you import, check which columns your importer requires, what it expects them to be called and in which order, and rename, reorder or delete columns in a spreadsheet where it asks for something else. The page does not assign categories, accounts or tax codes.

The table below is taken from bank-semicolon-decimal-comma-dmy.csv, one of the synthetic sample files the test script runs the engine over. Each line on the left is copied from that file and the line on the right is what the engine wrote for it. For that file the report reads: rows in 27, rows out 24, duplicates dropped 1, footer lines 1, rows not parsed 1.

Lines of the sample file bank-semicolon-decimal-comma-dmy.csv and the lines written for them
What it showsLine in the sample exportLine in the cleaned file
Semicolons, a decimal comma and a day-first date01/03/2024;Transferencia recibida cliente 701;1.234,56;EUR;6.234,56;TR-00012024-03-01,Transferencia recibida cliente 701,1234.56,EUR,,1234.56,TR-0001,bank
A comma inside the description08/03/2024;Compra tarjeta, material de embalaje;-23,45;EUR;5.053,22;TJ-00072024-03-08,"Compra tarjeta, material de embalaje",-23.45,EUR,,-23.45,TJ-0007,bank
A row that the sample holds twice13/03/2024;Compra tarjeta envios;-310,25;EUR;6.697,97;TJ-00102024-03-13,Compra tarjeta envios,-310.25,EUR,,-310.25,TJ-0010,bank
A word in the amount column14/03/2024;Retencion pendiente;pendiente;EUR;6.697,97;RT-0011no line: the amount is text
A closing line with no dateSaldo final;;;;7.470,99no line: listed as a footer line

The sample file is synthetic. The free preview shows what the page does with your own export before you pay for anything.

Notices

Other pages

Report a problem — tell us what failed; we reply to your email when it is fixed.