function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to Display 15 Digit ID to 18 Digit ID in Sales force

How to Display 15 Digit ID to 18 Digit ID in Sales force
Amit Chaudhary 8Amit Chaudhary 8
Please check below post for same

Convert a 15 character ID to a 18 character ID

Follow the steps below to create a formula field that will give you the 18 characters ID of the records.

         1. Go to Setup | Customize | object name | click Fields
                 - For Custom objects: Setup | Create | Objects | object name
         3. In the related list "Custom Fields & Relationships" click New.
         4. Click the Formula radio button.
         5. Click the Text radio button for "Formula Return Type."
         6. Input the following Formula into the Formula Editor:
 7. Set Field Visibility, add/ remove from Page Layout(s).
 8. Click Save.

Let us know if this will help you
Use can use Salesforce 15 to 18 digit ID converter, convert the whole list of 15 digit ID you want and copy-paste in the excel. The order of the result will be the same in which you have provided the 15 digit IDs. Salesforce 15-to18 digit ID converter (
Ad CadAd Cad
If you want to do ad-hoc conversions of Id's, rather than programatically, then this Chrome extension makes it easy:

FYI - I'm the developer. Please use the feedback form on the app if you'd like to suggest any improvements or additional functionality.