If this tool helped you, you can buy us a coffee ☕
Count the frequency of characters or phrases in your text. Supports custom N-gram lengths and character types.
Please enter text and configure options to start analysis

Vigenère Cipher Encoder & Decoder
Encrypt or decrypt text using the classic polyalphabetic substitution algorithm. Ideal for cryptography learning and testing.

Caesar Cipher Encoder & Decoder
Easily encrypt and decrypt text using the Caesar cipher (shift cipher) with custom alphabets and shift values online.

CRC16 Checksum Calculator
Online CRC16 checksum tool to calculate 16-bit cyclic redundancy check values for text, Hex, and Base64 data to verify data integrity.
When you need to analyze the occurrence patterns of specific characters or phrases in a text, manual counting is both time-consuming and prone to errors. This tool helps you quickly grasp text characteristics by calculating the occurrence of N-grams (continuous sequences of characters). A 1-gram represents single-character frequency, a 2-gram represents two-character combination frequency, and so on. The results can be used for cryptography, linguistic pattern research, or text feature extraction.
Q: How can I check the frequency of a specific character?
A: Set the tool to 1-gram mode and look for the corresponding character in the results list.
Q: What information does the analysis result contain?
A: The output displays the relationship between character sequences and their occurrence counts. For example, "a: 15" means the character 'a' appears 15 times. You can calculate the percentage frequency using the total number of characters.
Extremely long texts may cause the browser to respond slowly. The larger the N-gram length, the sparser the results will be. Non-ASCII characters (such as Chinese) are processed as single characters.
For cryptography, it is recommended to start with 1-gram and 2-gram analysis. For text feature extraction, try 3-5 grams. Example 2-gram result for the input "hello": "he:1", "el:1", "ll:1", "lo:1".