Salesforce Data Loader CSV cleaner
Drop in a CSV before you import it with Data Loader. The cleaner fixes the things that cause “Failed to parse” errors and messy data: dates in the wrong format, 15-character IDs, yes/no values from a non-English Excel, decimal commas, wrong file encoding and stray spaces. It also finds duplicates and empty required fields. Your file never leaves your computer.
The errors it prevents.
Automatic fixes
- Dates changed to yyyy-MM-dd, which Data Loader always accepts
- 15-character IDs in ID columns converted to 18 characters
- WAHR/FALSCH, VRAI/FAUX, VERDADERO/FALSO, WAAR/ONWAAR and similar changed to true/false
- Decimal commas such as 1.234,56 changed to 1234.56
- Files saved as Windows-1252 or with semicolons saved again as UTF-8 with commas
Problems it reports
- Dates that could be day-first or month-first
- Impossible dates such as 31/02/2026
- Duplicate rows, matched on a column you choose
- Rows with empty values in columns you mark as required
Tips for a clean Data Loader import.
Dates
Data Loader reads MM/DD/YYYY by default and DD/MM/YYYY only when “Use European date format” is ticked in its settings. YYYY-MM-DD works either way, which is why the cleaner uses it.
Excel
Excel can change dates, long numbers and IDs when it opens or saves a CSV. Run the file through the cleaner after the last Excel save, not before.
Good to know.
What date format does Salesforce Data Loader accept?
MM/DD/YYYY by default, DD/MM/YYYY when the European date format setting is on, and YYYY-MM-DD in both cases. For date and time, yyyy-MM-ddTHH:mm:ss works well.
Why does Data Loader say “Failed to parse date”?
Usually the date is in a format Data Loader is not set up for, often day-first dates without the European setting, or Excel changed the format when saving. Converting to YYYY-MM-DD fixes it.
Why are accents wrong after my import?
The CSV was probably saved in Windows-1252 rather than UTF-8. The cleaner detects this and saves the cleaned file as UTF-8.
Does Data Loader accept yes and no for checkboxes?
Yes, it accepts yes, no, true, false, 1, 0 and similar English values. It does not understand WAHR, VRAI or VERDADERO from a German, French or Spanish Excel, so the cleaner converts those.
Is my file uploaded?
No. The file is read and cleaned in your browser and the download is created on your computer.
Other tools you might like.
Need an expert, not just a tool?
Our Salesforce admins ($30/hour) and developers ($40/hour) fix data, automation, forms and integrations. Book a free 30-minute call to talk it through.
