doDev – Admin & Dev Toolkit for Salesforce

How to compare two Salesforce records

Short answer: Salesforce has no screen that puts two records side by side, so you open both and compare field by field – or export them and line them up in Excel. doDev, a free Chrome extension, compares up to five records of the same object in one go, in one org or across orgs, and highlights what differs.

Compare them with doDev

  1. Install doDev. To compare across orgs – for example the same account in a sandbox and in production – log into both in the same browser.
  2. Open doDev and go to Compare → Records.
  3. For each record, pick its org and paste its record Id (15 or 18 characters). + Add a record adds up to five.
  4. Click Compare records.

You get:

System fields that always differ – Id, created and last modified – are kept apart; check System fields to see them.

Doing it without a tool

Open both records and compare them on screen, or query both with the same SOQL (for example in the Developer Console or Workbench), export the results and compare the rows in Excel. Across orgs, run the query in each org and remember that lookup fields hold different record Ids there.


More how-to guides: all guides · doDev help