Tool guide
Understand character, word and line counts
Count string length, non-whitespace length, whitespace-separated words, lines and blank-line-separated paragraphs.
How to use
- Paste text to view live counts.
- Compare with the target platform’s counting rules, then clear the text.
Example and expected result
Input: hello world
Characters: 11; excluding whitespace: 10; words: 2; lines: 1Capabilities and limits
- Characters use JavaScript string length; some emoji occupy multiple units.
- Words are split on whitespace, without Chinese word segmentation.
Troubleshooting
Compare whitespace, newlines, emoji and segmentation rules when an editor reports different counts.
Data processing and storage
Counting happens in page state without automatic text saving.
Read the full data-processing notice