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
| Where | Limit |
|---|---|
| X (Twitter) post, standard account | 280 characters |
| SEO title tag (approx. before truncation) | 50–60 characters |
| Meta description (approx.) | 150–160 characters |
| SMS, GSM-7 alphabet | 160 characters per segment |
| SMS with emoji / Unicode (UCS-2) | 70 characters per segment |
| Instagram caption | 2,200 characters |
| Instagram bio | 150 characters |
| YouTube video title | 100 characters |
| LinkedIn headline | 220 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.