ConvertCSV

Salesforce CSV Import: Data Loader, Wizard, and Field Mapping

By Convert CSV Editorial TeamLast updated August 1, 2026

Import CSV into Salesforce the right way. Use Data Loader or Import Wizard, map fields, handle Record IDs, and avoid common validation failures.

Two Primary CSV Paths in Salesforce

Data Import Wizard suits simpler standard objects and smaller volumes. Data Loader (or modern bulk APIs) suits large volumes, custom objects, upserts, and deletes. Pick based on object complexity and row count—not habit.

ToolBest for
Data Import WizardLeads, contacts, accounts; guided mapping; smaller files
Data LoaderLarge volumes, upserts, custom objects, deletes
Reports exportAnalysis in Excel—not always re-importable as-is

Step-by-Step: Prepare the CSV

Salesforce rejects rows for validation rules you cannot see in Excel.

  • Export a report or Data Loader extract to learn API field names when needed.
  • Use column headers that match labels or API names per your tool’s mapping UI.
  • Include Id for updates; include an External ID field for upserts.
  • Respect picklist values exactly (case and spelling).
  • Format dates the way your org/locale expects—or use ISO where accepted.
  • Save UTF-8 CSV; check in the Online CSV Editor.
  • Run insert/upsert on a sandbox first when possible.

Record IDs, External IDs, and Upserts

Updating without Id creates duplicates. Upserting without a defined External ID field fails. Plan the key strategy before building the sheet.

  • Update: CSV includes Id (18-character Salesforce IDs preferred).
  • Insert: omit Id; satisfy required fields.
  • Upsert: map External ID column; ensure uniqueness.
  • Relationships: use related record Ids or external ID relationship fields.

Validation Rules and Required Fields

Org-specific rules are the surprise killers. Export failing rows from Data Loader’s error CSV, fix the cause (missing Industry, bad email, locked record), and reload only failures—not the entire success set again.

Real-World Examples

Admin workflows that stay calm.

Lead fair upload

Marketing delivers a UTF-8 CSV; admin maps Lead Source, runs Wizard in sandbox, then production.

Account owner mass update

Data Loader update with Id + OwnerId from a territory sheet; error file shows inactive users to fix.

Custom object migration

External IDs upserted nightly from an ERP export after field-level mapping docs are reviewed.

Common Mistakes

Avoid these Data Loader nights.

  • Inserting when you meant update.
  • Using 15-character IDs in case-insensitive tools incorrectly—prefer 18-character IDs.
  • Picklist values that do not exist in the org.
  • Lookup fields populated with names instead of Ids.
  • CSV opened in Excel that corrupted IDs into scientific notation.

Best Practices

Operate like a release engineer.

  • Sandbox first for new mappings.
  • Keep success and error CSVs with the batch.
  • Upsert with External IDs for integrations.
  • Minimize columns—only fields you intend to change.
  • Preview with Convert CSV Online before upload.

Why Use Convert CSV Online?

Convert CSV Online is free, browser-based, and requires no account for everyday conversions. Clean Salesforce exports, fix encoding, and convert Excel mapping sheets to UTF-8 CSV before Data Loader. Client-side workflows work on Windows, macOS, and Linux browsers.

Protect Salesforce Ids

Confirm Id columns still look like Ids—not 1.23E+17—before you upsert.

Conclusion

Salesforce CSV work is key strategy plus validation awareness. Choose Wizard vs Data Loader deliberately, map fields carefully, and reload only error rows until the batch is clean.

FAQ

How do I import a CSV into Salesforce?

Use Data Import Wizard for simpler loads or Data Loader for large/complex jobs. Map columns to Salesforce fields, then insert, update, or upsert.

What is the difference between Data Loader and Import Wizard?

Wizard is guided and great for common standard objects. Data Loader handles larger volumes, custom objects, upserts, and deletes.

How do I update existing Salesforce records via CSV?

Include the Salesforce Id column (preferably 18-character) and run an update—or upsert on an External ID field.

Why are my Salesforce CSV rows failing?

Usually validation rules, required fields, bad picklists, or invalid Ids. Read the error CSV and fix those fields.

Should I use UTF-8 for Salesforce CSV?

Yes. UTF-8 avoids character corruption for international data.

Can Excel break Salesforce Ids?

Yes—scientific notation is common. Keep Id columns as text and verify before upload.

References

Convert your CSV in the browser

Preview, clean, and convert CSV files free with Convert CSV Online—no installation and no account required for everyday conversions.