Character Frequency

Count character occurrences and percentages.

Input


Sponsored

How it works

How it works

  • Iterates characters with for...of, which walks Unicode code points (not 16‑bit code units).
  • No normalization: visually identical forms (e.g., é vs e+◌́) count separately. Normalize first if needed (str.normalize('NFC')).
  • Whitespace visualization: spaces show as “(space)”, newlines as ↵, tabs as → to make them visible.
  • Percentages are per total characters; empty input is guarded to avoid divide‑by‑zero.

Privacy & Security

No data leaves your device.

Accuracy, Limits & Tips

Does not normalize; visually identical composed/decomposed characters count separately.

Examples

  • Analyze frequency distribution.
  • Spot unexpected whitespace characters.

Looking for broader guides and best practices? Visit the ToolsAreUs Blog for indexes (like the full tool list) and articles (e.g. secure password generation).