Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Set Up and Maintain Your Salesforce Organization
Prepare Your Data for Import

Prepare Your Data for Import

After exporting your data from Salesforce or your existing application, prepare your data before importing it.

Required Editions

Available in: Salesforce Classic and Lightning Experience
Available in: Essentials, Group, Professional, Enterprise, Performance, Unlimited, and Developer Editions
Note
Note If your data has information in fields that do not match any standard fields, your admin can create custom fields for that data before import.

Preparing Contacts

Use Excel® to label the columns in your import file as specified in Field Mapping for Other Data Sources and Organization Import.

Preparing Person Accounts

When importing person accounts, use the field labels in Salesforce as the column labels in your import file.

Preparing Org Business Accounts and Contacts

When importing business accounts and contacts for your org, you must use Excel® to label the columns in your import file as specified in Field Mapping for Other Data Sources and Organization Import.

Preparing Org Leads

When importing general leads or leads for campaigns, use the import file labels specified in Field Mapping for Importing Leads.

Preparing Custom Objects

When importing a custom object, use the field labels shown on the custom object detail page in Salesforce as the column labels in your import file.

Preparing Campaign Members

When importing campaign members, use the field labels in Salesforce as the column labels in your import file.

Preparing Solutions

When importing solutions, use the field labels in Salesforce as the column labels in your import file.

You can enter HTML into the solutions you plan to import into Salesforce. However, unless your org has enabled HTML solutions, HTML tags will display in the solutions after they are imported.

For security purposes, Salesforce automatically filters all HTML solutions for potentially malicious HTML. If potentially malicious HTML is detected in an HTML solution, the potentially malicious HTML is either removed or transformed into text for users who view the HTML solution. Users can’t notice when potentially malicious HTML is removed from an HTML solution.

You can import solutions written in HTML format into Salesforce. However, for security purposes, only the HTML tags listed below are allowed. The content of any HTML tags not listed below is removed when saved in HTML solutions. Furthermore, the content of all <script> and <iframe> tags, as well as all JavaScript, is removed when saved in HTML solutions. Cascading Style Sheets (CSS) are not supported in HTML solutions.

The following HTML tags are allowed in HTML solutions imported into Salesforce:

<a> <dt> <q>
<abbr> <em> <samp>
<acronym> <font> <small>
<address> <h1> <span>
<b> <h2> <strike>
<bdo> <h3> <strong>
<big> <h4> <sub>
<blockquote> <h5> <sup>
<br> <h6> <table>
<caption> <hr> <tbody>
<cite> <i> <td>
<code> <img> <tfoot>
<col> <ins> <th>
<colgroup> <kbd> <thead>
<dd> <li> <tr>
<del> <ol> <tt>
<dfn> <p> <ul>
<div> <pre> <var>
<dl>    

Within the above tags, you can include the following attributes:

alt face size
background height src
border href style
class name target
colspan rowspan width

The above attributes, which can include a URL, are limited to URLs that begin with the following:

  • http:
  • https:
  • file:
  • ftp:
  • mailto:
  • #
  • / for relative links
 
Loading
Salesforce Help | Article