This module generates a visual word cloud from your site's content, using taxonomy terms weighted by their count. It offers a Wordle-like display for keyword visualization.
A wordcloud, also known as a tag cloud or weighted list in visual design, is a visual representation of text data which is often used to depict keyword metadata on websites, or to visualize free form text.
This module provides a Wordle like Wordcloud implementation to generate wordclouds based on the content of the site.
Help visitors discover popular topics with colorful word clouds, tag clouds, pills, badges, and linked lists. Show usage counts and create clouds from taxonomy terms, text fields, or Views.
Features
Five taxonomy displays
- Wordcloud: an SVG cloud powered by D3 Wordcloud, with configurable dimensions, color palettes, scaling, and animation duration.
- Tagadelic: a classic inline tag cloud with six logarithmic font sizes. Sort by highest usage first, shuffle terms randomly, or place the most-used terms in the middle of the reading order.
- Tag list: a straightforward list of linked taxonomy terms.
- Pills: rounded topic links with optional red count bubbles in the upper-right corner.
- Badges: compact topic links with optional inset usage counters.
Choose a vocabulary for each block. Optionally enable coloring with the selected fill palette, or use the theme’s default link colors (Drupal blue for SVG clouds). Enable or disable usage counts in every display. Limit the number of terms, or show all terms; limited blocks can include a More tags link to the full vocabulary listing. Terms link to their taxonomy pages, with an option to link terms used by exactly one accessible content item directly to that item.
Tagadelic, Tag list, Pills, and Badges use native HTML links and CSS. They do not require D3 or the Tagadelic module. Random Tagadelic order remains stable while its rendered block is cached. The middle sort places the largest terms toward the center of the list, rather than the geometric center of wrapped lines.
Optional taxonomy colors
Integrate with Color Field: attach a Color Field to taxonomy terms and select it in the Wordcloud block settings. Term colors override the SVG palette or tint linked terms and Pill/Badge backgrounds and borders. Field opacity is supported. Empty, missing, invalid, or inaccessible colors fall back to the selected palette. Color Field is optional.
Wordclouds from text fields
Use the Wordcloud field formatter for plain or formatted text. It combines multiple field values, counts word occurrences without regard to case, supports Unicode letters, and applies Drupal text filters before extracting words from formatted text. Configure dimensions, palette, scaling, animation duration, maximum words, minimum word length, and stop words. Replace the default English stop words for other languages.
Wordclouds from Views
Select the Wordcloud Views format and map a word field, an optional numeric weight field, and an optional link field. Use Views filters, relationships, aggregation, contextual arguments, exposed filters, sorting, caching, and pagers to build your source. The style works in Views pages and blocks, including AJAX replacements. Without a weight field, every word has equal weight.
Access, translations, and caching
Taxonomy displays count distinct published content items visible to the current user and include only visible, published terms. Counting respects access to taxonomy reference fields and assignments in the current content language. Translated term names and colors are used when available. Entity and access cache metadata ensures displays vary by the relevant user and language context and refresh when their content changes.
Custom data sources
Developers can implement WordcloudSourceInterface and use the wordcloud.renderer service to render clouds from custom data. Supply labels, positive numeric weights, optional local or HTTP(S) links, and cache metadata. The renderer validates source values and propagates cacheability; sources remain responsible for access checks. This API is experimental during the 1.0.x alpha cycle.
Requirements
- Node and Taxonomy for taxonomy-based displays.
- D3 Wordcloud for SVG clouds, the text formatter, Views style, and custom-source renderer. Install the library under
/libraries/d3-wordcloud/, including its bundled D3 and cloud-layout files. - Views for the Views integration; Views UI to configure Views through the interface.
- Color Field only when using optional taxonomy colors.
Getting started
- Install and enable Wordcloud.
- Go to Structure → Block layout and place a Wordcloud block.
- Select a vocabulary and display, then configure counts, limits, links, and optional term colors.
For text clouds, choose Wordcloud on your content type's Manage display page. For Views, select Wordcloud as the view's format and map its fields.
Examples
Similar projects
-
Dynamic Tag Clouds
The Dynamic Tag Cloud module provides a Tag Cloud based searching of content
https://www.drupal.org/project/dynamictagclouds -
MD WordCloud
The module creates a block and page for each taxonomy and show it as wordcloud.
https://www.drupal.org/project/md_wordcloud -
MD WordsCloud
The module creates a block and provide configuration to choose vocabulary.
https://www.drupal.org/project/md_wordscloud -
Tagadelic
Allows you to easily create tagclouds, weighted lists, search-clouds and such.
https://www.drupal.org/project/tagadelic -
TagCloud
This module Provides a TagCloud and List of Tags.
https://www.drupal.org/project/tagclouds
🇺🇦
#StandWithUkrainePlease consider supporting Ukraine in a fight for their freedom and safety of Europe.
Ask your assistant about Wordcloud
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
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha4 | Pre-release | 10–11 | PHP >=8.1 | Oct 25, 2026 | |
| 1.0.0-alpha3 | Pre-release | 10–11 | PHP >=8.1 | Oct 21, 2026 | |
| 1.0.0-alpha2 | Pre-release | 9–10 | Feb 9, 2024 | ||
| 1.0.0-alpha1 | Pre-release | 9–10 | Feb 9, 2024 | ||
| 1.0.x-dev | Dev | 9–10 | Feb 9, 2024 |