Back to Top

Category Bulk Upload Using CSV/XML/XLS for Magento 2

Updated 4 February 2026

Category Bulk Upload Using CSV/XML/XLS for Magento 2 helps the admin to import and export a bulk number of categories on the store.

The bulk import of categories can be done using CSV, XLS, or XML files as required.

Sample files are also available. The admin can do one-click export categories in CSV format for various Magento2(Adobe Commerce) stores.

Also, if you are looking to import and export the product reviews then you can check the Magento 2 Product Review Import Export extension.

Moreover, to get a more clear idea of the module, kindly review the video below-

Searching for an experienced
Magento 2 Company ?
Find out More
DMZxFOVEWoc

Features –

  • Ajax one by one category import feature.
  • Admin can import mass categories with and without images
  • Admin able to export mass categories store wise
  • Category upload via CSV/XLS/XML files.
  • The admin can make changes in the exported category file.
  • The code is fully open & you can customize it according to your need.
  • Message queue feature added for import and export categories.
  • Multi-Lingual support / All language working including RTL.

Installation – Category Bulk Upload

Firstly, customers will get a zip folder and they have to extract the contents of this zip folder on their system.

The extracted folder has an src folder, inside the src folder you have the app folder.

You need to transfer this app folder into the Magento2 root directory on the server as shown below.

Installation Of Magento2 Preorder

After the successful installation, you have to run these commands in the Magento2 root directory.

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:flush

Configuration for Multilingual Support

In addition,  for the multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options 

Furthermore, select the locale as German (the language into which admin want to translate his store content).

locale

Module Translation

For translating the module language, navigate through        src/app/code/Webkul/CategoryMassUpload /i18n and edit the en_US.csv file.

Further, rename that CSV as to your language code and region code like – “de_DE.csv” and translate all right side content after the comma in your language.

After editing the CSV, save it and then upload it to the path app/code/Webkul/CategoryMassUpload /i18n where you have installed Magento 2 on the server.

Moreover, Category Bulk Upload module will get translated into your desired Language. It also supports RTL and LTR languages.

translation

Category Manager

Firstly, the admin will click on the “ Category Manager” option then the admin will get two options ” Manage Category Mass Import ”

and “Manage Category Mass Export ” as per the below snapshot –

mass-upload-category-management

Manage Category Mass Import

Moreover, when the admin click on ” Manage Category Mass Import” the below page will be displayed.

Here, the admin can download the sample file (CSV/XLS/XML) to import the categories and can edit the sample file as per the requirement.

The admin can import the categories with the images or without the images.

Categories with Images  – Upload the category file with the images zip file and save it.

Moreover, the image zip file should contain image files mentioned in the category upload file.

Categories without Images – Upload only category file and save it.

category-import

Sample CSV File 

Screenshot_from_2020_06_29_18_31_05

Category Id – Here is the column for the category ID,It will be blank while creating new categories as category ID of new category will be decided by SQL incrementer.

Although Category ID will be visible in csv while exporting categories.

Categories – Here, the admin can enter categories and their subcategories(like – Men/Clothes. Here, clothes is a subcategory of the Men category)

Parent ID – Here the admin needs to enter the parent id of the parent categories.

Store- Here the admin needs to enter **Storeview_id** of the store .

Name-The admin needs to enter the name of the category which he wants to import.

Path– Here the admin needs to enter the path of the category for this he has to enter category Ids followed by forward slash eg 1/2/3

Is Active – The admin can set 1 to display category at the front end else 0.

Include in Menu – The admin can set 1 to display category in the Menu bar at the front end else 0.

Is Anchor – The admin can set 1 to make the category clickable in the Menu bar at the front end else 0.

The admin can enter the meta title, meta keywords, and meta description.

Images – Here, you need to enter the category image name which will be the same as in the image zip file if you are uploading the categories with images.

Products – The admin can add products to the category by just entering the product Ids.

Description– The admin can enter the category description which will get imported with the category.

URL Key-Need to enter the url key which will be unique for the each category.

Import the Categories 

Initially, you need to upload the categories file and save it then you will get the categories has been added in message queue notification message as per the below snapshot –

webkul-magento2-category-mass-upload-upload-completed

Note:The cron should be properly set up and running to import the categories.

Further, after importing the categories, the admin can view categories as per the below snapshot – webkul-magento2-category-mass-upload-imported-categories

Manage Category Mass Export

After that, when the admin click on the” Manage Category Mass Export” option then the below page will be displayed.

webkul-magento2-category-mass-upload-category-export

Here, the admin can choose the store view and click the ‘Export Categories‘ button. Once the process is complete, the page below will be displayed.export-complete

The cron should be properly set up and running to generate and list the exported CSV file.

Once the file is listed, the admin can download or delete it using the ‘Select’ button.

The admin can view the downloaded file as per the below file –Screenshot_from_2020_06_30_14_45_21-1

Meanwhile, the admin will receive essential details in the exported CSV file, such as Category ID, Parent Category ID, Store View Name, Category Name, and the Path of the Category (Parent Category ID/Child Category ID).

The file will also include additional information like Category Image Name, Is Active, Is Anchor, Include in Menu, Meta Title, Meta Keywords, and associated Product IDs etc.

Updating the Existing Categories

The admin can check the existing categories from the Catalog > Categories section.

update-existing-category

Now if the admin wants to update multiple categories. then navigate to Category Manager > Manage Category Export.

The admin can select the store view and click on the Export Categories button.

manage-category-export

Note: In order to make the updates the following field should never be blank which are Category id, parent id and Path.

Update-Categories-Google-Sheets

Now, the admin can edit the fields such as categories, name e.t.c, moreover, as we have selected the default store the changes made will only be reflected in the same.

Update-Categories-Google-Sheets-1

After saving the edited CSV file, the admin needs to import the same for which navigate to Category Manager > Manage Category Import. Click the upload CSV button add the edited file and click Save.

manage-category-import

Once, the process of Reading the File has completed the changes will be reflected in the categories.

Note: The admin needs to select the store view, to view the updated categories.

webkul-magento2-category-mass-upload-upload-completed

Therefore, In conclusion, that’s all for the Magento 2 Category Bulk Upload Using CSV/XML/XLS for Magento 2 module.

For any queries or doubts, you can reach out to us by dropping an email at [email protected] or raising a query at  http://webkul.uvdesk.com/

Current Product Version - 4.0.6

Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

Category Bulk Upload Using CSV/XML/XLS for Magento 2