About the Letter Frequency Counter tool
Letter frequency analysis counts how often each letter appears in a piece of text. It is the classic first step in breaking substitution ciphers, since in typical English "e" makes up about 12.7% of letters, followed by t, a, o, i and n. It is also useful for language study, puzzle design, keyboard layout comparisons, typography tests and checking whether a sample of text is representative.
Paste any text and this counter builds a frequency table instantly: each character, how many times it appears, its percentage of the total and a bar chart. Choose to count letters only, letters and digits, or every character including spaces and punctuation. Counting is case-insensitive by default, or case-sensitive when you need A and a separately. Sort by frequency or alphabetically, and optionally list A–Z letters that never appear.
For English text there is an extra column with typical English letter frequencies, and a small marker on each bar shows where the letter would be if your text followed the usual pattern. Letters are counted as whole characters, so accented and non-Latin letters work too. Export the table as CSV for a spreadsheet. Nothing leaves your browser.
How to use Letter Frequency Counter
- Paste your text or ciphertext into “Text to analyse”, or click “Sample”.
- Choose what to “Count”: letters only, letters and digits, or all characters.
- Set “Sort by”, “Case sensitive” and “Show A–Z with zero count” as needed.
- Keep “Compare with English” on to see typical English percentages beside yours.
- Read the table and chart, or click “Download CSV”.
Features
Counts, percentages and bars
Every character with its count, share of the total and a proportional bar.
Flexible scope
Letters only, letters and digits, or all characters including spaces and punctuation.
English comparison
Shows standard English letter frequencies and a marker on each bar.
Unicode letters
Counts accented and non-Latin letters as single characters.
CSV export
Download the frequency table for spreadsheets or further analysis.
When to use it
- Break a Caesar or substitution cipher by matching frequencies to English.
- Compare letter usage between two languages or writing samples.
- Design word games and puzzles with balanced letter distributions.
- Teach statistics or cryptography with a hands-on example.
Frequently asked questions
What is the most common letter in English?
E, at roughly 12.7% of letters in typical text, followed by T (about 9.1%), A (8.2%) and O (7.5%). Short samples can differ a lot from these averages.
How does frequency analysis break ciphers?
In a simple substitution cipher every letter is always replaced by the same symbol, so the most common symbol probably stands for E, the next for T, and so on. Comparing frequencies gives a starting point for guessing the key.
Are spaces and punctuation counted?
Only when you choose “All characters”. Then spaces and punctuation are counted, while line breaks and tabs are skipped.
Does it work for languages other than English?
Yes, any letters are counted. The English comparison column only appears for letters-only, case-insensitive counting and is only meaningful for English text.