Count letter occurrences and percentages in text

Measure occurrences of ASCII A–Z while separating the five fixed vowels from the remaining accepted letters.

freeworks offlinenothing uploaded
ToolLetter Frequency
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Each accepted Latin letter increments a map under its original case or a lowercase key, and rows sort from highest count to lowest. Case folding and hiding zero-count alphabet rows are the defaults; percentages divide by accepted letters rather than total source characters.

  • Vowels are exactly a, e, i, o, and u, leaving y in the consonant total.
  • Equal-frequency rows retain first-seen order unless the complete alphabet was prefilled.

Worked example

Analyze letter frequencies
Count letter occurrences in a phrase
Input
											hello world
										
Output
												Letter  Count  Percentage
------  -----  ----------
l       3      30
o       2      20
h       1      10
e       1      10
w       1      10
r       1      10
d       1      10
											

When to use this

Classical-cipher classes compare distributions, letter-board planners count required tiles, and word-game players inspect puzzle-list alphabets.

Edge cases

  • é and ñ do not fold to e and n because only the ASCII ranges A–Z and a–z are accepted.
  • Y remains a consonant even in an English word where its sound functions as a vowel.
  • When all alphabet rows are shown, zero-count letters do not become the least-common present letter.