Character Counter
Type or paste text to instantly count visible characters, characters excluding spaces, words, lines, UTF-8 / UTF-16 / Shift_JIS byte sizes, full-width vs. half-width breakdown, and a character-type breakdown. All counting runs in your browser.
Character type breakdown
On supported browsers, "Visible characters" is counted in grapheme units using Intl.Segmenter.
ABOUT
About this character counter
The T-APPS520 character counter analyzes the text you enter in real time and lets you check several counting methods at once. It is useful for social media posts, form character limits, manuscripts, reports, and proofreading.
It separately displays not just a simple "string length", but also the visible character count, characters excluding spaces, word count, line count, and the byte size in UTF-8. Because the definition of "one character" differs by purpose, you can compare multiple metrics side by side.
COUNTING
There are several ways to count "characters"
JavaScript's String.length returns the number of UTF-16 code units, not the number of characters a person perceives on screen. As a result, some emoji and combining characters look like one character but have a length of 2 or more.
"A😀B".length
// 4 in UTF-16 code units
On supported browsers, this page also measures grapheme units — the units users perceive visually — using Intl.Segmenter. If a system's input limit is based on JavaScript's length, check the "JavaScript length" value as well.
METRICS
What each metric means
| Metric | What it counts | Typical use |
|---|---|---|
| Visible characters | Grapheme units | Checking the length of text people read |
| Excluding spaces | Characters excluding spaces and newlines | Checking the volume of the body text only |
| Words | Words separated by spaces | A guide for English or mixed text |
| Lines | Lines split by newlines | Checking manuscripts, logs, and code |
| UTF-8 bytes | Data size when encoded as UTF-8 | A guide for API, DB, and transfer sizes |
| UTF-16 bytes | Data size when encoded as UTF-16 (no BOM) | A guide for string sizes in Windows systems, Java, etc. |
| Shift_JIS bytes (approx.) | Estimated data size when encoded as Shift_JIS | A guide for legacy systems and CSV integration |
| Full-width / Half-width characters | Classification by character width (half-width kana counts as half-width) | Checking input limits and digit counts |
| URL-encoded length | String length after applying encodeURIComponent | Checking URL parameter lengths |
| Character type breakdown | Hiragana / Katakana / Kanji / Letters / Digits / Symbols / Spaces & newlines / Other | Reviewing text composition |
| Code points | Unicode code points | Technical checks of character data |
| JavaScript length | UTF-16 code units | Comparison with JS string handling |
HOW TO
How to use
- Enter your textType directly into the text area or paste the text you want to check.
- Check the resultsEvery count updates as you type. No button presses are needed.
- Use the value that fits your purposeFor posting limits, follow the service's specification; for data size, check the UTF-8 bytes, and so on.
PRIVACY
How your text is handled
We do not send the text you enter to T-APPS520's servers for the purpose of counting characters.
We recommend not pasting confidential information such as passwords or access tokens into web pages unless necessary. For details, see our Privacy Policy.
FAQ
FAQ
Does an emoji count as one character?
On supported browsers, we use Intl.Segmenter to count in grapheme units. Even an emoji made up of multiple code points may count as one if it appears as a single character.
What is the UTF-8 byte size?
It is the number of bytes when the string is encoded as UTF-8. Character count and data size are not the same, so it is a useful reference when checking API or storage sizes.
Why is the Shift_JIS byte size "approximate"?
Because browsers have no built-in way to convert to Shift_JIS, we estimate the byte size from character ranges. Characters not included in JIS X 0208 (such as emoji) are counted as 2 bytes, as they would become replacement characters when converted.
Is the text I enter saved anywhere?
We have not implemented any processing that sends or saves your input on T-APPS520's servers for the purpose of counting characters.
Is it free to use?
Yes. The T-APPS520 character counter is free to use.
REFERENCES