Word Cloud Generator
Turn text into a word cloud in any shape, with your colours, and download it as a large PNG or an SVG.
10 to 300
Turns a text into a word cloud: its most frequent words, each drawn larger the more often it appears, packed into a rectangle, circle, heart, star, cloud or the shape of your own image. Paste the text, open a text, Markdown, Word or PDF file, or type your own list of words and weights. Latin, Greek, Cyrillic and Devanagari words are drawn, so a Hindi text makes a Hindi cloud with its conjuncts joined as they are written.
The cloud is counted, laid out and drawn in your browser; neither the text nor the image for a shape is uploaded. The PNG is 3,200 pixels on its longest side and the SVG is vector, both free.
How to use it
- Text — the words are counted as the Word Frequency Counter counts them, ignoring case; each is shown in the spelling the text uses most. Leave out common words (on by default) drops words such as “the” and “and”, using the list for each word's script: English, Spanish, French, German or Portuguese for Latin text, whichever the text is written in, Russian for Cyrillic, Korean for Hangul and Hindi for Devanagari.
- Word list — one word or phrase a line, with an optional weight after a space:
growth 12. A line without a weight counts 1, a word listed twice adds its weights, and a weight of 0 or less is refused with the line's number. - Max words, 10 to 300 (100 by default); Letter case as written, lower or upper case; and Count single words or phrases of two or three words.
- Click a word in the cloud to leave it out; the words left out are listed under the cloud, each with a button to put it back. From the keyboard, Tab reaches the words, the arrow keys move between them and Enter leaves one out.
- Shape — Rectangle, Circle, Heart, Star, Cloud, or Image: a PNG, JPEG, WebP, GIF or SVG whose opaque part (where it has transparency) or dark part (where it has none) the words fill.
- Font — Noto Sans or Noto Serif in bold, or the handwritten Kalam; Kalam has no Greek or Cyrillic, which are drawn in Noto Sans. Colours — five palettes, or Custom to pick five colours of your own. Orientation — every word across, or Mixed, with about a third of the words running upwards.
- Fill gaps with repeats (on by default) — once every word is placed, the room left fills with smaller copies of the words, so the shape reads clearly. A copy is never larger than the word itself. Turn it off for a cloud in which each word appears once.
- Shuffle lays the same words out again in a new arrangement and colouring; the same text and options give the same cloud until you shuffle.
- PNG is 3,200 pixels on the longest side, on white or, with Transparent background, on nothing. SVG draws each word as its outline rather than as text, so it looks the same in any app, with no font installed. Copy image puts the PNG on the clipboard where the browser allows it.
How the cloud is made
A word's height grows with the square root of its count, so its area, which is what the eye compares, grows with the count itself: a word counted 4 times beside one counted 16 is 50% as tall. The words are placed largest first, each starting near the middle of the shape and moving out along a spiral until it fits. Fitting is tested against the letters' own outlines, not boxes around them, so a small word can sit under the arch of a large one, with a small gap kept between words.
The whole set is then scaled to the shape: the layout is tried at larger and smaller sizes, and the largest at which every word fits is kept. No word is set in type smaller than 40 pixels in the PNG. When even then not every word fits, as with many words in a thin shape, the words that do fit are kept, still sized by their counts, and the page says how many, such as “92 of 100 words fit”.
Words are drawn from the site's own fonts, shaped by HarfBuzz, so Devanagari conjuncts and vowel signs come out as they should. Words in other scripts, such as Chinese, Japanese, Arabic or Tamil, are counted but not drawn yet; the page lists them under the cloud.
Frequently asked questions
See also
- Word Frequency Counter — for the same counts as a table, to copy or download.