Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Salesforce Data ToolkitNew to Visual Studio Code? Get it now.
Salesforce Data Toolkit

Salesforce Data Toolkit

vikash-raj

|
2 installs
| (0) | Free
Run SOQL queries and export results, or bulk import/update/upsert/delete records from CSV — without leaving VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Salesforce Data Toolkit

Run SOQL queries and export the results, or bulk import/update/upsert/delete records from a CSV file — without leaving VS Code. Inspired by the "Data Export" and "Data Import" features of the Salesforce Inspector Advanced Chrome extension.

Requirements

  • Salesforce CLI (sf) installed and at least one org authenticated (sf org login web). This extension reuses those authenticated sessions instead of asking you to log in again.

Features

Export (SOQL)

  1. Run SF Data Toolkit: Open Query Editor (Export) from the Command Palette.
  2. Pick a Salesforce org (first time only, or click the org indicator to switch).
  3. Write a SOQL query and click Run Query. Results (including flattened parent-relationship fields like Account.Name) render in a table.
  4. Click Export to CSV to save the full result set to a file.

Queries are auto-paginated up to 50,000 records; a warning is shown if a query is capped.

Import (CSV)

  1. Right-click a .csv file in the Explorer and choose SF Data Toolkit: Import CSV Data (or run the command from the palette and choose a file from the Import tab).
  2. Pick the target object and operation (Insert / Update / Upsert / Delete). Upsert requires an External ID field.
  3. CSV columns are auto-matched to fields by name — adjust the mapping table if needed.
  4. Click Start Import. The load runs via Bulk API 2.0. On completion you'll see a success/failure count; if any records failed, an error log CSV is written next to your source file.

Development

npm install
npm run watch   # esbuild in watch mode

Press F5 in VS Code to launch an Extension Development Host with the extension loaded, then try the commands above.

Packaging

npx @vscode/vsce package
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft