Character counter

Paste your text: the character count (with and without spaces) updates as you type. Add a limit to see how many characters you have left.

0 characters
0without spaces
0letters
0digits
0words
0lines
0UTF-8 bytes
0UTF-16 units

How characters are counted

Every visible symbol, space, tab and line break counts as one character. The "without spaces" figure removes all whitespace. Emoji and other symbols outside the basic plane count as one character here, even though JavaScript's length (shown as UTF-16 units) counts many of them as two.

Bytes matter for databases and SMS: plain English letters take 1 byte in UTF-8, accented letters such as é take 2, and most emoji take 4.

Common character limits

WhereLimit
X (Twitter) post, standard account280 characters
SEO title tag (approx. before truncation)50–60 characters
Meta description (approx.)150–160 characters
SMS, GSM-7 alphabet160 characters per segment
SMS with emoji / Unicode (UCS-2)70 characters per segment
Instagram caption2,200 characters
Instagram bio150 characters
YouTube video title100 characters
LinkedIn headline220 characters

Platform limits change from time to time; check the platform's own help page for anything critical.

Example

"Hello, world!" has 13 characters with spaces and 12 without. It has 10 letters, 2 words and takes 13 bytes in UTF-8.

Frequently asked questions

Do spaces count as characters?
Yes. Most limits (X posts, SMS, form fields) count spaces. The tool shows both totals.
Why does an emoji count as 2 characters somewhere else?
Many systems count UTF-16 code units. Emoji outside the Basic Multilingual Plane use two units, and combined emoji (families, flags) can use more. The "UTF-16 units" stat shows that number.
Does a line break count?
Yes, each line break is one character (two on Windows files that use CR+LF).