Generate haiku poems with 10 themes: Nature, Zen, Ocean, Love, Technology, Space. Save favorites, custom words, export as image
Generate haiku poems with the traditional 5-7-5 syllable structure. Pick a theme or let the generator surprise you. A simple creative exercise that produces shareable three-line poems.
Initializing in your browser…
Create Markdown tables with a visual editor. Add columns, rows, set alignment, and export perfectly formatted tables.
Generate JSON Schema from JSON data automatically. Infers types, formats (email, date, URI), required fields, nested objects, and arrays. Supports Draft-07 and 2020-12.
Generate custom printable paper templates: dot grid, graph paper, lined, isometric, Cornell notes, music staff, and hexagonal grid. Export as PDF or PNG.
You want a quick 5-7-5 haiku as a creative prompt or a playful section divider.
Theme
Theme: autumn
Haiku
Crisp leaves underfoot morning frost on the railing, kettle starts to sing
The generator assembles lines that follow the traditional 5-7-5 syllable structure around your theme. It is a lightweight creativity aid: deterministic enough to be coherent, varied enough to spark an idea or fill a decorative slot.
Generate haiku poems with the traditional 5-7-5 syllable structure. Pick a theme or let the generator surprise you. A simple creative exercise that produces shareable three-line poems.
The Haiku Generator builds three lines in the classic 5-7-5 syllable pattern from a built-in word bank covering nine themes - Nature, Seasons, Zen, Urban, Ocean, Love, Technology, Space, and Food - plus a Custom mode you fill yourself. Each theme stores words bucketed by syllable count (1 through 5), where the higher buckets hold ready-made phrases such as 'a gentle breeze blows' or 'ones and zeros dancing' (both 5-syllable lines). When generating a 5-syllable line, the tool first rolls for one of those pre-written phrases (used when Math.random() exceeds 0.4); otherwise it assembles a line from grammatical templates - for example a 1-syllable adjective + 2-syllable noun + 2-syllable verb to hit 5, or 'the [noun] [verb]', drawing from shared ADJECTIVES and VERBS lists. The 7-syllable middle line has no pre-made phrases in the word bank (buckets only go to 5), so it is always built from templates like a 2-syllable adjective + 3-syllable noun + 2-syllable verb, falling back to a greedy word-concatenation if no template fits. Generation is purely client-side and random, so every press of Generate Haiku produces a fresh combination with no network calls or AI model behind it.
Syllable counting is done in the browser with a heuristic vowel-cluster counter rather than a pronunciation dictionary: any word of three letters or fewer counts as one syllable, otherwise it counts transitions into vowel groups (treating a, e, i, o, u, y as vowels), then subtracts one for a silent trailing 'e' (only when the count is already above 1) and adds one back for words ending in '-le' after a consonant (so 'gentle' reads as two). Because it is rule-based, unusual spellings can be miscounted, which is why each generated line is labeled with its own syllable total and the display shows the resulting pattern (for example 'Pattern: 5-7-5') so you can eyeball accuracy. The Custom theme reuses this same counter to sort your added words - when you type a word it is lowercased, deduplicated, and tagged with its computed syllable count, and only words matching the target count for a line are eligible during template building.
Beyond generation, the tool offers Shuffle, which regenerates just one randomly chosen line (keeping the 5 or 7 target appropriate to its position) rather than the whole poem, plus Copy (plain newline-joined text via the Clipboard API), Share (the Web Share API where available, falling back to clipboard with a ' - Generated Haiku' tag), and Save to an in-session history with Favorites. Note that saved haikus and favorites live in React state only, so they are lost on page reload rather than persisted to storage. The Image export draws the poem onto a 600x400 canvas with a fixed dark gradient background (#1a1a2e to #16213e), a decorative border, the theme emoji at the top, the lines set in italic 24px Georgia serif, the syllable pattern, and a watermark, then downloads it as a PNG named haiku-[timestamp].png - the same dark image regardless of the lighter theme color shown on screen.
Use generated haiku as a starting point for creative writing sessions or poetry workshops.
Share short, evocative poems on social platforms as a break from standard posts.
Traditional haiku follow a pattern of 5 syllables in the first line, 7 in the second, and 5 in the third.
Your text is processed locally in the browser. Nothing you paste or open is transmitted or logged.