A CSV export that opens in one column in Excel

When a CSV opens with every row squeezed into column A, the file is usually not damaged: its columns are separated by a character Excel does not expect on that computer, most often a semicolon where a comma is expected, or the other way round. Choose the file below: the page works in your browser, detects the delimiter of the file, shows the first 20 cleaned rows, each value in its own column, and lists every line it left out, with the reason.

Clean your CSV export

The cleaner looks for a header row, a date column and an amount column, and writes eight fixed columns: date, description, amount, currency, fee, net, reference and source. If it cannot find those columns in your file, it says so and outputs nothing.

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.

Why the file lands in one column, and what this page does with it

Lines of a semicolon-delimited synthetic sample file with decimal commas, as they are in the file and as the cleaner writes them
In the exportIn the cleaned file
02/03/2024;Recibo luz;-89,90;EUR;6.144,66;RC-00022024-03-02,Recibo luz,-89.90,EUR,,-89.90,RC-0002,bank
05/03/2024;"Alquiler local; marzo 2024";-1.500,00;EUR;4.632,66;RC-00042024-03-05,Alquiler local; marzo 2024,-1500.00,EUR,,-1500.00,RC-0004,bank
08/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

For that sample file as a whole the counts add up: rows in 27 = rows out 24 + duplicates dropped 1 + footer lines 1 + not parsed 1. Every row that is not written is listed with its line number.

The test script checks comma, semicolon and tab files, and a file whose first line is sep=;. A file separated by another character, such as a vertical bar, is not among its checks.

This is a cleaner for files of transactions and not a general CSV editor. The output is always the same eight columns, and columns of your file that are not among them are not carried over. A file with no date column and no amount column gives an error and no rows.

Opening the cleaned file in Excel

The cleaned file uses commas whatever the input. On a computer where Excel expects commas, it opens in columns with a double click. On a computer where Excel expects semicolons, a double click still shows one column: open the cleaned file from the Data tab with From Text/CSV and choose the comma as the delimiter there. An importer that asks for a comma-separated file with one header row gets that layout from the cleaned file.

How to split the columns by hand in Excel

  1. Work on a copy and keep the downloaded file untouched.
  2. Import the file, do not double-click it. In a blank workbook, use From Text/CSV on the Data tab, pick the file and choose the delimiter in the preview until the columns separate.
  3. Or split a file that is already open. Select column A, choose Text to Columns on the Data tab, pick Delimited and tick the character your file uses.
  4. Tell Excel about decimal commas. If the amounts are written like 1.234,56 and your Excel expects a decimal point, set the decimal and thousands separators in the same dialog (the Advanced button of the last step of Text to Columns), or the amounts stay text.
  5. Look at the dates before you save. A day-first date read on a month-first computer changes month or stays text; see the page about DD/MM and MM/DD dates.

Notices

Other pages

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