OnlineNotes Logo

    Character Frequency Counter

    Paste text to see how many times each character appears, from most common to least, with its share of the total. Choose whether to count spaces, punctuation and case.

    Options

    About this tool

    Letter frequency is the first tool for breaking a simple substitution cipher: in English text, e, t, a, o and i are the most common letters, so the most frequent symbol in a coded message is often e. It also helps with puzzles, checking a pangram, finding stray characters in data, and teaching how text is stored.

    The tool counts what you see as one character as one, so é, 👍🏽 or a flag emoji count once even though they are made of several code points. The result is tab separated, so you can paste it straight into a spreadsheet and sort or chart it there.

    How it works

    1. Your text is split into characters the way a reader sees them (grapheme clusters).
    2. Spaces, line breaks or symbols are skipped if you chose that, and letters are lowercased when case is ignored.
    3. Each character is counted, and the list is sorted from most to least common.
    4. Each line shows the character, its count and its percent of all counted characters. Spaces and tabs show as (space) and (tab).

    Worked example

    Input

    Hello

    Output

    l	2	40.0%
    e	1	20.0%
    h	1	20.0%
    o	1	20.0%

    With case ignored, H counts as h. Characters with the same count are sorted A to Z.

    Edge cases and limits

    • Very long texts (several MB) can take a moment to count on older phones.
    • Letters and numbers only keeps characters from any alphabet, including accented and non-Latin letters.
    • To count words instead of letters, use the word frequency counter.

    Frequently asked questions

    What is the most common letter in English?

    E. In typical English text it is about 12 to 13 percent of all letters, followed by t, a, o and i.

    How do I count a specific letter in text?

    Paste the text and find the letter in the list. Its count and percent are on the same line.

    Does it count spaces?

    Not by default. Clear "Skip spaces and line breaks" to include them.

    Related tools