Salesforce ID Converter

Paste 15- or 18-character record IDs — one per line — and get both forms, the object they belong to, and a CSV.

Runs in your browser — nothing you paste is sent to us or stored.

How to use it

  1. 1

    Paste your IDs

    One per line, or straight from an Excel column, a report export or a Data Loader CSV. 15 and 18 characters can be mixed.

  2. 2

    Check the results

    Each ID shows both forms and the object its prefix belongs to. IDs whose upper/lower case was lost are repaired.

  3. 3

    Copy or download

    Copy every 18- or 15-character ID in one click, or download a CSV with the original next to the converted values.

Questions

What is the difference between 15- and 18-character Salesforce IDs?

Both point at the same record. The 15-character ID is case-sensitive: 001D000000IqhSL and 001D000000IQHSL are different records. The 18-character ID adds three characters that encode where the capital letters are, so it stays unique even in tools that ignore case. The API returns 18-character IDs; reports and some screens show 15. Salesforce accepts either.

Why do my IDs break in Excel or Google Sheets?

VLOOKUP, MATCH and most spreadsheet comparisons ignore case, so two 15-character IDs that differ only in case look like duplicates. Convert them to 18 characters before matching or de-duplicating.

Can it fix an 18-character ID that was turned to all capitals or all lower case?

Yes. The last three characters of an 18-character ID record which letters were capitals, so the tool rebuilds the correct case and marks the row “Case fixed”. A 15-character ID that lost its case can’t be repaired — the information is gone.

How do I get 18-character IDs inside Salesforce?

In a formula field or report formula, use CASESAFEID(Id). In Apex, any 15-character string assigned to an Id variable becomes 18 characters automatically, and the API always returns 18.

What does the object column mean?

The first three characters of an ID are the key prefix, which identifies the object: 001 is Account, 003 is Contact, 500 is Case. Standard prefixes are the same in every org. Custom objects (usually starting with “a”) get their own prefix per org — in Apex, Schema.SObjectType.Your_Object__c.getKeyPrefix() returns it.

Is it safe to paste real record IDs?

Yes. The conversion runs entirely in your browser; nothing you paste is sent to Metrinfo or stored. An ID on its own also gives no access to a record without a login to your org.

Further reading

Want to go beyond the tools?

Learn Salesforce administration — from beginner to certified — live classes with people who build on Salesforce every day.

See the learning path →