Hongmu Notes

🗒️ Character occurrence statistics

Paste a piece of text in, count how many times each character appears and what proportion it accounts for, and export it to TXT or CSV.

Character occurrence statistics

Statistical rules: count the number of occurrences of a single character, line breaks are not included in the statistics; the results are arranged from most to least, and the proportion is given; spaces and tabs are marked separately.

Instructions for use

Paste the text you want to count into the upper input box, click "Start Statistics", and the number and proportion of each character will be listed below: Chinese characters are counted as one character according to code points, English letters are case-sensitive, punctuation and spaces are in separate lines, and line breaks are not included in the statistics, so the number of lines of multi-line text will not affect the results. The table is arranged from most to least frequently, with the first row showing the characters that appear the most; click "Export TXT" to get a tab-delimited text file, click "Export CSV" to get a comma-delimited file with BOM, and it will not be garbled when opened with Excel. All statistics are completed locally in the browser and are not uploaded or retained.

✅ How to check the results

  • Enter abbccc and you should get c 3 times, b 2 times, and a 1 time
  • The sum of the number of characters should equal the total number of characters after removing line breaks.
  • Spaces and punctuation should be on separate lines

🔒 Data and privacy

Statistics are completed locally in the browser. Inputs and results are not uploaded or retained, and will be cleared when the page is refreshed.

Text frequency statistics

If you want to count punctuation and spaces together, do a text physical examination.}}

Punctuation and spaces are often the most easily overlooked content: too many commas in a copy will appear sluggish, two consecutive spaces are often a typesetting accident, and an abnormal proportion of numbers may mean that numbers were mixed in when pasted. By counting them together with Chinese characters, you can use a set of numbers to do a physical examination of the text. This tool does not exclude punctuation. Commas, periods, brackets, quotation marks, and colons all occupy a line as a single character. Spaces and tabs are also listed and marked separately.

  • Punctuation marks on separate lines
  • Spaces and tabs are marked separately
  • Count numbers and letters separately
  • Suitable for text self-checking before publishing

In practice, it is recommended to use it with two statistics: first count the original text, record the proportion of spaces and punctuation points; then use the adjacent cleaning tool to remove excess blank lines or full-width characters, and then count again for comparison. The difference before and after can directly indicate whether the cleaning is effective, which is much more reliable than checking the entire text with the naked eye.

All keywords and tutorials 12

❓ FAQ

Does the newline character count??
No, line breaks are not included in the statistics, so organizing the paragraphs will not change the results.
Can you calculate the proportion of punctuation points??
Yes, each punctuation point in the table has an independent number and proportion. The total proportion of punctuation points can be obtained by adding them together.
Do punctuation marks count as characters?
Calculation, commas, periods, brackets, etc. are all counted as single characters, making it easy to check whether punctuation is used too much.