Characters and bytes answer different questions
ASCII characters occupy one UTF-8 byte, while many other code points require two to four. Database, SMS, and protocol limits may be expressed in bytes rather than displayed characters.
Count characters with and without spaces, words, sentences, and lines with real-time social media limit indicators.
Use this page when a field has a character limit or when bytes and visible characters need to be distinguished. The main count iterates Unicode code points, so many emoji and non-ASCII characters are treated more naturally than a raw JavaScript string length. A separate UTF-8 byte count shows the storage or transmission size.
A concrete input and expected output from the current implementation.
Input
b2KIT tools
Expected output
11 characters, 10 without whitespace, 2 words, 11 UTF-8 bytes
The single space contributes to the character and byte totals but is removed from the no-whitespace count.
ASCII characters occupy one UTF-8 byte, while many other code points require two to four. Database, SMS, and protocol limits may be expressed in bytes rather than displayed characters.
Choose a common draft size or enter a custom limit. The remaining count and progress bar update without changing or truncating the original text.
Skin-tone modifiers, flags, and joined emoji can contain multiple code points. This tool counts code points; a grapheme-aware product may count the visible cluster as one.
No. It only reports the amount over the selected limit, leaving editorial decisions and the original text in your control.
The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.
Count words, characters, sentences, and paragraphs in any text instantly.
Convert text between uppercase, lowercase, title case, sentence case, and more.
Paste text and hear it read aloud using Web Speech API. Adjust voice, speed, and pitch in real time.
Compare two blocks of text side-by-side and highlight differences instantly.
Paste text and instantly remove duplicate lines while preserving order.
Strip extra whitespace, fix line breaks, and normalize text for clean output.