Etsy CSV sale date format to YYYY-MM-DD
A sold orders CSV can write its Sale Date column with the month first and a two-digit year, as in 02/14/24. Sorted as text, such dates fall out of order as soon as the file spans two years, and an importer that expects year-month-day rejects them or swaps day and month. Choose the file below: the page works in your browser, rewrites every date it can read as YYYY-MM-DD, 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 happens to the Sale Date column
- The order of day and month is taken from the file. One date whose day is above 12 settles it for every row. In the sample below,
02/14/24can only be 14 February, so the whole file is read month first. - The order is never guessed. When every date of a file could be read both ways, the page writes no rows and asks you to choose day first or month first. A file that mixes dates that fit only one order with dates that fit only the other stops in the same way.
- A two-digit year is written with four digits.
02/14/24becomes2024-02-14. - A row with no date is not given one. An empty date is not read as a date, so the row is left out of the cleaned file and counted under the rows not parsed.
- The date in the cleaned file is the Sale Date. The cleaned file has eight columns and one date per row; the shipping date of the sample file is not among them.
The table below is taken from etsy-sold-orders.csv, one of the synthetic sample files the test script runs the engine over. Each Sale Date is copied from that file, and the date and reference next to it are the ones the engine wrote for the same row. For that file the report reads: rows in 7, rows out 6, rows not parsed 1. The row that was not parsed is the one order of the sample with an empty Sale Date.
| Sale Date in the export | date in the cleaned file | reference in the cleaned file |
|---|---|---|
| 02/14/24 | 2024-02-14 | 3100000001 |
| 02/16/24 | 2024-02-16 | 3100000002 |
| 02/28/24 | 2024-02-28 | 3100000003 |
| 03/02/24 | 2024-03-02 | 3100000004 |
| 03/05/24 | 2024-03-05 | 3100000005 |
| 03/09/24 | 2024-03-09 | 3100000007 |
The reference column holds the order number of the same row, so each cleaned date can be traced back to its order. Every date in the cleaned file has the same form, four digits for the year, two for the month and two for the day, so the column sorts in calendar order as plain text.
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.