How to import and export taxonomy terms

Ever had the need to move a taxonomy list from one Drupal site to another? Instead of re-entering all the terms why not try the Taxonomy Import/Export via XML module. Even though the module name is “via XML” it actually supports XML, CSV and a couple of other formats. To keep things simple we’ll stick to XML.

Before we get started go to and download the module and place it in sites/all/modules.

Then enable at Administer >> Site building >> Modules.

Once the modules installed exporting a taxonomy as XML is fairly straight forward.


Go to Administer >> Content management >> Taxonomy. Click on the export tab, and then click on the name of the vocabulary that you want to export and download the XML file.



When you are ready to import the XML. Go to Administer >> Content management >> Taxonomy and click on import.

First select the right Target vocabulary depending on if you are adding new terms or updating an old one.

Below select “upload file” from data source and find your xml file. Once you have selected the right XML file click on Import.


Now just double check that the terms were actually importing.

That’s all, if you have any questions just leave a comment.