Character Frequency
Build a frequency table of every character in your text. Restrict the scope to letters, alphanumerics or non-whitespace, fold uppercase and lowercase together, and sort by count or by character.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
What the counter reports
Split your text into Unicode code points and count how often each occurs, returning a table with Character, Count and % columns where the percentage is relative to the characters that survive the scope filter. Count ties fall back to character order.
When to profile character use
Measure the letter distribution of a passage, spot repeated characters during a password review, or run basic frequency analysis on ciphertext. Because scope and case folding are configurable, the same table suits prose, code and data.
Options that change the table
Scope limits counting to all characters, letters only, letters and digits, or everything except whitespace. Ignore case folds uppercase and lowercase together before counting, and the sort control orders the table by count descending or by character ascending.
How special characters appear
A space renders as (space), a tab as backslash-t, a newline as backslash-n and a return as backslash-r, while any other control character is shown as a two-digit hexadecimal escape. Visible characters appear as themselves.
Counting stays in this tab
The frequency table is built with a plain map over your own text, so nothing is uploaded and the counter keeps working offline once the app is loaded.
Questions
How are spaces and control characters shown?
A space is shown as (space), a tab as \t, a newline as \n, and any other control character as \xNN with its two-digit hexadecimal code.
What is the percentage relative to?
The number of characters that remain after the scope filter is applied.
Does it count by code point?
Yes. Text is split into Unicode code points, so most emoji and combining sequences are handled sensibly.
Related tools
See categoryWord Frequency Counter
Count how often each word appears, with case folding, a minimum length, stop-word removal and a top-N limit.
Text Statistics
Count characters, words, sentences and paragraphs, with platform limits, readability scores and reading time.
Hex Encode / Decode
Convert text to and from hexadecimal (UTF-8), with configurable separators.
Unicode Normalizer
Normalize Unicode text, optionally remove accents and standardize line endings.