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
- Emoji and some symbols count as 2. In Hindi and other Indian scripts each vowel sign and halant counts separately, so नमस्ते shows 6.
- Platforms measure differently. X (formerly Twitter) allows 280 characters but counts emoji and some scripts as more than one, so leave some room.
- For SMS, a message in plain English letters fits 160 characters per part, but a message containing Hindi text or any emoji switches to Unicode and fits only 70 per part.
- Google usually trims meta descriptions somewhere around 150–160 characters on desktop, measured in pixels rather than characters, so treat that as a guide, not a hard limit.
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.