Blog
How to Count Character Frequency in Text
Count letter and symbol occurrences, decide whether to ignore case and whitespace, and interpret Unicode results.
Symboxi TeamSymboxi — Free online tools and browser games2 min read
What to know
Character frequency measures how often each character occurs in a text. It differs from total character count and word frequency. Decide whether uppercase and lowercase letters should be grouped and whether spaces or punctuation should be included before comparing texts.
Worked example
In banana, a occurs three times, n twice and b once. In A a, case-sensitive counting treats A and a separately; case-insensitive counting groups them. If whitespace is included, the intervening space is another counted symbol. Keep the same settings when comparing samples.
How to use the tool
Paste text into the character frequency counter and choose case, whitespace and result-limit settings. Inspect the most frequent entries. The tool counts Unicode code points, which can differ from user-perceived characters such as composed accents and multi-code-point emoji. Normalize text separately if your analysis needs consistent Unicode forms.
Frequently asked questions
Does frequency count words? No, use a word frequency counter for that. Does one displayed emoji always count as one code point? No. Why can visually identical letters differ? Some are represented by different Unicode sequences. Should I include spaces? Choose according to your analysis goal.
Try the free tool
Open character frequency counterRelated tool: word frequency counter.