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.
Report
Warnings
Lines not parsed
Lines dropped
Preview of the cleaned rows
| line | date | description | amount | currency | fee | net | reference | source |
|---|
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
- One delimiter. A semicolon file is read as such even when its amounts hold commas, and the cleaned file is comma-delimited. A value that holds a comma is put in quotes.
- Plain decimals. A decimal comma becomes a decimal point and the dots between thousands are removed.
- One date format. Every date is written as YYYY-MM-DD. The order of day and month is taken from a date of the file whose day is above 12; when no date settles it, the page asks you.
- No repeated row. An exact copy of an earlier row is dropped and listed with its line number.
- No closing line. A line with no date after the last transaction, such as a closing balance, is dropped and listed as a footer line.
- No text in the amount column. A row whose amount is a word is left out and counted under the rows not parsed.
- A count you can check. Rows in equals rows out plus the rows dropped and the rows not parsed.
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.
| What it shows | Line in the sample export | Line in the cleaned file |
|---|---|---|
| Semicolons, a decimal comma and a day-first date | 01/03/2024;Transferencia recibida cliente 701;1.234,56;EUR;6.234,56;TR-0001 | 2024-03-01,Transferencia recibida cliente 701,1234.56,EUR,,1234.56,TR-0001,bank |
| A comma inside the description | 08/03/2024;Compra tarjeta, material de embalaje;-23,45;EUR;5.053,22;TJ-0007 | 2024-03-08,"Compra tarjeta, material de embalaje",-23.45,EUR,,-23.45,TJ-0007,bank |
| A row that the sample holds twice | 13/03/2024;Compra tarjeta envios;-310,25;EUR;6.697,97;TJ-0010 | 2024-03-13,Compra tarjeta envios,-310.25,EUR,,-310.25,TJ-0010,bank |
| A word in the amount column | 14/03/2024;Retencion pendiente;pendiente;EUR;6.697,97;RT-0011 | no line: the amount is text |
| A closing line with no date | Saldo final;;;;7.470,99 | no 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
- Privacy: files are read in your browser and never uploaded, stored or logged. Operator: Augeo.
- Independent tool, not affiliated with or endorsed by Etsy, PayPal, QuickBooks or any bank.
- Check the output before you use it. This is not accounting, tax or financial advice.
- Price of the full download: 6 USD one-time. The key is for one buyer. Refunds are requested through the Gumroad receipt.
- Only upload data you have the right to process. Choosing a file here does not send it anywhere, but you remain responsible for the data in it.