Letter Frequency Counter
Count how often each letter of the alphabet appears and see the result as a heatmap. It is the fastest way to find the most common letter in a text, compare it with typical English letter frequency and spot unusual patterns.
Count how often every letter, number, symbol and emoji appears in your text. See the results as an alphabet heatmap, a bar chart, a type breakdown and a full frequency table.
The darker the tile, the more often that English letter appears. Case is ignored here.
How your whole text splits into letters, digits, spaces, punctuation and symbols.
Ranked by how many times each character appears, with its share of the counted text.
| Character | Code | Count | Share | Bar |
|---|
The ten most repeated words in your text.
Add an article, a cipher, a password list, code or any text you want to analyze.
Choose letters, digits, spaces, punctuation or symbols, and set the case option.
Study the heatmap, bars and table, then copy or download the data as CSV.
Want to know exactly how many times each letter, number or symbol appears in a piece of text? This free character frequency analyzer counts every character in your text and turns the numbers into clear, visual results: an A to Z alphabet heatmap, a ranked bar chart, a character type breakdown, a full sortable frequency table and a list of the most repeated words. It works as a letter frequency counter, a character counter by type, a character occurrence checker and a simple text statistics tool in one page. You can include or exclude letters, digits, spaces, punctuation and symbols, switch case sensitivity on or off, and export the whole table as a CSV file for Excel, Google Sheets or your own scripts. It handles Unicode, so accented letters, non-Latin alphabets and emoji are counted correctly as single characters. Cryptography students use it for frequency analysis of ciphers, writers use it to spot overused letters and words, developers use it to inspect data and hidden characters, and teachers use it to explain how languages are built. Everything runs locally in your browser, so there is no signup, no upload and no limit, and your text stays private.
Count how often each letter of the alphabet appears and see the result as a heatmap. It is the fastest way to find the most common letter in a text, compare it with typical English letter frequency and spot unusual patterns.
Check how many times a specific character, digit, punctuation mark or symbol occurs. The full table lists every unique character with its Unicode code, count and percentage, so you never have to count by hand.
Break classic ciphers the way codebreakers have for centuries. Compare the letter distribution of a coded message with normal language to crack Caesar and simple substitution ciphers, or to see why stronger ciphers hide the pattern.
See at a glance how much of your text is letters, digits, whitespace, punctuation and symbols. The donut chart is handy for checking data quality, password lists, codes and formatted text.
The analyzer also calculates Shannon entropy in bits per character. A higher value means a more varied, less predictable character mix, and a lower value means a more repetitive text.
Copy or download the complete character frequency table as a CSV file. Open it in Excel or Google Sheets to build charts, or load it into Python, R or any data tool for deeper analysis.
Character frequency analysis is the process of counting how many times each character appears in a text and comparing those counts, usually as percentages. The result is called a frequency distribution. In natural languages this distribution is far from even: some letters are used all the time and others are rare. In English, the letter E alone makes up roughly one out of every eight letters, while Q and Z are used less than once in a thousand letters. Because every language, and often every kind of text, has its own typical distribution, the pattern works like a fingerprint. It can reveal the language of a text, the type of content, the encoding that was used or even whether a message has been encrypted with a simple cipher.
The idea is very old. Arab scholars described letter frequency analysis more than a thousand years ago as a way to break substitution ciphers, and the same principle is still taught in every beginner cryptography course. Today the technique is also used in data compression (common characters get shorter codes), keyboard layout design, typography, linguistics, spell checkers, language detection and word games. A modern character frequency analyzer makes all of this available to anyone, without writing a single line of code.
Counting characters manually is slow and easy to get wrong, even for a short paragraph. With this online character counter by frequency, you get precise results in a moment. Follow these simple steps.
The percentages are always calculated from the characters you chose to count. For example, if you turn spaces off, the percentage of each letter is shown relative to the letters, digits and symbols only. This makes it easy to compare your result with published letter frequency tables, which usually ignore spaces.
To judge your results, it helps to know what ordinary English looks like. In large collections of English text, the letters appear with roughly the following frequencies. These numbers are approximations and will vary with the topic, the length of the text and the writing style, but they are a good reference point for any letter frequency analysis.
| Rank | Letter | Approx. share | Rank | Letter | Approx. share |
|---|---|---|---|---|---|
| 1 | E | 12.7% | 14 | M | 2.4% |
| 2 | T | 9.1% | 15 | W | 2.4% |
| 3 | A | 8.2% | 16 | F | 2.2% |
| 4 | O | 7.5% | 17 | G | 2.0% |
| 5 | I | 7.0% | 18 | Y | 2.0% |
| 6 | N | 6.7% | 19 | P | 1.9% |
| 7 | S | 6.3% | 20 | B | 1.5% |
| 8 | H | 6.1% | 21 | V | 1.0% |
| 9 | R | 6.0% | 22 | K | 0.8% |
| 10 | D | 4.3% | 23 | J | 0.15% |
| 11 | L | 4.0% | 24 | X | 0.15% |
| 12 | C | 2.8% | 25 | Q | 0.10% |
| 13 | U | 2.8% | 26 | Z | 0.07% |
Notice that the first six or so letters (E, T, A, O, I, N) cover about half of all the letters in a typical English sentence. If your text has a very different order, for example a flat distribution where every letter has almost the same share, it is probably not ordinary English. That is a strong hint that the text is encrypted, random, a code, or written in another language. Other languages have their own patterns: Spanish text usually has E and A at the top, French is also led by E, and German text is known for a very high share of E and N.
A substitution cipher replaces every letter with another letter or symbol, always in the same way. A Caesar cipher is the simplest version: every letter is shifted by the same number of positions. Because the replacement is constant, the shape of the frequency distribution survives, only the labels change. If the most common letter in the coded text is X, there is a good chance that X stands for E. Paste the ciphertext into this analyzer, look at the heatmap and the ranked bars, compare them with the English table above and you can often guess the first few substitutions in seconds.
Keep in mind that frequency analysis needs enough text to work. A message of a few words can easily break the pattern, while a few hundred letters usually give a clear signal.
The summary cards and the donut chart divide your text into five groups. Understanding the groups helps you read the numbers correctly and choose the right settings.
| Type | Includes | Examples |
|---|---|---|
| Letters | Alphabet letters from any language, uppercase and lowercase | a, Z, é, ñ, ß, Д, ب, 中 |
| Digits and numbers | Numeric characters, including superscripts and some other number forms | 0 to 9, ², ½, ٣ |
| Whitespace | Spaces, tabs, line breaks, non-breaking spaces and invisible zero-width characters | space, tab, line break, U+00A0, U+200B |
| Punctuation | Characters used to structure sentences and code | . , ! ? ; : - ( ) [ ] " ' |
| Symbols and other | Math and currency signs, emoji, combining marks and all remaining characters | + = $ € © 😀 ✓ and accent marks |
When tools disagree about the length of a text, the reason is usually that "character" can mean several different things. This analyzer counts Unicode code points, which means that an emoji or a rare Chinese character is counted once, not twice as in older counting methods. That matches what most people expect, but you should still know the other definitions, because they matter when you work with databases, APIs and file sizes.
| Unit | What it counts | Why it can differ |
|---|---|---|
| Code points | Each Unicode character as one unit (used by this tool) | An accented letter can be one code point or a base letter plus a combining mark |
| Grapheme clusters | What a person sees as one symbol | Some emoji are built from several code points joined together |
| UTF-16 code units | The length that JavaScript reports for a string | Emoji and rare characters use two units |
| Bytes (UTF-8) | The storage size of the text in a file | Each code point uses between one and four bytes |
If you see a character in the table that looks like a normal letter but has an unexpected Unicode code, you may have found a look-alike character from another alphabet or an invisible character. This is a useful way to debug copied text and imported data.
Shannon entropy is a number that describes how unpredictable the characters in a text are. It is measured in bits per character. If a text used only one character over and over, the entropy would be zero, because nothing is surprising. If every available character appeared equally often, the entropy would be at its highest for that character set. Ordinary English text, counting letters only, usually lands somewhere around four bits per character, because some letters are much more likely than others. Random-looking strings such as keys and encrypted data tend to score higher and look flatter on the chart.
Treat the entropy value as a quick indicator, not as a security rating. It only describes the characters in the sample you pasted, not how a password or key was created. Use it to compare texts with each other: a higher number means a more varied character mix, a lower number means more repetition.
A normal word counter tells you how many words, characters and sentences a text has. A keyword density tool shows which words appear most often. A character frequency analyzer works one level lower: it shows how every single character is distributed. That makes it the right tool when the question is about letters, digits and symbols rather than words, and the extra word list in this page gives you a quick keyword style overview as a bonus.
This character frequency analyzer works on Windows, Mac, Linux, Android and iPhone in any modern browser. There is no account to create, no file to upload and no usage limit, and the processing happens locally in JavaScript, so your text is never sent anywhere. Bookmark this page and use it whenever you need to count letters in a text, find the most common character, analyze a cipher, inspect hidden characters or export a clean frequency table.
Ready to explore? Scroll back up, paste your text and watch the heatmap light up. If you also need to clean spacing, convert line breaks or remove special characters, check out the other free text tools on our site.
Quick answers about counting letters, reading the charts, analyzing ciphers and keeping your text private.
Paste your text into the box and the analyzer counts every character automatically. You get a ranked bar chart for the most frequent characters and a full table with the count and percentage of each one. Use the settings to include or exclude letters, digits, spaces, punctuation and symbols.
In typical English text the most common letter is E, followed by T, A, O, I and N. The exact order can change with the topic and the length of the text, so use the alphabet heatmap to see how your own text compares with the usual pattern.
By default it is not case sensitive, so A and a are counted together, and spaces and line breaks are not counted. You can change both: tick the case sensitive option to separate uppercase and lowercase, and tick "Spaces and line breaks" to include whitespace in the counts and percentages.
Yes. Paste the coded message and look at the most frequent letters. In English they usually stand for E, T, A, O, I and N, so you can guess the first substitutions or the Caesar shift and test them. Longer messages give more reliable results, and a very flat chart suggests a stronger cipher or random data.
Yes. The analyzer reads text as Unicode code points, so accented letters, Arabic, Cyrillic, Chinese and many other scripts are counted, and each emoji is counted as one character in most cases. Some complex emoji are built from several code points, and they may appear as separate entries in the table.
Yes. Click Copy CSV to put the table on your clipboard, or Download CSV to save it as a file. The export contains the character, its Unicode code, the count and the percentage, and it opens directly in Excel, Google Sheets and any data tool.
Your text is analyzed completely inside your browser and is never uploaded, sent to a server or stored. There is no fixed size limit and no signup, and the practical limit depends on your device memory. As a general habit, avoid pasting passwords or highly sensitive secrets into any website you do not fully trust.
Merge, split, compress and convert files in seconds. Explore powerful free tools for all your everyday needs.
Explore All Tools →