Skip to main content
Data

What is Data Loader in Salesforce?

Updated · By the Clientell AI team · How we write

Data Loader is a free client application from Salesforce for bulk loading and exporting records with CSV files. You install it on your computer and use it to insert, update, upsert, delete and export data on almost any standard or custom object. It runs through a wizard or, on Windows, a command line for scheduled jobs.

Key facts

What it is
A free Salesforce client app with a wizard interface and a command line
Operations
Insert, update, upsert, delete, hard delete, export, export all
File format
CSV in, CSV out, with success and error files
Record limit
Files of up to 150 million records with Bulk API 2.0, per the developer guide
Install needs
Java Runtime Environment 17 or later, per the macOS install steps. Windows and macOS are supported.
Command line
Windows only

Clientell AI, the AI Salesforce admin, checks your data for duplicates and bad values before Data Loader runs. See the data cleaning use case

Try it in Clientell AI

“Check my Lead data for duplicates and bad values before Data Loader runs, and show me every change for approval.”

Clientell AI reads your org first. Platform deployments include rollback. How security works.

Start the 14-day free trial, no card

How does Data Loader work?

You pick an operation, choose the object, select a CSV file and map its columns to Salesforce fields. The app then sends the rows through the Salesforce API. It writes a success file and an error file, so you can fix failed rows and rerun only those.

Because it uses the API, it respects the permissions of the user who logs in. That user needs API Enabled plus the object permission for the operation, such as Create on Account to insert accounts. Hard delete needs the extra Bulk API Hard Delete permission, per the developer guide.

What operations does Data Loader support?

The tool offers these operations, each with a clear use.

  • Insert: create new records from the file.
  • Update: change existing records. The file needs the record Id.
  • Upsert: update records that match an Id or external ID, and insert the rest.
  • Delete: move records to the Recycle Bin.
  • Hard delete: remove records without the Recycle Bin. This needs the Bulk API option and a special permission. See Salesforce's guide to insert, update and delete.
  • Export: run a SOQL (Salesforce Object Query Language) query and save the results to CSV.
  • Export all: the same as export, but it also includes deleted records that are still in the Recycle Bin.

When do admins use Data Loader?

Admins use it for data migrations, mass updates after a re-org, de-duplication clean-ups, scheduled backups and any job the Data Import Wizard cannot do. That means deletes, exports, objects like Opportunity and Case, and files above the wizard cap.

Salesforce's own guidance puts the wizard at under 50,000 records and sends bigger or repeated loads to this tool. The complete guide walks through each screen,

Example: export accounts and update them

This flow pulls Accounts, fixes a field in the CSV and loads the change back. Use a sandbox first for anything large.

  • Launch the app and log in. Choose Export.
  • Select the Account object and enter a query like the one below. Save the file.
  • In the CSV, edit the Industry column. Keep the Id column as it is.
  • Choose Update, select Account, and pick the edited CSV.
  • Map columns to fields. Save the mapping file so you can reuse it.
  • Run it. Open the success file to confirm, and the error file to find rows to fix.
SELECT Id, Name, Industry, OwnerId
FROM Account
WHERE LastModifiedDate = LAST_N_DAYS:7

Data Loader vs Data Import Wizard

Both load CSV data. The wizard lives inside Salesforce and suits small jobs. The installed app is built for volume and extra operations.

Data Import WizardData Loader
Where it runsIn the browser, inside SetupInstalled on your computer
Records per run50,000 per importUp to 150 million with Bulk API 2.0
OperationsAdd, update, add and updateInsert, update, upsert, delete, hard delete, export, export all
Export dataNoYes
Command lineNoYes (Windows only)

How does the Bulk API option and the command line work?

By default the app uses the SOAP-based API. In Settings you can switch to Bulk API or Bulk API 2.0. Salesforce documents the Bulk API as faster because of parallel processing and fewer network round-trips. With Bulk API 2.0, Salesforce handles batching for you.

For unattended jobs, the command line runs a process.bat file against a config folder that holds process-conf.xml. The ProcessRunner bean id names the job. Salesforce supports this on Windows only.

process.bat "C:\Users\username\dataloaderconfig" accountInsert

Common mistakes with Data Loader

Most problems come from the file or from automation that fires on every row.

  • Running a big load straight in production: test a small file in a sandbox first.
  • Forgetting automation: flows, triggers and validation rules run on every row. Review or pause them before a large load.
  • Missing Ids: updates and deletes need the record Id. Upserts need an Id or an external ID column.
  • Hard delete by habit: it skips the Recycle Bin and cannot be undone. Use plain delete unless you must.
  • No Java: install a Java Runtime Environment first. Salesforce lists version 17 or later.

FAQ: Data Loader in Salesforce

What is Data Loader in Salesforce?

Data Loader is a free client app from Salesforce for bulk insert, update, upsert, delete and export of records using CSV files.

What is the Data Loader record limit?

Salesforce says it supports files of up to 150 million records with Bulk API 2.0.

What is the difference between Data Loader and the Data Import Wizard?

The wizard runs in the browser and handles up to 50,000 records. The app is installed, handles far larger files and can also delete and export.

Is Data Loader free?

Yes. It is a free tool from Salesforce. Its calls count toward your org's API limits.

What is the Apex Data Loader?

It is an older name for the same tool. Today it is called Salesforce Data Loader.

Can Data Loader run from the command line?

Yes, for scheduled jobs. Salesforce supports the command line on Windows only.

Getting Started

Try this on your own org

Start the 14-day free trial, no card. Clientell AI asks before it changes anything in production.

14-day free trial  ·  No credit card required

SOC 2
HIPAA
ISO 27001
Salesforce Partner