How to Mass Delete Custom Fields in Salesforce? (Step-by-Step Guide)
Published: Nov 04 2023
Last Updated: Jun 05 2026
In this guide, we’ll cover two ways to delete custom fields in Salesforce:
- Delete custom fields manually using Salesforce Setup
- Mass delete custom fields using BOFC
Why Organizations Delete Custom Fields in Salesforce?
Custom fields are often created to support new business requirements, integrations, or temporary projects. Over time, however, many of these fields become obsolete.
Common reasons for deleting custom fields include:
- Removing unused or redundant fields
- Cleaning up page layouts
- Simplifying reports and dashboards
- Preparing for Salesforce migrations
- Improving org maintainability
- Reducing metadata clutter
Regular field cleanup helps administrators keep Salesforce organized and easier to manage.
How to Mass Delete Custom Fields in Salesforce?
There are two main approaches:
Method 1: Delete Custom Fields Manually in Salesforce
Salesforce provides a standard way to delete custom fields through Object Manager.
This method works well when you need to remove a small number of fields.
Steps:
- Go to Object Manager
- Select the object
- Open Fields & Relationships
- Delete fields one by one
Limitations of the Manual Approach
While the native Salesforce method is straightforward, it becomes inefficient when dealing with large numbers of fields.
Administrators often encounter challenges such as:
- Repeating the same process for every field
- Spending significant time on cleanup projects
- Managing deletions across multiple objects
- Increased chances of overlooking fields
For large-scale metadata cleanup initiatives, a bulk management approach can be more efficient.
Method 2: Mass Delete Custom Fields Using BOFC
When multiple custom fields need to be removed, BOFC provides a faster alternative by allowing administrators to perform bulk metadata operations from a single interface.
Instead of navigating to each field individually, administrators can select multiple fields and delete them together.
To avail this feature, kindly make sure you have installed the latest version of the application. You can upgrade your package using either of two ways:
- In Salesforce, go to “BOFC Home > Settings > App Version > Click to Upgrade” — or —
- Refer the below button to quickly upgrade your package to the latest version and explore its complete benefits:
Stay up to date with the latest in BOFC - Latest features, offers, news, tips and more
Steps to Mass Delete Custom Fields in Salesforce Using BOFC
1. Open the BOFC Home > Click “Bulk Field Deletion”

2. It will open below screen for BOFC Delete Fields

User can display list of fields using two methods:
- Show Directly: Once objects are selected and this method is selected, on clicking “Display Custom Fields”, it will display the list of custom fields for the selected objects in the form of table.
- Using XLS: User can download the XLS file for all the custom fields for the selected objects. User can filter the sheet and can mark which fields needs to be deleted. Once the sheet is ready, user can upload the final sheet and can delete multiple fields in single click.
Let’s review the XLS process in detail:
Step 1. Select multiple “objects” from drop down, Select the method as Download as xls to delete fields and Click on “Download as xls” button

Steps:
- Select single or multiple objects
- Select Method to Delete
- Click on Download as xls and wait for couple of seconds for process to complete (as shown in below image)

Steps:
- User can click on [Download] as per above screenshot to download all fields in XLS
- Open excel and modify your field details and save file as xls or xlsx
- Open your BOFC Delete Field page and drag or select your excel file.
Step 2. Drag file on page and it displays all the fields in tabular format

Above image has many features (each number has its description as below):
- User can filter fields by object or field names
- Pagination – This page has a pagination if count of fields is more than 80. Each page shows 80 fields. User can use “>” or “<” or “<<” or “>>” buttons to navigate on other pages.
- User can select the checkbox infront of each row.
- “Delete Fields” – On clicking this button, it will Delete all the selected fields for object.
3. Once the Delete action is completed, it will show “Success or Error” status message in-front of each row.

