+ Start a Discussion
Mandipalli Jagadeesh ReddyMandipalli Jagadeesh Reddy 

Differences between 15 and 18 digit record IDs

Gordon EngelGordon Engel
15-character record IDs have upper and lower case, so they are case sensitive.  18-character IDs are case insensitive.  If you need to convert a 15-character id to an 18-character 18, read the following article:

Prashant Pandey07Prashant Pandey07
  • 15 Digit Id is case-sensitive whereas 18 Digit Id is case-insensitive.
  • API always makes use of 18 digit Id. and URL in Salesforce makes use of 15 digit Id.
You can use the following tool (https://www.adminbooster.com/tool/15to18) to convert the 15 digit to 18 digit
Did you know Salesforce 18 digit Ids were created as a workaround to the legacy system which was not compatible with 15 digit case-sensitive Ids.
you can use Salesforce 15 to 18 digit Id converter (https://sfdcwisdom.com/salesforce-15-to-18-digit/
Ad CadAd Cad
I know this is an old post, but just in case it is useful to someone, 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.