doDev – Admin & Dev Toolkit for Salesforce

How to compare two profiles or permission sets in Salesforce

Short answer: Salesforce Setup has no compare button for profiles or permission sets. You either open them one by one, export them with the Metadata API and diff the files, or use a tool that lines them up for you. doDev, a free Chrome extension, shows every difference in one table – including between two orgs.

Two profiles compared in doDev: system permissions that differ, and every section of the comparison – objects, fields, tabs, apps, Apex, connected apps – with ✓ where they are the same

Compare them with doDev

  1. Install doDev and open it from the toolbar while you are logged into Salesforce.
  2. Go to Compare → Permissions.
  3. Pick 2 to 5 profiles, permission sets or permission set groups. Each can come from a different org – for example the same permission set in a sandbox and in production.
  4. Click Compare.

You get:

Comparing two users instead

When the question is “why can Anna do this and Ben can’t?”, use Compare → Users. It combines each user’s profile, permission sets and groups and says which one grants each difference.

Doing it without a tool

Common questions

Can I compare a permission set group? Yes – doDev uses the group’s combined permissions, after muting.

Does it change anything in my org? No. Comparing only reads. doDev runs in your browser with your existing Salesforce login; nothing is installed in the org.

Related: compare a profile between two orgs · compare a profile with a permission set · compare a permission set between sandbox and production · compare permission set groups


More how-to guides: all guides · doDev help