All text tools

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

0 words · 0 characters

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

SEO title tag0 / 60 (60 left)
Meta description0 / 160 (160 left)
Single SMS (GSM-7)0 / 160 (160 left)
X / Twitter post0 / 280 (280 left)
Instagram caption0 / 2,200 (2,200 left)
LinkedIn post0 / 3,000 (3,000 left)
YouTube description0 / 5,000 (5,000 left)
Custom limit0 / 280 (280 left)

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.