← All tools
// Text / Analysis

Letter Frequency Analyzer online

Analyze letter and character frequencies in any text

Letter Frequency Analyzer logo
by
CHUNKY
MUNSTER
// Input text

How to Use the Character Frequency Counter

  1. Paste any text into the input box.
  2. Toggle 'Letters only' and 'Case insensitive' to suit your task.
  3. The frequency chart updates live as you type or change settings.
  4. Compare the bars to a reference distribution to break a substitution cipher.

Letter Frequency Analyzer counts every character (or only A–Z if you tick 'Letters only') and shows the result as a sorted bar chart with absolute counts and one-decimal percentages. This character frequency counter scales bars to the most-frequent character, so the shape of the histogram is immediately comparable to a known reference such as the English ETAOIN SHRDLU profile. Use this text histogram tool for linguistic research or simple text analysis.

How the Text Analyzer Works

The classic use case is cryptanalysis of monoalphabetic substitution ciphers - Caesar, Atbash, simple substitutions - where the ciphertext shape mirrors the plaintext language's letter distribution. This text analyzer is also handy for linguistic statistics and sanity-checking that a 'random' string really is uniform. With letters-only off, the symbol frequency analyzer counts any Unicode codepoint, so it works for Greek, Cyrillic, and other non-Latin scripts, providing a detailed letter distribution report.

Frequently Asked Questions

What is letter frequency analysis used for?

It is the classical attack on monoalphabetic substitution ciphers (Caesar, Atbash, simple substitution). Compare the histogram of the ciphertext to English letter frequencies - E ≈ 12.7%, T ≈ 9.1%, A ≈ 8.2% - to recover the mapping.

What is the typical English letter distribution?

Roughly E 12.7%, T 9.1%, A 8.2%, O 7.5%, I 7.0%, N 6.7%, S 6.3%, H 6.1%, R 6.0%. The mnemonic ETAOIN SHRDLU comes from the top-12 letters in English text.

Does 'letters only' include accented characters?

No. The letters-only filter is the regex /[a-zA-Z]/, so it skips accented letters (é, ñ, ü), digits, punctuation and whitespace. To include them, untick the option and the tool counts every character.

Can I use this for non-English text?

Yes - turn off letters-only and the tool counts every Unicode character, so Greek, Cyrillic or Chinese text produces a real frequency table. Reference distributions exist online for most major languages.

From breaking simple ciphers to analyzing the density of certain characters in your code or writing, this technical utility provides instant, visual feedback. Bookmark this Letter Frequency Analyzer for your next cryptanalysis or text processing task.