Word Cloud Generator
Operator: Abdulla Al Fahad. How tools are built and checked
A word cloud is a frequency chart that trades precision for a quick read: the words that appear most often are drawn largest, and everything else is packed around them. It earns its place on a slide, a poster or a report cover, where you want readers to see in two seconds what a pile of text is about. This generator builds one from text you paste or load, and saves it as a large PNG or as an SVG.
The counting and the packing both run in the page. There is no watermark on the result, and the only limit on the text is the 5 MB file size, since the cloud itself shows at most 300 words.
Key features
- Text, TXT, CSV or TSV input, with automatic detection of word and weight lists
- Stop-word removal for seven languages plus your own list, a minimum count and up to 300 words
- Shapes: rectangle, circle, heart, five-point star, or the outline of a picture you supply, with an invert option
- Eight font stacks, eight named palettes and a single-colour option, with a solid or transparent background
- Rotation choices: all horizontal, horizontal with a chosen share of vertical words, or mixed angles of -45, 0, 45 and 90 degrees
- Linear, square-root or logarithmic scaling of size against frequency
- A seeded layout with a Shuffle button, and PNG and SVG downloads with no watermark
Counting, sizing and packing the words
Plain text is split into words with a Unicode-aware rule: a word starts with a letter in any script, and continues with letters, combining marks, digits, apostrophes and hyphens. That keeps don't, co-op and naïve whole and lets Cyrillic, Greek or accented words through. Apostrophes and hyphens at the start or end are trimmed. Case is folded by default so The and the count together, and an option skips any word that contains a digit. Because a word must start with a letter, bare numbers such as 2024 never appear.
Common words are removed with built-in lists for English (221 words), Spanish (105), French (98), German (128), Italian (101), Portuguese (90) and Dutch (98). Several languages can be ticked at once, which helps with mixed text, and an extra box takes your own words, separated by spaces or commas. The lists are plain function words and pronouns, kept short on purpose, so an uncommon filler such as basically stays unless you add it. You can also select any word in the ranked list to leave it out, and undo that.
A list of words with weights can be pasted or loaded instead. Each line must end with a comma, semicolon or tab followed by a number, as in hello,10 or "big word",5.5. When every non-blank line fits that pattern, or every line after a single header row does, the tool switches to weights automatically, and you can force either mode. Duplicate words have their weights added. Stop-word lists are not applied to a weights list, because you have already chosen the words; the minimum weight and the excluded list still are.
The canvas is 1200 by 800, 1600 by 1000, 1200 by 1200, A4 portrait at 1240 by 1754 or A4 landscape at 1754 by 1240. The PNG can be exported at 1 to 4 times that size, held to 8000 pixels on the longest side and 40 megapixels in total, and the page shows the exact size. The SVG is written at the design size with live text, set in the font stack you chose, so the viewer needs a similar font installed. Backgrounds can be any colour or transparent.
How it works
Sizes first. The smallest weight takes the minimum font size, which is 1.7 percent of the canvas's shorter side with a floor of 10 pixels, and the largest takes a size you set as a percentage of that side, 14 percent by default. Everything between is spaced by the linear, square-root or logarithmic scale. Square root is the default because raw counts make the top word enormous and the rest tiny.
Then placement. Words go in from heaviest to lightest. Each is drawn off-screen, rotated if it is going to be, onto a collision grid no larger than 1000 pixels on its longer side, and its opaque pixels are listed and grown by the spacing you chose. The grid starts with every cell outside the shape marked as taken. From the centre of the shape, the layout walks an Archimedean spiral outward from a random start angle, stretched to the canvas's proportions, and keeps the first position where none of the word's pixels lands on a taken cell. Those cells are then marked taken.
If the spiral runs out of room, the font is cut by 10 percent and the search restarts, up to seven times or until the size falls below 6 pixels. A word that still does not fit is skipped and named in a note. The final drawing uses real text at the full design size from the stored positions, so the PNG is sharp at 4x even though the collision grid was coarse. The random generator is seeded, so the same text and settings give the same cloud until you press Shuffle.
Typical uses
- Summarising 200 free-text survey answers as a heart or circle for a thank-you slide
- Showing the vocabulary of a speech, a chapter or a set of reviews on a poster, in the school's colours
- Turning a spreadsheet of keywords and search volumes into a cloud by saving it as a word,weight CSV
- Making a classroom word wall in the outline of an animal or country from a black shape on white
- Producing an SVG that a designer can recolour or resize without losing sharpness
Building one
- Paste your text, or drop a .txt, .csv or .tsv file onto the file box.
- Tick the languages whose filler words should go, and select any other word in the ranked list that you want left out.
- Pick a shape, a canvas size, a font and a palette, and leave rotation on horizontal and vertical or change it.
- Press Shuffle layout until the arrangement pleases you.
- Download the PNG at the scale you need, or the SVG if the cloud will be edited or printed large.
Example
A three-line text with English stop words removed, on the default 1200 by 800 canvas
Rain rain rain.
Sun and rain.
Wind, wind, sun.Counts and sizes
rain 4 (and is removed as a stop word)
sun 2
wind 2
square-root scale, shorter side 800 px
maximum font 14% of 800 = 112 px rain
minimum font max(10, 1.7% of 800 = 14) = 14 px sun and wind
PNG at 2x = 2400 x 1600Tips for best results
- Give the shape room. A star fills only about a fifth of its rectangle, so it holds far fewer words than a rectangle does; lower the word count or raise the canvas size for narrow shapes.
- For a cloud that reads well on a phone, use fewer words, a larger spacing of about 6 to 8 pixels and horizontal text only.
- Choose the square-root scale for ordinary prose. Use linear only when your weights are already well spread, such as ranked scores.
- A black silhouette on a white background makes a clean outline. A transparent PNG works just as well and avoids the darkness test altogether.
- Save the SVG as well if the cloud may need to be edited later; the PNG cannot be recoloured, while the SVG's words are plain text.
Things to check before you rely on it
A word that does not fit is dropped, not squeezed in, so the number of words on the page can be lower than the count you asked for. The note under the preview lists them.
Fonts are those installed on the device. A font you lack is replaced by the next in its stack, and the SVG refers to the same names, so it can look different on another computer. Convert the text to outlines in a vector editor if exact letterforms matter.
The tokeniser does not stem words. Run, runs and running are three entries, and the lists remove only the listed function words.
Text without spaces between words, such as Chinese or Japanese, is not segmented; a long run of such characters becomes one word. Pre-split the text into a word and weight list instead.
Pictures used as outlines are read at up to 1000 pixels and fitted inside the canvas without cropping, so the filled area is narrower than the canvas when the picture's proportions differ.
Common errors and how to fix them
- No words left on the page
- The filters removed everything. Lower the minimum count, shorten the shortest-word length, untick a language, or switch the input type if a list of numbers was read as plain text.
- The outline has almost no fillable area
- Try the invert option, or use a picture with a clearer silhouette. A pale shape on a white background has no dark pixels to fill.
Best practices
- Clean the text before pasting: remove speaker names, timestamps and boilerplate that would otherwise become the biggest words.
- Keep a word and weight CSV beside the cloud so it can be regenerated with a different shape or palette later.
- Check the colours against the background; the high contrast palette suits white, and the bright palette is meant for a dark background.
Choosing a shape and what it costs
The shapes differ a lot in usable area. A rectangle gives you the whole canvas. A circle is the largest circle that fits, about 52 percent of a landscape canvas, and the heart takes about 42 percent. The star is the most restrictive, around 19 percent, because its points are thin and little text fits in them.
For a custom outline, an image with any transparency is read by its alpha channel: pixels more than half opaque are fillable. A fully opaque image is read by brightness, and dark pixels are fillable. Tick invert to fill the other part. If fewer than 50 cells of the layout grid are fillable, the page says so instead of drawing nothing.
PNG against SVG
The PNG is a finished picture at up to 8000 pixels on a side, which is enough for an A3 print at well over 300 dpi. It looks the same everywhere because the letters are already pixels. The SVG is smaller and scales without limit, but it holds text, not pictures of text, so it depends on the viewer having the font. Choose PNG to publish, SVG to edit.
Frequently asked questions
Is there a watermark or word limit?
There is no watermark. The cloud shows at most 300 words, and an input file can be up to 5 MB.
Why does the same text look different after I press Shuffle?
The first-placed words start the spiral at a random angle taken from a seed, and Shuffle picks a new seed. The same seed gives the same cloud again.
Is my text uploaded?
No. Counting, layout and drawing all happen in your browser tab, so interview notes or survey answers stay on your device.