🔡 Character Counter

Count characters with and without spaces, plus words.

-
Characters
-
No Spaces
-
Words
-
Lines

What the character counter counts

The main figure is the full length of your text, with spaces and line breaks included. Next to it you get the count with all spaces and line breaks removed, the number of words (runs of text separated by spaces or new lines) and the number of lines. Everything updates as you type.

Worked example

“Happy Diwali! 🫚” shows 16 characters, though you see 15 symbols on screen. The diya emoji is stored as two code units, and this counter, like most counters built with JavaScript, counts each one.

Limits and common mistakes

Frequently Asked Questions

Why can an emoji count as more than one character?
This counter uses JavaScript string length, which counts UTF-16 code units. Some emoji use two units, and joined emoji can use several. The displayed number can therefore exceed the number of symbols you see.
What does the without-spaces figure exclude?
It removes whitespace, including spaces and line breaks, before counting. The main character figure keeps them. Use the figure that matches the instructions for the form or assignment you are preparing.
Will this match the limit in every app or form?
Different services can count code units, visible characters or encoded bytes. Use this page for a draft, then check the destination's own counter, especially for Hindi text, combining marks, emoji and links.