Free plan

Word cloud

Turn a text into a picture of its most used words
POST
/v1/render/word-cloud

About this tool

Counts the words in your text and draws them as a cloud: the more often a word appears, the bigger it is. Very common words such as the and of are left out. You can choose the shape (oval, rectangle or heart), the colours, how many words show and whether some are turned.
For example, you paste in customer reviews to see at a glance which words people use most.

How to use it

  1. Choose this tool.
  2. Type or paste your text, or add a text file.
  3. Choose the shape, the colours and the most words to show.
  4. Press Generate.
  5. Download the picture.

What you get back

You get a picture of the word cloud (a PNG, PDF or SVG file) that you can download and use in a document or slide.
GOOD TO KNOW
A text longer than 2 million characters is refused. The font is the one of the page engine, so very unusual scripts need a font that has them. Counts as one render.
TEST IT LIVE

Try Word cloud in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Render
Plan
Free
Method
POST
Endpoint
/v1/render/word-cloud
Tool ID
render.word-cloud
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Render
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/render/word-cloud" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'text=cloud server data cloud network' \
  -F 'words=[{"text":"cloud","weight":10}]' \
  -F 'language=en'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.render.wordCloud({
    "text": "cloud server data cloud network",
    "words": "[{\"text\":\"cloud\",\"weight\":10}]",
    "language": "en"
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->render()->wordCloud([
    'text' => 'cloud server data cloud network',
    'words' => '[{"text":"cloud","weight":10}]',
    'language' => 'en',
]);
echo $result->requestId;
FAQ

Frequently asked questions

Turn a text (or a list of words with weights) into a word cloud: the more often a word occurs, the bigger it is. Common words are left out, words are placed without overlap in a rectangle, ellipse or heart, horizontal or turned; the same seed gives the same picture.

Word cloud works from text and settings, so no file is needed. Every input is optional.

Word cloud is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/render/word-cloud with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.