Consonant Counter screenshot

Consonant Counter

Count the consonants in a text and compare them with its letter total.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No upload
Deterministic

What this page does

The page counts every letter that is not one of the five ASCII vowels, and shows the consonant, vowel and letter totals together.

How to use it

Paste or type the text and press Run. The result appears beside the form. With "Programming in JavaScript requires patience.", the page gives:

Consonants:                      24
Letters:                         39
Vowels:                          15
Consonant share of letters:      61.54%
Basis:                           every letter that is not one of a, e, i, o, u in either case counts as a consonant; accented vowels therefore count as consonants

The rule it applies

Every Unicode letter that is not a, e, i, o or u in either case counts as a consonant, so accented vowels and y are counted as consonants here. The rule is stated on the page because it is the one place it differs from a dictionary.

Nothing is changed: the page only reads the text. Every character is read in your browser: nothing is uploaded and nothing is stored.

The page counts every letter that is not one of the five ASCII vowels, and shows the consonant, vowel and letter totals together.

The rule this page applies: Every Unicode letter that is not a, e, i, o or u in either case counts as a consonant, so accented vowels and y are counted as consonants here. The rule is stated on the page because it is the one place it differs from a dictionary.

Worked example: "Programming in JavaScript requires patience." gives the output recorded in the example below, character for character.

How to use the Consonant Counter

Paste or type the text into the box and press Run. The result appears beside the form, and pressing Run again re-reads whatever is in the box.

This page has nothing to configure: it reads the text and applies the rule below. Programming in JavaScript requires patience.

The rule this page applies

Every Unicode letter that is not a, e, i, o or u in either case counts as a consonant, so accented vowels and y are counted as consonants here. The rule is stated on the page because it is the one place it differs from a dictionary.

Nothing is changed: the page only reads the text.

What to Expect

Best for

  • Comparing a word's consonant load
  • A quick phonics exercise

Not ideal for

  • Accented text, where é counts as a consonant
  • Languages with a different vowel set

What this tool keeps

  • The text exactly as you pasted it
  • The same answer on every run
  • Nothing sent, stored or logged

What may need cleanup

  • Nothing: the page prints its measurements and leaves your text alone
  • Unusual spacing in the paste, which changes the counts

Common errors

  • Input with no letters is refused by name, because the share would divide by zero.
  • An empty box, which the page refuses rather than printing a blank result

Example use cases

  • Teaching consonant clusters
  • Analysing a word list

Sample input

Programming in JavaScript requires patience.

Sample output

Consonants: 24 Letters: 39 Vowels: 15 Consonant share of letters: 61.54% Basis: every letter that is not one of a, e, i, o, u in either case counts as a consonant; accented vowels therefore count as consonants

Who this is for

  • teachers
  • students

Frequently asked questions

What rule does this page apply?

Every Unicode letter that is not a, e, i, o or u in either case counts as a consonant, so accented vowels and y are counted as consonants here. The rule is stated on the page because it is the one place it differs from a dictionary.

What input does it refuse?

Input with no letters is refused by name, because the share would divide by zero.

What is left unchanged?

Nothing is changed: the page only reads the text.

Is anything uploaded?

No. The text is read by JavaScript in this page and nothing is posted, stored or logged.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.