Skip to content
⚠ TESTING ENVIRONMENT You are viewing a testing copy of Tolioo. Changes here do not affect the live website.

Character Frequency Analyzer

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.

  • 100% free
  • No Signup
  • Text never uploaded

Your text

Paste some text to see the analysis Or click “Try sample” to load an example and explore the charts.
ADVERTISEMENT
Demo Ad 728 x 90

How to analyze character frequency

1Paste your text

Add an article, a cipher, a password list, code or any text you want to analyze.

2Pick what to count

Choose letters, digits, spaces, punctuation or symbols, and set the case option.

3Read the charts

Study the heatmap, bars and table, then copy or download the data as CSV.

CHARACTER FREQUENCY GUIDE

Character Frequency Analyzer – Count Letter Frequency and Character Occurrences Online Free

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.

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.

Character Occurrence Counter

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.

Frequency Analysis for Ciphers

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.

Character Type Breakdown

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.

Entropy and Diversity

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.

Export to CSV

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.

What Is Character Frequency 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.

How to Count Character Frequency Online (Step by Step)

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.

  1. Paste or type your text: Add any text into the "Your text" box, or click Try sample to load an example. The analysis starts at once.
  2. Choose which characters to count: Letters, digits and punctuation are on by default. Turn on spaces and line breaks if you want to count them too.
  3. Set case sensitivity: Keep it off to treat A and a as the same letter, or turn it on to count uppercase and lowercase separately.
  4. Read the results: Check the summary cards, the alphabet heatmap, the type breakdown and the ranked bar chart.
  5. Open the full table: Sort by most frequent, least frequent or Unicode order, then copy or download the data as CSV.

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.

English Letter Frequency: What Is Normal?

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.

Approximate letter frequency in typical English text
Rank Letter Approx. share Rank Letter Approx. share
1E12.7%14M2.4%
2T9.1%15W2.4%
3A8.2%16F2.2%
4O7.5%17G2.0%
5I7.0%18Y2.0%
6N6.7%19P1.9%
7S6.3%20B1.5%
8H6.1%21V1.0%
9R6.0%22K0.8%
10D4.3%23J0.15%
11L4.0%24X0.15%
12C2.8%25Q0.10%
13U2.8%26Z0.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.

Frequency Analysis for Caesar Ciphers and Substitution Ciphers

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.

  • Caesar cipher: Find the most common letter, assume it is E, and calculate the shift. Then test the shift on a few words.
  • Monoalphabetic substitution: Match the top letters first (E, T, A, O), then use common short words such as "the" and "and" to confirm.
  • Polyalphabetic ciphers (Vigenère): These flatten the distribution, so a very even frequency chart is itself a clue that a stronger cipher is in use.
  • Puzzles and escape rooms: Use the table to quickly check whether a mysterious string is real text, random characters or an encoded message.

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.

What Do the Character Types Mean?

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.

Character types used by the analyzer
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

Characters, Code Points, Graphemes and Bytes: Why Counts Can Differ

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.

Different ways of counting text length
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.

Everyday Uses of a Character Frequency Analyzer

  • Students and teachers: Explore how languages work, compare texts in different languages and demonstrate frequency analysis in cryptography and linguistics classes.
  • Writers and editors: Spot overused letters, repeated sounds and over-repeated words, which helps with alliteration, readability and style.
  • Developers and data engineers: Inspect log files, CSV columns and API responses for unexpected symbols, hidden whitespace and encoding problems.
  • Security learners and CTF players: Analyze coded messages and challenge strings, and check whether a string looks random or like real language.
  • SEO and content teams: Check which words dominate a page and review the balance of letters, numbers and punctuation in titles, slugs and meta text.
  • Word game fans: Use letter frequency to choose smart starting words for Wordle-style games, or to plan Scrabble and crossword strategy.
  • Keyboard and typography designers: Learn which characters are typed most often to improve layouts and font choices.
  • Compression and coding enthusiasts: See why frequent characters should get shorter codes in methods such as Huffman coding.

Understanding Entropy: How Varied Is Your Text?

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.

Character Frequency vs Word Counters and Keyword Tools

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.

  • Word counter: Best for essay length, social media limits and reading time.
  • Keyword density checker: Best for repeated phrases in web content.
  • Character frequency analyzer: Best for ciphers, encoding checks, data cleaning, language patterns and detailed text statistics.

Tips for Accurate Frequency Results

  • Use enough text: Frequency patterns become reliable with a few hundred letters or more. Very short texts can be misleading.
  • Turn spaces off to compare with letter tables: Published tables normally ignore spaces, so match that setting for a fair comparison.
  • Use case sensitivity only when it matters: Keep it off for language analysis and on for passwords, codes and identifiers.
  • Remove headers and boilerplate: Copied web pages and documents may include menus and footers that change the distribution.
  • Check unusual Unicode codes: If the table shows a letter with an unexpected code, it may be a look-alike or invisible character.
  • Compare two texts: Analyze each separately and compare the CSV files to see how their distributions differ.

Free, Private and Instant Character Counter for Any Device

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.

ADVERTISEMENT
Demo Ad 300 x 250
COMMON QUESTIONS

Character Frequency Analyzer FAQ

Quick answers about counting letters, reading the charts, analyzing ciphers and keeping your text private.

How do I count how many times each character appears in a text?

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.

What is the most common letter in English?

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.

Is the analyzer case sensitive, and does it count spaces?

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.

Can I use this tool to solve a Caesar or substitution cipher?

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.

Does it work with emoji, accented letters and other languages?

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.

Can I export the character frequency 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.

Is my text private, and is there a size limit?

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.

ADVERTISEMENT
Demo Ad 320 x 50

All Tools, One Place

Merge, split, compress and convert files in seconds. Explore powerful free tools for all your everyday needs.

Explore All Tools →