Developer Tools
Salesforce 15 to 18 Character ID Converter
Convert Salesforce Record IDs between 15-character and 18-character formats for admin exports, integrations, spreadsheets, Data Loader workflows, and case-safe matching.
What is a Salesforce ID?
A Salesforce ID is a unique identifier assigned to Salesforce records such as accounts, contacts, opportunities, cases, users, and custom objects.
Salesforce IDs are often copied from URLs, exports, reports, integrations, and API responses when teams need to connect records across systems.
15-character vs 18-character Salesforce IDs
The 15-character Salesforce ID is case-sensitive, which means uppercase and lowercase letters must be preserved exactly.
The 18-character Salesforce ID adds a three-character suffix that makes the value safer for systems where case-sensitive comparison may not be reliable.
Why convert Salesforce IDs?
The 18-character format is commonly safer for Excel, CSV files, external databases, integrations, matching, deduplication, and automation workflows.
This converter is useful when you need quick Salesforce ID conversion without creating a formula field or signing in to Salesforce.
Salesforce CASESAFEID formula
Inside Salesforce, the CASESAFEID() formula can return an 18-character case-safe version of a Salesforce ID.
CloudTokens provides a browser-based converter for quick one-off or bulk conversions outside Salesforce.
Format validation
This tool checks whether an entered value is exactly 15 or 18 alphanumeric characters before conversion.
Format validation does not confirm that the record exists in your Salesforce org because the tool does not call Salesforce APIs.
How to use this tool
- Paste a Salesforce Record ID into the single converter.
- The tool detects whether the value is 15 or 18 characters.
- Review the converted ID and copy it when ready.
- Use Reverse to move the converted result back into the input for the opposite conversion.
- For bulk conversion, paste one Salesforce ID per line and copy or download the CSV results.
Examples
- 001xx000003DHur converts to 001xx000003DHurAAG.
- 001xx000003DHurAAG converts back to 001xx000003DHur.
- Use 18-character IDs when moving Salesforce record IDs through CSV files, spreadsheets, or external systems.
Important concepts
- Salesforce 15-character IDs are case-sensitive.
- Salesforce 18-character IDs include the original 15 characters plus a three-character case-safety suffix.
- The conversion suffix encodes capitalization information from the original 15-character ID.
- The first 15 characters of an 18-character Salesforce ID are the original 15-character ID.
Common problems
- Changing the letter case of a 15-character Salesforce ID.
- Using 15-character IDs in spreadsheets or systems that compare text without case sensitivity.
- Assuming format validation proves a Salesforce record exists.
- Pasting spaces or punctuation around an ID copied from another system.
Frequently asked questions
What is the difference between a 15-character and 18-character Salesforce ID?
The 15-character ID is case-sensitive. The 18-character ID includes a suffix that preserves case information for safer use in case-insensitive systems.
Can I convert an 18-character Salesforce ID back to 15 characters?
Yes. The first 15 characters are the original case-sensitive Salesforce ID.
Does this converter require Salesforce login?
No. The conversion uses the public Salesforce ID checksum approach and does not require Salesforce authentication or API access.
Does this prove the Salesforce record exists?
No. The tool validates the ID format and converts the value, but it does not query Salesforce records.
Related tools
-
JSON Formatter & Validator
Format, beautify, minify, validate, copy, and export JSON with line-aware error feedback.
-
Base64 Encoder & Decoder
Encode text to Base64, decode Base64 to text, convert Base64URL values, and work with local files using copy, swap, and download controls.
-
UUID Generator
Generate RFC 4122 UUID v4 and GUID identifiers with simple formatting, copy, batch, and export controls.
-
Regex Tester & Visualizer
Create, test, debug, and explain JavaScript regular expressions with live matches and capture groups.
-
JWT Debugger
Decode, inspect claims, verify signatures, compare payload structure, and review JWT expiry timelines.