ToolMiko.5 languages. One handy toolbox.
◎ English ⌄
简体中文English ✓ไทยবাংলাहिन्दी
← Back to guides
ToolMiko editorial and testing

Count characters, words and lines: why one emoji can count as seven

Our two-line sample returned 27 characters, 3 words and 2 lines. The family emoji 👨‍👩‍👧‍👦 looks like one symbol but contains 7 Unicode code points. ToolMiko counts code points, including spaces and newlines.

Open tool: Word counter →

What should you prepare?

  • Paste the full sample contents and keep the line break.
  • Check whether the receiving system asks for characters, words, bytes or AI tokens.
  • Joined emoji and combining marks may count differently from visible symbols.

How do you use ToolMiko?

  1. Open Word counter and paste the two-line sample.
  2. Run it and inspect characters 27, words 3 and lines 2.
  3. Compare the source: ToolMiko, hello and 2026 are the three word-like items here.
  4. For AI input length, use Token counter with the appropriate encoding instead.
Word counter: How do you use ToolMiko?
Actual tool screenshot in this guide's language. Open the image to inspect the full interface.

What did the sample produce?

The current Windows Chrome run produced 27, 3 and 2 in all five UI languages. The sample’s family emoji contains seven code points. Whitespace-only input raised an error and cleared old statistics. TXT files are editorial records.

CheckObserved result
Characters27
Words3
Lines2

Download this test result →

These non-personal samples were generated for ToolMiko and tested in Windows Chrome on 2026-11-13. Repeat with the source files; results can differ with your files and device.

What if the result is wrong?

Why are there more characters than visible symbols?

The character field is not a visual-grapheme count. Spaces, line breaks, joiners and combining marks can each occupy code points.

Another website has a different word count

This tool uses browser segmentation for the current language; older browsers may split on whitespace. Rules and browser versions can differ.

Limits and file handling

The input limit is100000 UTF-16 code units,processed locally. Some emoji use multiple units;this is not a limit on the code-point result. It is not a UTF-8 byte,grapheme or AI token count. A trailing newline can add a line. The fixture demonstrates rules,not agreement on every multilingual text with other software.

Continue with another tool

Method and references

MDN: Intl.Segmenter

Manage account