Skip to main content

Delete Metafields in Bulk with CSV Import

You can use the CSV import feature to delete metafields in bulk by leaving value columns empty and enabling the "delete empty metafields" option.

CSV Requirements

Your CSV file needs only 4 columns:

ColumnDescription
Resource identifierProduct ID, handle, etc.
Metafield namespaceThe namespace of the metafield to delete
Metafield keyThe key of the metafield to delete
Metafield valueLeave empty to delete; populate to update

Both Rows and Columns CSV formats are supported.

How It Works

  1. Prepare a CSV with your resource identifiers and target metafield namespace/key
  2. Leave the value column empty for metafields you want to delete
  3. Upload the CSV via Bulk ActionsImport
  4. Enable the "Delete empty metafields" setting
  5. Start the import

When processing:

  • Blank value columns → metafield is deleted
  • Populated value columns → existing metafield is updated with the new value

This approach gives you fine-grained control you can delete some metafields while updating others in a single import operation.