Taxonomy Overview provides tools to audit and manage your Drupal taxonomy, helping you identify unused terms, merge similar terms, and improve overall data quality. It includes features for analyzing taxonomy health, safely cleaning up terms with a review workflow, and merging duplicate terms with predictable outcomes, all while offering governance features like action plans with approvals and role-based permissions.
Taxonomy Overview provides an administrative interface for managing taxonomy hierarchies, inspecting term usage, finding similar terms, and reviewing merges and deletions. It adds an Overview tab to each vocabulary. An optional submodule provides portable YAML and CSV import and export.
Version 3.x: operations moved to Taxonomy Operations
Starting with Taxonomy Overview 3.x, taxonomy operations have moved to the separate Taxonomy Operations project. Use Taxonomy Operations for operation workflows, including review, previews, approvals, and operation logs.
The operation features and instructions below describe the earlier Taxonomy Overview implementation. For operations on 3.x, refer to the Taxonomy Operations project page and its documentation.
Features
Vocabulary overview and hierarchy editing
- Search for a term and display its branch, including descendants. Exact name matches take priority over partial matches.
- Reorder terms and change their primary parent using Drupal's drag-and-drop interface.
- Select a term to edit its name, formatted description, weight, parents, and existing translations alongside its hierarchy. The editor opens only with an explicit term selection in the URL; no term is selected automatically.
- Open the same interface from a taxonomy term's Overview tab, with that term already selected in its vocabulary.
- Open the full term edit form for additional fields.
- Inspect current references, including the referencing entity type, label, and field.
- Prevent circular parent relationships, cross-vocabulary parents, duplicate default-language names during inline editing, and overwriting a term changed in another session.
Similar terms
- Review similar-term groups in a collapsible section of the Overview page.
- Adjust the similarity threshold from 10 to 100 percent.
- Compare normalized names using case folding, token normalization, and lightweight stemming. Similarity grouping does not rename stored terms.
- Select a term for editing, open a merge review with the group preselected, or review an individual term for deletion.
Reviewed merges
Select one or more source terms and a destination term in the same vocabulary. Review the affected references and options before confirming. Merge options are organized in vertical tabs:
- Source handling: keep source terms, unpublish retained sources, or delete sources only when no current or historical references remain.
- Referencing entity revisions: optionally update references in existing historical revisions, create new revisions for affected entities, and provide a revision log message.
- Reporting: optionally list referencing entities and revisions in the review, or log their IDs, revision IDs, and field names to watchdog.
Reference updates run through Drupal's Batch API and include translations. Where Paragraphs revision references are involved, changed revision pointers are propagated to their referencing parents. Changes to the reviewed selection, options, or affected revision IDs require a new review.
Reviewed cleanup
- Find unused terms in a paginated, searchable Unused terms section within Overview, without leaving the page.
- When the hierarchy search is active, restrict cleanup to unused descendants of the matching terms, excluding the matching terms themselves and other branches. The cleanup name filter further narrows these results.
- Select terms, review the deletion list, and confirm separately before deletion begins. Cancel a review without changing terms.
- Protect terms referenced by content, taxonomy parent relationships, or historical revisions.
- Recheck references and delete access immediately before each deletion, including references created after review. Cleanup actions do not save changes in the term editor.
Optional import and export
Enable Taxonomy Overview Export, included with the project, for these additional features:
- Preview and download a vocabulary, selected terms, or a term branch in YAML or the module's versioned CSV format.
- Select exported fields and optionally include descendants, required parents, and referenced terms from the same vocabulary.
- Preserve translations and distinguish translatable from non-translatable field values.
- Identify taxonomy terms by their default-language names rather than site-specific term IDs. Map other entity references by UUID.
- Analyze imports before writing, with selectable terms and per-field before/after comparisons. Base-field comparisons can be included optionally.
- Create new terms and skip existing names by default. Updating existing terms requires an explicit overwrite choice.
- Validate languages, parent relationships, ambiguous names, and portable references before import.
- Process imports in batches, including forward references across batch boundaries, with completion counts and status reporting.
Requirements
- Drupal 10, 11 or 12.
- Drupal core Taxonomy and Node modules.
- Paragraphs, a dependency of the main module.
- A PHP version supported by the installed Drupal release.
- A configured logging backend, such as Database Logging or Syslog, to retain optional watchdog entries.
Installation
- Install the project using Composer:
composer require drupal/taxonomy_overview. - Enable Taxonomy Overview and its dependencies on the Extend page.
- Optionally enable Taxonomy Overview Export for import and export.
- When updating an existing installation, run Drupal database updates and rebuild caches.
Drush is optional. Sites using Drush can enable the main module with drush en taxonomy_overview and the optional submodule with drush en taxonomy_overview_export.
Configuration and usage
- Grant Administer vocabularies and terms only to trusted administrative roles. Entity-level access checks also apply to editing, merging, and deletion.
- For the optional submodule, grant Export taxonomy terms and Import taxonomy terms as needed.
- Open Structure > Taxonomy, choose a vocabulary, and select Overview.
- Search or select a term to edit it. Expand Current references or Similar terms for usage and similarity information.
- Use Review merge for merges. Expand Unused terms, select terms, and choose Review deletion for cleanup.
The Overview URL is /admin/structure/taxonomy/manage/VOCABULARY/overview. The separate List tab remains available at /admin/structure/taxonomy/manage/VOCABULARY/list. The former similar-terms page redirects to Overview.
Important considerations
- Revision history: updating historical references is disabled by default. Enabling it rewrites existing revision reference values in place. New revisions are created by default for current merge updates; this can be disabled explicitly.
- Deletion: requesting source deletion does not guarantee deletion. Remaining references or changed permissions cause the source to be retained.
- Custom reference storage: reference fields that cannot be inspected safely block reference-dependent operations rather than being treated as unused.
- Large vocabularies: hierarchy display is limited to 200 terms. Drag-and-drop is available for vocabularies with up to 200 terms; larger vocabularies can use the Parents field for individual relationship changes.
- Display and reporting limits: Overview displays up to 50 current reference records and 50 similarity groups. Merge listings and watchdog reporting are limited to 100 entity/revision records per merge; these reporting limits do not limit the reviewed merge updates.
- Portable identities: import matching is exact and case-sensitive by default-language name. Names must be unique within each vocabulary; renaming a term changes its portable identity. Similarity normalization is not used for import matching.
- Import dependencies: languages must exist on the destination site. Referenced terms in other vocabularies and other UUID-referenced entities must be available before importing dependent terms.
- Interrupted imports: an entire multi-request import is not a single transaction. Completed chunks can remain after an interruption; review the completion status before retrying.
- Import state: active batches use temporary, user-private state. The module does not provide a persistent import-history interface.
Back up the database and test merges, historical revision updates, overwrites, and deletions on a non-production copy before applying them to production content.
Ask your assistant about Taxonomy Overview
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- node Drupal core
- taxonomy Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.