15 → 18 Salesforce ID Converter
Convert case-sensitive 15-character Salesforce IDs to the case-insensitive 18-character form. Paste one per line for batch mode.
15-char IDs (one per line)
18-char IDs
Output appears here.Convert case-sensitive 15-character Salesforce IDs to the case-insensitive 18-character form. Paste one per line for batch mode.
Output appears here.Salesforce records carry two IDs that point at the same row: a 15-character case-sensitive form used in the URL bar, and an 18-character case-insensitive form used by the API and most integrations. Mixing the two is the root cause of "this lookup works in the UI but breaks in my Apex" surprises. This converter takes either form and returns the canonical 18-character ID - paste a single value or one per line for batch mode.
The 18-character form is the 15-character ID plus a 3-character checksum that encodes the case of the first 15 characters. The converter reads the input three 5-character chunks at a time, builds a bitmap of which letters are uppercase, and translates each chunk's bitmap into one of 32 base-32 characters (A-Z, 0-5). The result is appended to the original 15 to produce the case-insensitive 18-character ID.