Skip to content

How to Save an Excel File as CSV for a Salesforce Import

New to Salesforce imports? How to turn an Excel sheet into a CSV that imports cleanly, the five things that usually go wrong, and an easier way.

On this page

If you’ve just become the person who loads spreadsheets into Salesforce, this is the step that catches almost everyone out. Salesforce’s import tools want a CSV file, not the Excel workbook you were sent, and saving one sounds simple until the import fails.

The short version: open the sheet you need, save it as CSV UTF-8, and check it before you upload. The steps below walk through each part and what can go wrong, in plain terms. If you’d rather skip CSVs altogether, there’s an easier way at the end.

What a CSV is, and why it trips people up

A CSV is a plain text copy of one sheet: just the values, with commas between them. It has no formatting, no formulas and no second sheet. Microsoft notes that saving as CSV keeps only the sheet you’re looking at and drops all formatting.

That’s why a file that looks perfect in Excel can arrive in Salesforce looking quite different. None of the steps below are hard. They just aren’t obvious the first time.

Step 1: Open the right sheet

  1. Click the tab of the sheet you want to import. Excel saves only the sheet that’s showing, and it won’t warn you if it’s the wrong one.
  2. Make sure row 1 holds the column names, with no title, notes or blank rows above it.
  3. If you need data from more than one sheet, you’ll save, and import, each one separately.

Step 2: Save it as CSV UTF-8

  1. Choose File > Save As.
  2. In the list of file types, choose CSV UTF-8 (Comma delimited).
  3. Save.

UTF-8 is the version of CSV that keeps accents, currency symbols and other special characters intact. If your version of Excel doesn’t offer it, Salesforce has a workaround using Notepad. When you upload the file in the Data Import Wizard, choose Unicode (UTF-8) as well.

Step 3: Keep the zeros at the start of numbers

Postcodes, account numbers and IDs often start with a 0. Excel treats them as numbers, and numbers don’t start with zero, so 02134 quietly becomes 2134. Salesforce’s suggested fix is to give the column a custom number format with one 0 per digit, such as 00000 for a five-digit postcode, just before you save.

The catch is that Excel forgets this the next time it opens the CSV. So make it the very last thing you do, and don’t open the CSV in Excel again.

Step 4: Check it’s commas, not semicolons

On computers set up for many European regions, Excel saves a “CSV” with semicolons between the values instead of commas. The Data Import Wizard needs commas, so it reads the whole row as one value and everything lands in a single column.

To check, open the file in Notepad, or TextEdit on a Mac. If you see commas, you’re fine. If you see semicolons, the fix is in your computer’s region settings, and Salesforce’s article walks you through it.

Step 5: Don’t save it in Excel again

Spotted a mistake? Fix it in the original workbook and save a fresh CSV, rather than editing the CSV in Excel. Salesforce warns that saving it again in Excel can undo the UTF-8 encoding, and you’d lose your leading zeros too.

Step 6: Take two minutes to check the file

CheckWhat you want to see
SeparatorsCommas between values, not semicolons
First rowYour column names, with nothing above them
NumbersPostcodes and IDs still start with 0
Special charactersAccents and symbols look right
Number of rowsThe same as the sheet you meant to save

Do this in Notepad, not Excel. Excel tidies things up on screen and hides the very problems you’re looking for.

If the import still goes wrong

What you seeWhat probably happenedWhat to do
Everything in one columnSemicolons instead of commasStep 4
Odd characters in namesNot saved as UTF-8, or saved in Excel againSteps 2 and 5
Zeros missing from numbersExcel removed themStep 3
The wrong data importedThe wrong sheet was showingStep 1

Who does this next time?

Once the file is clean, the harder question is who does this next time. If it’s always you, that’s fine. But the person who owns the spreadsheet often isn’t an admin, and handing the import over can mean handing over far more access than the job needs: to import accounts and contacts that other people own, the Data Import Wizard needs Modify All Data, the highest level of data access in Salesforce. And there’s no undo if a file goes in wrong.

Could you say, for the person who would run your next import, which records they could change if something went wrong?

Is there an easier way?

Every step above exists because Salesforce’s import tools want a CSV, and Excel doesn’t always make the CSV they expect. If you’re importing once, the checklist is all you need.

If the same spreadsheet arrives every week, or the person sending it isn’t an admin, the CSV step becomes the part most likely to go wrong. Tools that read Excel files directly, such as Impowr®, skip it entirely.

Doing this in Impowr

Impowr just works with Excel. It reads real Excel files, including workbooks with several sheets, on every plan. Here’s what happens to the steps above:

Step in this guideWith Impowr
Open the right sheetSet once in the import mapping: just upload the workbook
Save it as CSV UTF-8Not needed: upload the Excel file as it is
Check it’s commas, not semicolonsNo CSV, so nothing to check
Don’t save it in Excel againNothing to re-save
Check the fileImpowr shows exactly which rows need fixing
Match columns to fieldsSet up once in an import mapping, then reused

So the whole CSV routine becomes one step: upload the workbook. You can also give the mapping to the colleague who owns the spreadsheet. They can import only into the objects and fields it allows, with their own Salesforce permissions.

The Free plan covers you as the admin plus one colleague. When more people need it, Team and Enterprise add more users, plus undo and all-or-nothing imports.

Free plan, no time limit. Installs in about 30 minutes.

Frequently asked questions

How do I save just one sheet as a CSV?

Click the sheet’s tab so it’s the one showing, then use Save As and choose a CSV format. A CSV can only hold one sheet, so a workbook with three sheets needs three separate saves.

Why has everything ended up in one column?

The file was probably saved with semicolons between the values instead of commas, which happens on computers set up for many European regions. The Data Import Wizard needs commas, so it reads each row as one long value.

Why did the zeros at the start of my numbers disappear?

Excel treats things like postcodes and account numbers as numbers, and numbers don’t start with zero. Salesforce suggests giving the column a custom format with one 0 per digit, such as 00000 for a five-digit postcode, just before you save.

Why do names with accents look garbled after the import?

The file probably wasn’t saved as UTF-8, the format that keeps special characters intact. Save it as CSV UTF-8, choose Unicode (UTF-8) when you upload it, and don’t save it in Excel again afterwards.