Xerobit

Syllable Counter with Per-Word Breakdown

This syllable counter estimates the number of syllables in any English text using vowel-group heuristics. It provides a per-word breakdown, total counts, and a built-in haiku checker for 5-7-5 validation. Everything runs locally in your browser without uploading your text.

English text only. The heuristic is most accurate for common words.

Result

  • Total syllables
    3
  • Words
    2
  • Lines
    1
  • Haiku check
    Not a haiku (3)
  • Per-word breakdown
    hello: 2, world: 1

How to use the syllable counter

  1. Type or paste your English text into the input area.
  2. The tool instantly calculates the syllables in each word using vowel-group rules.
  3. Review the Per-word breakdown to see how many syllables each word has.
  4. Check the Total syllables row for the overall count.
  5. If you are writing poetry, look at the Haiku check row to see if your lines follow the 5-7-5 pattern.

How the syllable counting heuristic works

This syllable counter uses an algorithm based on vowel groups rather than a dictionary lookup. The core rule is simple: count every contiguous group of vowels (a, e, i, o, u, y) as one syllable. Then apply adjustments for common English spelling patterns.

For example, take the word "beautiful". The vowel groups are "eau", "i", "u" which gives three groups. No silent-e subtraction is needed because the final letter is 'l', not 'e'. So the count is 3. For "make", the vowel groups are "a" and "e" (two groups), but the trailing silent 'e' rule subtracts one, giving 1 syllable.

The specific adjustments applied after counting vowel groups are:

  • Subtract 1 for a trailing silent 'e' (unless the word ends in 'le' preceded by a consonant, like "table").
  • Add 1 if the word has no vowel groups but contains 'y' acting as a vowel (like "rhythm").
  • Ensure every word has at least 1 syllable, even short words like "the" or words with tricky spellings.

Reference table of common words

Because this tool relies on heuristics rather than a pronunciation dictionary, it helps to know how standard words are evaluated. Here is a reference table showing the syllable count for several common and tricky English words.

WordSyllablesNotes
cat1Single vowel group
apple2Silent 'e' subtracted
beautiful3Three vowel groups: eau, i, u
rhythm2'y' acts as a vowel
queue1All vowels form one group
fire1Silent 'e' subtracted from two groups
idea3Three separate vowel groups
table2Consonant + 'le' ending keeps the 'e'

Irregular pronunciations or regional dialects may differ from these heuristic results. For instance, some speakers pronounce "fire" as two syllables, but the standard heuristic treats the 'ire' combination as one.

Using the haiku checker

A haiku is a traditional Japanese poetic form consisting of three phrases with a 5, 7, 5 syllable structure. This tool includes a built-in haiku checker that automatically validates your text against this pattern.

To use the haiku checker, simply type your poem into the text area with each line separated by a newline. The tool splits the text by line breaks, counts the syllables in a word for each line, and sums them up. If the resulting array of line counts exactly matches [5, 7, 5], the output will confirm a valid haiku. Otherwise, it displays the actual syllable count per line so you can adjust your phrasing.

For example, a strict 5-7-5 poem to test the haiku checker:

writing a poem
is very fun to do now
please read it out loud

Line 1: writ-ing (2) a (1) po-em (2) = 5. Line 2: is (1) ver-y (2) fun (1) to (1) do (1) now (1) = 7. Line 3: please (1) read (1) it (1) out (1) loud (1) = 5. The haiku checker will mark this as valid.

Limitations of heuristic counting

It is important to understand that a purely algorithmic syllable counter cannot perfectly match human pronunciation in every edge case. English orthography is notoriously inconsistent. Words borrowed from French, Latin, or other languages often break standard phonetic rules.

Common edge cases where heuristics might miscount include:

  • Diphthongs and triphthongs: Vowel combinations like "ou" in "hour" or "iou" in "anxious" are usually grouped correctly as one syllable, but exceptions exist.
  • Silent letters: While the silent 'e' rule handles most cases, words like "one" or "once" have silent starting letters that the algorithm processes normally.
  • Acronyms and numbers: Typing "FBI" or "1984" will yield unpredictable syllable counts because the algorithm expects standard English spelling. Spell out numbers if you need an accurate count.

For most everyday writing, poetry drafting, and readability analysis, the heuristic approach is highly reliable and much faster than looking up every word in a dictionary.

Worked examples

Each result below was produced by the same code the tool runs, so you can check your own numbers against them.

ExampleInputResult
Single wordText: beautifulTotal syllables: 3; Words: 1; Lines: 1; Haiku check: Not a haiku (3); Per-word breakdown: beautiful: 3
Haiku (Basho)Text: the old pond is still / a frog jumps in the water / splash and silence nowTotal syllables: 17; Words: 15; Lines: 3; Haiku check: Valid haiku (5-7-5); Per-word breakdown: the: 1, old: 1, pond: 1, is: 1, still: 1, a: 1, frog: 1, jumps: 1, in: 1, the: 1, water: 2, splash: 1, and: 1, silence: 2, now: 1; Syllables per line: 5, 7, 5
SentenceText: The quick brown fox jumps over the lazy dog.Total syllables: 11; Words: 9; Lines: 1; Haiku check: Not a haiku (11); Per-word breakdown: The: 1, quick: 1, brown: 1, fox: 1, jumps: 1, over: 2, the: 1, lazy: 2, dog: 1
Tricky wordsText: rhythm queue fireTotal syllables: 4; Words: 3; Lines: 1; Haiku check: Not a haiku (4); Per-word breakdown: rhythm: 2, queue: 1, fire: 1

FAQ

How does this syllable counter work?

It uses a heuristic algorithm that counts groups of consecutive vowels (a, e, i, o, u, y) in each word. It then applies rules for silent 'e' endings and ensures every word has at least one syllable.

Is the syllable count always 100% accurate?

Because it relies on spelling rules rather than a pronunciation dictionary, it is highly accurate for common English words but may occasionally miscount irregular words, acronyms, or non-English terms.

How do I use the haiku checker?

Type your poem into the text box with each phrase on a new line. The tool will sum the syllables per line and tell you if they match the required 5-7-5 haiku structure.

Does 'y' count as a vowel?

Yes, the algorithm treats 'y' as a vowel when it forms part of a vowel group, which allows it to correctly count syllables in words like 'rhythm' or 'gym'.

Can I count syllables in multiple sentences at once?

Yes, you can paste entire paragraphs. The tool will provide a total syllable count for all the text, a per-word breakdown, and a per-line summary.

Is my text uploaded to a server?

No, the syllable counter runs entirely in your browser. Your text is processed locally and never sent over the internet.