← Hashito System Home 日本語 Tools Blog
Input
Count by
How to use: Paste text and the counts appear immediately. Changing the mode or the options recalculates on the spot.
Result
Character / word Count Share Ratio
Total: 0 Distinct: 0 Shown: 0

Frequently asked questions

How do character mode and word mode differ?

Character mode counts each character as one entry, treating emoji and combining sequences as a single visible character. Word mode splits on whitespace and punctuation, keeping runs of letters, digits, underscores, apostrophes and Japanese characters together. Japanese is not word-segmented, so a run of Japanese characters stays as one token.

What is the denominator behind the share column?

It is the total number of tokens that were actually counted. Anything removed by the options, such as whitespace, is excluded from the denominator as well. The "Total" figure above the table is that denominator.

Is my text sent to a server?

No. The counting runs entirely in JavaScript inside your browser. Nothing you type is uploaded or stored.

Should I export CSV or TSV?

TSV is the safer choice when you only need to paste into a spreadsheet, because it avoids quoting rules. This tool does quote CSV values that contain a comma, a double quote or a line break.

How to use this tool

  1. Paste your text — Put the text you want to analyse into the input box on the left. No file upload is needed.
  2. Choose the unit — "Characters" counts one character at a time. "Words" groups runs of letters, digits and Japanese characters into single words.
  3. Adjust the options — Use the checkboxes to control case sensitivity and whether whitespace and punctuation are counted.
  4. Read the result — The table is sorted from most to least frequent, with the total and the number of distinct entries above it.
  5. Export as CSV — The output box below holds CSV (or TSV). Copy it and paste it straight into a spreadsheet.