Character Frequency Counter
Count how often each character appears in a text, sorted from most to least frequent.
How this tool works
Paste your text
Any text you want to analyze character by character.
Choose letters-only or all characters
Toggle whether spaces and punctuation count toward the frequency table.
The table sorts automatically
Every character is ranked from most to least frequent.
Check the summary
Total unique characters and the most/least common ones are called out above the table.
Quick facts
- Category
- Text Tools
- Best for
- Frequency analysis for a substitution cipher exercise
About this tool
Paste any text to see a complete frequency table of every character it contains, sorted from most to least common, along with the total number of unique characters and callouts for the single most and least frequent one. Toggle "Letters only" to ignore spaces, punctuation, and digits entirely, which is useful when you specifically want letter-frequency statistics - the kind used in cryptography education (frequency analysis of a substitution cipher) or just curiosity about which letters dominate a piece of writing - rather than being distracted by how often the space character appears, which in ordinary prose is almost always the single most frequent character of all. Non-printing characters like spaces, tabs, and newlines are labeled explicitly in the table rather than shown as blank rows, so nothing in the counts is invisible or confusing. Runs entirely client-side.
Why use this tool
Letters-only mode
Exclude spaces and punctuation to get a true letter-frequency table for cipher analysis.
Non-printing characters labeled
Spaces, tabs, and newlines show as readable labels instead of blank, confusing rows.
Instant most/least common callouts
No need to scan the whole table - the extremes are highlighted automatically.
Useful beyond cryptography
Works equally well for linguistic analysis or just satisfying curiosity about a piece of writing.
Frequently asked questions
In normal prose, words are separated by spaces far more often than any single letter repeats, so across a full sentence or paragraph the space character typically outnumbers every individual letter. This is exactly why the "Letters only" toggle exists - turning it on removes spaces (and punctuation and digits) from the count entirely, so the frequency table reflects only how often each actual letter appears.
It’s a classic technique in cryptography for breaking simple substitution ciphers - in English text, letters like E and T appear far more often than Q or Z, so comparing a ciphertext’s letter frequencies against known English letter frequencies can reveal which cipher letter likely maps to which plain letter. It’s also used more informally in linguistics and writing analysis to compare texts or spot unusual patterns in a specific piece of writing.
Explore more free tools
Formatters, converters, validators, and generators - all free and running entirely in your browser.
Browse more tools