+ 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:

https://help.salesforce.com/apex/HTViewSolution?urlname=How-to-convert-a-15-character-id-to-a-18-character-id-1327109385626&language=en_US
 
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
NILESH RAJ 20NILESH RAJ 20
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/
Adam Cadman 4Adam Cadman 4
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:
https://chrome.google.com/webstore/detail/sf-15-to-18/cogllpmaoflgaekieefhmglbpgdgmoeg

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

Thanks!