The sep= line at the top of a CSV file
Some exports start with a line that holds only sep= and one character. It is a hint that tells Excel which delimiter the file uses; it is not a transaction and not a header. Choose the file below: the page works in your browser, uses the delimiter that line names, 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.
How the sep= line is read
- The delimiter named on the line is used. When the first line of the file is
sep=followed by a comma, a semicolon or a tab, the cleaner takes that character as the delimiter and does not run its own detection. The "Delimiter" line of the report shows which one was used. - Capital letters and spaces at the end do not matter.
SEP=is read likesep=, and spaces after the delimiter character are ignored. - Only the first line counts. A
sep=line further down in the file is not a hint and does not change the delimiter. - Only a comma, a semicolon or a tab is accepted. When the line names any other character, it is not taken as a hint and the delimiter is detected from the content, among those three. A file delimited by another character, such as a vertical bar, is not read by this page.
- The line itself is not a transaction. When the cleaner finds the header row by its column names, the
sep=line sits above it, so it is dropped like any other line above the header and listed under "Lines dropped" with its line number. It is counted in the "Dropped: lines above the header" line of the report and not in "Rows in". - Line numbers include it. The header row of such a file is reported one line lower than in a file without the hint, so the line numbers in the report match what a text editor shows.
- The cleaned file has no sep= line. Its first line is the header with the eight column names, and it is comma-delimited.
Of the points above, the test script checks the first one, with a file whose first line names the semicolon. That lines above the header are listed and not output is checked with another file, one that has no sep= line. No sample file of this site starts with a sep= line, so this page shows no rows before and after.
The sep= line is a convention of Excel and is not part of the CSV format: programs that do not know it show it as a first row of data. That is why an import into accounting software can fail on a file that opens well in Excel.
Without a sep= line the delimiter is detected from the content. See the pages about semicolon files and tab-delimited files.
The cleaned file is comma-delimited whatever the input. If your spreadsheet program expects semicolons, open the cleaned file through its import dialog and choose the comma there.
The output is always the same eight columns (date, description, amount, currency, fee, net, reference and source). Columns of your file that are not among them are not carried over, so this is a cleaner for files of transactions and not a general CSV editor.
By hand: open a copy of the file in a plain text editor, delete the first line and save. The delimiter of the rest of the file stays what it was.
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.