Illustrative AgenticEcom editorial graphic for catalog imports

Magento 2 Category CSV: Import, Export & Bulk Management

• 5 min read • 288 views

How do I import and export Magento categories by CSV?

Start by exporting the existing category records and identify each row by category ID and intended store view. A category CSV edits the category record, such as its name or description. Product-category assignments are a separate job.

Try it on staging: Update one category description in a staging store view. Check the category in that store view, the default view and the navigation. Use the Magento category tree to move an existing category to a different parent.

View Category Manager · Setup guide

Use a category-record CSV when you need to maintain names, descriptions, URL keys, menu flags and metadata across many Magento categories. Use product data when you need to change which categories contain each product. Moving an existing category under another parent is a third task: use Magento's category editor for that move.

Category Manager 1.0.5 works with category records. We verified standalone installation, Admin configuration and CSV export on Magento Open Source 2.4.9 with PHP 8.5.10. Use Import Category Replace when the job is to replace the categories assigned to each product through the native Products Add/Update import. Test on a few SKUs first and confirm which category links remain.

Which CSV changes what?

Your intended resultAppropriate route
Rename a category or update its description and metadataNative Catalog → Categories for a few records; Category Manager CSV for a reviewed batch.
Create a category beneath an existing parentNative category editor or a new Category Manager row with a blank category_id.
Move an existing category to another parentNative category editor. Category Manager's import does not support this move.
Add or replace the categories assigned to a productA product workflow. Review category assignment replacement when the file must define the final set.

Magento's native product import is not an editor for category descriptions, names and metadata. A category path in a product file identifies an assignment; it is not the category-record format described here. Check paths carefully because missing paths can create unintended categories.

Start from an export, then define the scope

Open System → Data Transfer → Category Import & Export. Export the merchant categories and retain an untouched copy. The tree root and catalogue root are excluded. The export contains default-store values; it is not an export of every translated override.

If several people will review the export, use the Google Sheets workflow for Magento categories to lock identifiers, record the proposed changes, and check the file before sending it back to Magento.

The columns are category_id,parent_id,store_id,name,url_key,is_active,include_in_menu,description,meta_title,meta_keywords,meta_description. Keep the exported category ID to update that record. Leave the ID blank only when you intend to create a category. For existing records, preserve the current parent ID.

store_id 0 means All Store Views. Use an existing store-view ID for an explicit translation or override, and create a new category at scope 0 first. Do not turn default-store rows into translated rows simply by changing names without reviewing the scope column.

Illustrative example: a name change and one new category

This is a planning example, not a newly executed import. Suppose category 42 is “Field equipment”, under parent 2, and a second store view already has a translated name. You want to improve the default description and create “Inspection accessories” under the existing parent.

  1. Export and identify category 42. Keep its ID and parent. Edit only the intended description or metadata; retain its existing URL key unless there is a separate URL-change decision.
  2. Add a row with blank category_id, parent_id 2, store_id 0 and the new category name. Use IDs from your own staging store, not these illustrative numbers.
  3. Leave the translated store-view override out of this default-content change. If it also needs editing, prepare a separate explicit row with the same category ID and the correct store ID.
  4. Import the small file in staging. Reopen category 42 at default scope and in the translated store view. Confirm that the new category has the intended parent and that the override still says what you expect.
  5. Check the public navigation, category page and affected URLs. Record the resulting new category ID before preparing product assignments.

A changed category name does not require changing its URL key. When a URL does change, inspect the actual rewrites and redirects; do not assume a CSV edit preserves every previous route.

What happens when a row is invalid?

The current guide describes a stopped import with a row number for invalid column counts, unknown IDs or a missing name. Earlier changes in that file are rolled back. This differs from importers that continue with valid rows, so use this module's result rather than assuming that all AgenticEcom CSV tools behave identically.

Keep a recoverable database backup as well as the export. The CSV is useful evidence of exported fields, but it cannot by itself restore every store-view override, deleted record, product assignment or URL rewrite. It is not a whole-tree undo button.

When is this the right tool?

For two names or a parent move, the native category editor may be enough. CSV becomes useful when an editor needs to compare descriptions, fill gaps and review many supported fields together. If the real task is to remove products from old categories, change product assignments separately after the intended categories exist.

Review Category Manager and its current release and the category CSV field guide. For other selection-based product changes, see Magento bulk-edit tools. Adobe's native import reference describes the separate product-import workflow.

This article describes AgenticEcom's own module. Reviewed for accuracy on 4 November 2026; originally published on 26 June 2026.

Product information reviewed 21 November 2026 by AgenticEcom. Examples marked illustrative show what to check in your own store.