Character Counter
Characters with and without spaces, the real UTF-8 byte size, and whether the text still fits a title tag, a post or a single SMS.
Your text
Characters
0
Without spaces
0
Letters
0
Digits
0
Whitespace
0
Spaces, tabs and newlines
Punctuation
0
Other
0
Emoji, symbols and anything else
Lines
0
Fits within
Size on the wire
UTF-8 bytes
0
What a database column or header counts
UTF-16 units
0
What JavaScript's .length returns
Plain ASCII is one byte per character. Accented letters take two, most CJK characters three, and emoji four — which is how a 100-character message can become 400 bytes.
As a text message
Segments
0
160 units each
Encoding
GSM-7
0 units used
Every character is in the GSM alphabet, so you get the full 160 units per message.
Per line
Add some text to see the length of each line.
Characters are counted by code point, so an emoji counts as one character even though it occupies two UTF-16 units and four bytes. Byte size matters for database columns and HTTP headers; SMS billing is measured in 7-bit units instead, which is why a single curly quote can halve the length of a message.