Export Taxonomy
export_taxonomyExport Drupal taxonomy terms to CSV or Excel with usage counts, referencing fields, and safe-to-delete status; limit by vocabulary or export all terms.
Instructions
Export taxonomy terms to a CSV or Excel file on disk.
One row per term: id, vocabulary, name, description, weight, status, and - with include_usage (the default) - how many entities reference the term, through which fields, and a safe_to_delete verdict ("yes" only when nothing references it, and withheld entirely whenever some field could not be counted). Usage comes from one COUNT query per field storage targeting taxonomy terms, so a 5,000-term vocabulary costs a handful of queries, not 5,000.
vocabulary limits the export to one vocabulary machine name (for example "tags"). When Drush is unavailable the export still succeeds and says the usage columns are empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| format | No | csv | |
| vocabulary | No | ||
| output_path | No | ||
| include_usage | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||