Skip to content

Character Frequency

Sorted character frequency report with percentages.

Character frequency sorted from most to least common
CharacterCountPercent
i436.36%
s436.36%
p218.18%
m19.09%
Frequency ready
4 unique characters counted.

Character Frequency counts how often each character appears in your text and presents the results as a sorted report, from most to least common. Toggle letters-only mode to ignore digits, punctuation, and whitespace when you only care about letter distribution.

How it works

The tool iterates through every character in your input, tallying occurrences in a frequency map. With 'letters only' enabled, non-alphabetic characters are skipped and letters are case-folded so uppercase and lowercase count together. Results are sorted by count, then alphabetically for ties.

Benefits

  • Instant sorted frequency table with counts and percentages
  • Optional letters-only mode for pure alphabetic distribution
  • Readable labels for whitespace characters like spaces and tabs
  • Copyable, tab-separated report for spreadsheets

Use cases

  • Analyzing letter distribution for cipher or cryptography exercises
  • Checking character usage in a password or passphrase for entropy intuition
  • Studying language letter frequency for linguistics or puzzle design
  • Auditing text for unexpected characters, such as stray control characters

Best practices

  • Enable letters-only mode when comparing letter frequency across texts of different lengths
  • Use the percentage column to compare distributions rather than raw counts
  • Check whitespace entries if you suspect inconsistent spacing in your source text
  • Copy the tab-separated report directly into a spreadsheet for charting

Common mistakes

  • Comparing raw counts between texts of very different lengths instead of percentages
  • Forgetting that letters-only mode merges uppercase and lowercase counts
  • Assuming punctuation is ignored by default—it is included unless letters-only is enabled
  • Not accounting for whitespace entries when auditing unexpected characters

Privacy

All frequency counting happens locally in your browser. ToolHub does not receive or store the text you analyze here.

Frequently asked questions

How is character frequency calculated?
The tool counts how many times each distinct character appears in your text, then lists them from most frequent to least frequent along with the percentage of the total.
What does the 'letters only' option do?
When enabled, only alphabetic characters are counted, ignoring digits, punctuation, and whitespace. Letters are also case-folded so 'A' and 'a' are counted together.
How are spaces, tabs, and newlines shown in the report?
Whitespace and control characters are shown with readable labels like '(space)', '(tab)', and '(newline)' instead of invisible characters in the frequency table.
Is letter casing combined when 'letters only' is off?
No. With 'letters only' disabled, uppercase and lowercase letters are counted as distinct characters, matching exactly what appears in your text.
Can I copy the frequency report?
Yes. A tab-separated report listing each character, its count, and its percentage is available to copy or download below the table.
Does this tool upload my text?
No. All counting happens locally in your browser using JavaScript, and your text is never sent to a server.

Version 1.0.0 · Updated 2026-07-27 · 30 seconds