Random Haiku Generator
Generate beautiful random haiku poems with thematic coherence. Choose from nature, seasons, ocean, urban, and cosmic themes. Copy, save, and print.
About
A haiku is a 17-mora poem structured as 5 - 7 - 5 syllables across three lines. The form originated in 17th-century Japan as the opening stanza (hokku) of collaborative linked-verse sequences. Generating haiku algorithmically requires more than random word concatenation. Each line must hit an exact syllable target, and the three lines must share thematic coherence - otherwise the output reads as nonsense. This generator uses a curated lexicon of 300+ words tagged by syllable count and grouped into 6 semantic themes (Nature, Seasons, Ocean, Urban, Cosmic, Abstract). A syllable-validation pass confirms every line before output.
Note: English syllable counting is approximate. English does not use mora the way Japanese does. Words like "fire" can be 1 or 2 syllables depending on dialect. This tool uses General American English pronunciation rules. Pro tip: use the generated haiku as a starting draft, then refine by ear. The best haiku contain a kireji (cutting word) that juxtaposes two images. This generator seeds that juxtaposition through theme-grouped word pools.
Formulas
The haiku structure enforces a strict syllable pattern across three lines:
L2 = 7 syllables
L3 = 5 syllables
Total = L1 + L2 + L3 = 17 mora
Syllable estimation for English words uses vowel-cluster analysis:
Where S(w) is the syllable count of word w, Esilent accounts for trailing silent-e patterns (e.g., "stone" → 1), and Especial handles exceptions like words ending in "-le" (e.g., "gentle" → 2). The word selection algorithm picks from theme-filtered pools using a knapsack-like greedy fill: select words whose syllable counts sum exactly to the line target Li. If no valid combination exists within 50 attempts, the algorithm backtracks and retries with a different seed word.
Reference Data
| Theme | Sample Nouns | Sample Verbs | Sample Adjectives | Mood | Season Association |
|---|---|---|---|---|---|
| Nature | river, willow, stone, moss, fern | drift, bloom, root, sway, hush | green, still, wild, deep, soft | Contemplative | Spring / Summer |
| Seasons | frost, petal, harvest, snow, leaf | thaw, fall, wither, melt, turn | cold, warm, bare, ripe, pale | Cyclical | All four |
| Ocean | tide, coral, shell, kelp, foam | crash, ebb, surge, ripple, sink | salt, vast, dark, calm, blue | Expansive | Summer |
| Urban | neon, steel, glass, wire, smoke | hum, flash, rust, crowd, blur | grey, loud, bright, stark, thin | Alienated | N/A |
| Cosmic | star, void, dust, orbit, moon | spin, fade, glow, drift, burn | vast, dim, cold, bright, far | Awe | Winter / Night |
| Abstract | dream, silence, shadow, echo, time | fade, linger, pause, shift, break | brief, lone, still, faint, slow | Philosophical | Autumn |
| Traditional Haiku Elements (Kigo - Season Words) | |||||
| Spring Kigo | cherry blossom, frog, plum rain | sprout, melt, sing | fresh, young, new | Renewal | Spring |
| Summer Kigo | cicada, fan, firefly, thunder | sweat, blaze, shimmer | hot, lush, thick | Intensity | Summer |
| Autumn Kigo | moon, cricket, persimmon, scarecrow | scatter, dry, cool | red, crisp, thin | Melancholy | Autumn |
| Winter Kigo | snow, icicle, crow, bare branch | freeze, crack, rest | white, sharp, still | Solitude | Winter |
| Syllable Count Reference | |||||
| 1 syllable | stone, frost, tide, star, dream, leaf, moon, smoke, shell, dust, fern, wire, void, foam, glass | ||||
| 2 syllables | willow, river, petal, coral, neon, orbit, silence, ember, echo, shadow, gentle, crimson | ||||
| 3 syllables | waterfall, chrysalis, horizon, butterfly, icicle, memories, whispering, wanderer | ||||