Syllable counter for song lyrics

Write or paste your lyrics and every line gets its syllable count. Tap a line to hear it as a rhythm over a chord loop, so you can tell whether it fits the bar before you sing it. Writing in Spanish or Portuguese? You also get the line's ending stress, which lines rhyme, and consonant and assonant rhymes for any word.

How to use it

  1. Write or paste your lyrics, one line per line. They save themselves in this browser, so you can close the page and carry on later.
  2. Read the Lines column: the number is the line's syllables.
  3. Start the chord loop, pick a tempo, and tap a line's play button to hear it as a rhythm over the chords, one note per syllable.
  4. Tap any word to see its syllables. For Spanish and Portuguese lyrics you also get its consonant and assonant rhymes, most common first.
  5. Copy the lyrics, or copy them with the count in front of every line.

Why count syllables in a song

A melody gives each syllable a note. When two lines that share a melody have the same number of syllables, the second one sings itself; when one has three more, you end up cramming them in or adding notes. Counting is the quick way to find the line that will fight the tune.

Matching counts are not the whole story: where the stress falls matters too. That is why the play button on each line is useful. Hear the line over the loop and the awkward one stands out at once, even when the count looks fine.

English syllables are counted with a dictionary-based counter that gets common words right and can be one off on rare ones or names. Contractions count as you would sing them (I'm is one, didn't is two).

Spanish and Portuguese: stress and asonantes

Songs in Spanish and Portuguese mostly rhyme by assonance: only the vowels from the last stressed vowel on have to match. “Casa” and “playa” rhyme (a-a), “sol” and “corazón” rhyme (o). A consonant rhyme matches every sound from that vowel on: “amor” and “dolor”.

Both depend on the stressed syllable, which Spanish spelling gives away: a written accent wins, otherwise words ending in a vowel, n or s are stressed on the second to last syllable and the rest on the last. The pad works that out for every line, labels the ending (last, second to last, third from the end), colors the lines that rhyme (filled for consonant, outlined for assonant) and finds rhymes for any word from a list of about 40,000 common words. Portuguese follows the same idea with approximate rules.

Counting Spanish lyrics: as sung or as poetry

Spanish has two ways of counting. Songwriters count as they sing: one note per syllable, so “corazón” is three (co-ra-zón) and “canción” two, because “ió” is sung in one go. Singers also tend to join a word's last vowel to the next word's first one: “mi alma” is sung in two notes, not three. That is synalepha, and the pad applies it when you tick the box.

Poetry counts the same way and then adjusts the end: a line ending in a word stressed on its last syllable adds one, a line ending three syllables from the stress takes one off. Pick “Poetic” when someone asks you for eight or eleven syllable lines; stay on “As sung” when you are fitting words to a melody.

Where the rhymes come from

The rhymes are found in a list of about 40,000 Spanish words (and a Portuguese one) ranked by how often they are used, taken from film and TV subtitles, so everyday words come first. All the work happens in your browser: the list downloads the first time you look a word up, and your lyrics never leave your device.

Stress is read from the spelling, so a word typed without its accent is matched to the accented one in the list (“corazon” finds “corazón”). Consonant rhymes follow Latin American pronunciation, where c and z before e, i sound like s and b and v are the same sound. Portuguese rules are an approximation: open and closed e and o are not told apart.

Frequently asked questions

How accurate is the English syllable count?

Right for common words, sometimes one off on rare words, names and made-up spellings. If a count looks wrong, tap the word to check it, and trust your ear over the number.

Why are there no English rhymes?

English spelling does not tell you how a word sounds (love, move, cove), so rhymes need a pronunciation dictionary or a rhyme service. This page keeps everything on your device and calls no service, so it only offers rhymes for Spanish and Portuguese, where spelling is enough.

What is an asonante?

An assonant rhyme: two words that share the vowels from their last stressed vowel on, whatever the consonants. “Luna” and “nunca” (u-a), “cielo” and “tiempo” (e-o). It is the most common rhyme in Spanish songs.

What is synalepha?

Joining a word's final vowel and the next word's first vowel into one syllable when you sing: “de amor” becomes dea-mor. A full stop or pause between the words blocks it, and so do words starting with hie- or hue-, which begin with a consonant sound.

Does it work for Portuguese lyrics?

Yes, with approximate rules: it counts syllables, labels the ending stress and finds rhymes (assonant rhymes are called toantes in Portuguese). Portuguese poetry counts up to the last stressed syllable, and the Poetic count does that.

Are my lyrics saved or sent anywhere?

They are saved in this browser only, so they are there when you come back. They are never sent to a server. Clearing the box or your browser data removes them.

Credits

Word list for the rhymes: FrequencyWords by Hermit Dave, built from the OpenSubtitles2018 corpus, licensed CC BY-SA 4.0. Adapted by us: counts removed, words only, and in Spanish without names or English words. The adapted lists (Spanish, Portuguese, licence) are shared under the same licence.

English syllables: the syllable package by Titus Wormer (MIT).

Piano: Salamander Grand Piano V3 by Alexander Holm, licensed CC BY 3.0, in the cut-down web version from Scalita.

Acoustic guitar: samples from tonejs-instruments by Nicholaus P. Brosowsky, licensed CC BY 3.0. Trimmed to 3.5 seconds, mono and compressed for this site.