Hanzi, kanji and kana in one table

Chinese character counter for Japanese kanji and kana hanzi, kanji and kana

Paste hanzi, kanji or kana and read the totals.

Chinese, Japanese or mixed text. The table updates as you type.

  • Free, no sign-up
  • Your text stays in this browser
  • The table updates as you type

From a CJK phrase to a character table

Two short lines in the worked example below show the same three numbers for Chinese and Japanese text.

  1. Step 01

    Paste the CJK text

    Type or paste hanzi, kanji, hiragana or katakana into the field above, including the punctuation you want to inspect.

  2. Step 02

    Pick the counting rules

    Count spaces stays on for exact totals, while Letters and digits only drops commas, full stops and exclamation marks before counting.

  3. Step 03

    Read Total and Unique

    Total characters lists every counted grapheme, Unique characters shows how many different ones there are, and the table ranks repeats first.

  4. Step 04

    Take the table with you

    Copy the table for a quote or download a CSV file, and the draft stays in this browser for the next passage.

What you get with every count

  • A sorted table with character, count and percentage
  • Total and unique characters shown above the rows
  • Emoji, accented letters, Cyrillic and CJK counted as single characters
  • Three switches that recount instantly
  • Readable labels for spaces, tabs and new lines
  • Copy table and a ready CSV download
  • Long tables fold to twelve rows with Show all
  • Your last text and switches remembered in this browser

How Chinese and Japanese characters are counted

Graphemes. Chinese hanzi, Japanese kanji and kana all sit in the same Unicode blocks, and the counter treats a single visible ideograph or syllable as one grapheme. A character stored with a combining mark therefore stays one entry in the table, not two. Simplified and traditional forms of the same hanzi are different code points, so they appear as separate rows even when they mean the same thing.

Punctuation. By default every symbol is counted, including the full-width comma and exclamation mark that Chinese and Japanese sentences use. Switch on Letters and digits only and those marks disappear from the total, while hanzi, kanji, hiragana, katakana and Arabic digits remain. The option is useful when a client pays per character and punctuation should not be billed.

Total and Unique. Total characters is the number of graphemes left after the rules are applied, not the number of words, lines or pages. Unique characters is the size of the set of distinct graphemes. A repeated 你 or こ raises the first number and leaves the second unchanged, so the two figures tell different stories about a passage.

Mandarin. Mandarin Chinese written in simplified or traditional hanzi uses no spaces between words, so a character count is also the closest thing to a size measure for a paragraph. The same page works for Cantonese or classical texts because it counts graphemes, not pronunciations. Keep the tab open when you compare two versions of a sentence.

Billing. Translators often quote per source character, so paste the client's text, read the total with and without punctuation, and copy the table or CSV into an invoice. The tool never sets a price and cannot know a per-character rate; it only provides the counts that a quote is built on.

Saved draft. Text and switches are stored under a single browser key, toolper:character-frequency:en, and nothing leaves the device. Reload the page or open the main counter later and the previous hanzi or kana returns, which makes it easy to finish a count after a break.

Worked example: the same rules on Chinese and Japanese lines

We counted two short greetings with the same core: the Chinese line 你好,世界!你好,中国! and the Japanese line こんにちは、世界!こんにちは!. Both runs used the default switches, then repeated the count with Letters and digits only.

Chinese line: total characters12
Chinese line: unique characters8
Chinese line: total with Letters and digits only8
Japanese line: total characters15
Japanese line: unique characters9
Japanese line: total with Letters and digits only12

The Chinese line counts 12 graphemes but only 8 distinct ones: 你, 好 and ! each appear twice, 66.7% of the line. Dropping its 4 punctuation marks leaves 8. The Japanese greeting keeps 12 of its 15 graphemes once its 3 punctuation marks are ignored.

What the counter is built for

  • It processes up to about one million characters at a time. Longer text is cut at the limit and the page tells you so.
  • It counts single characters only. Word counts, line counts and text comparison are separate jobs for other tools.
  • Results are a table, not a chart, so export the CSV when you want to draw a graph elsewhere.

Chinese and Japanese character questions

How do I count Chinese characters in a paragraph?

Paste the paragraph into the field and read Total characters. The count treats each hanzi as one visible unit, even when the text has no spaces between words.

Does the counter include Japanese kanji and kana?

Yes. Kanji, hiragana and katakana each appear as their own row, and the same table mixes them with full-width punctuation unless you turn on Letters and digits only.

What is the difference between Total and Unique characters?

Total characters counts every grapheme that passes the rules, repeats included. Unique characters counts only the different ones, so repeated 的 or の lift the first figure while the second stays the same.

Should I remove punctuation before counting?

Keep it when you need the exact length of the raw text. Turn on Letters and digits only when punctuation should not be billed or when you compare prose lengths across two scripts.

Can I use it for Mandarin Chinese?

Yes. Simplified or traditional Mandarin hanzi are counted as single characters, and a passage without spaces still returns a correct total.

Does the tool calculate a translation price?

No. It gives character totals that translators use to prepare a quote, but it does not apply a rate, currency or minimum fee.

Where is my text stored?

Only in this browser, under the draft key for the character counter. No server, account or upload is involved, so a reload brings the same hanzi or kana back.

Popular tasks with this tool

Count a Chinese or Japanese line now

Paste the passage, check Total and Unique, then copy the table for your notes or a client quote.

Count characters

About ToolperLast updated: Privacy