What counts as a character?
Every letter, digit, space, punctuation mark and symbol is a character, and so is each line break. txtstat counts characters the way you see them on screen. Unicode calls these grapheme clusters: é, ñ, 한 and 👍🏽 each count as one, even though some of them are stored as two or more code points.
Not every system counts that way. JavaScript and many databases count UTF-16 code units, in which most emoji take two; X counts many characters as two; and a text message changes its limit depending on which characters it contains. The Character breakdown card shows bytes and code units too, so you can check against whatever limit you are working with.
With or without spaces?
Websites and apps almost always count spaces: a 280-character post includes every space and line break. Counts without spaces turn up in some publishing, translation and academic settings, where they make texts in different layouts easier to compare. If a brief doesn’t say which one it means, assume spaces count.
Character limits cheat sheet
| Where | Limit | Good to know |
|---|---|---|
| X (Twitter) post | 280 | A link counts as 23; most emoji and Chinese, Japanese and Korean characters count as 2. Paid accounts can post more. |
| Bluesky post | 300 | |
| Threads post | 500 | |
| Mastodon post | 500 | The default; each server can set its own. |
| SMS text message | 160 or 70 | 160 with the standard GSM alphabet, 70 with Unicode. Longer messages are sent in parts of 153 or 67. |
| Page title (SEO) | About 50–60 | Google shortens titles by width in pixels, not by a fixed count. |
| Meta description | About 150–160 | Also shortened by width, and Google sometimes writes its own. |
| Instagram caption | 2,200 | |
| LinkedIn post | 3,000 | |
| YouTube | 100 / 5,000 | Title / description. |
| Google Ads search ad | 30 / 90 | Headline / description. |
Platforms change their limits from time to time, so if a post is right at the limit, check it in the app itself.
Why an SMS sometimes holds 70 characters, not 160
Text messages use a small alphabet called GSM-7 that covers basic Latin letters, digits, common punctuation and a few accented letters. As long as you stay within it, one message holds 160 characters. A few of its characters (€ [ ] { } ^ ~ | and \) take two places.
Add a single character outside that alphabet, such as an emoji, a Cyrillic letter or the curly apostrophe (’) that some keyboards insert, and the whole message switches to Unicode, which fits only 70 characters. Longer messages are split into parts of 153 characters (GSM-7) or 67 (Unicode), and you may pay for each part. The SMS line in the limits card shows the encoding and the number of parts.
Bytes, code units and database limits
Programs often limit size in bytes or code units rather than visible characters. In UTF-8, the most common encoding on the web, English letters take 1 byte, most accented letters 2, Chinese and Japanese characters 3 and emoji 4. So a field limited to 255 bytes may hold 255 English letters but only 85 Chinese characters. The breakdown shows both numbers, so you can test text before it hits a database, an API or a form.
Frequently asked questions
Do spaces count as characters?
Yes, in almost every limit you will meet. Each space, tab and line break counts as one character. txtstat shows the count without spaces as well.
Does an emoji count as one character?
Here, yes: txtstat counts characters as you see them, so 👍🏽 is one. On X most emoji count as 2, in UTF-16 (JavaScript and many databases) most take 2 code units, and in UTF-8 most take 4 bytes.
How many characters fit in a text message?
160 if every character is in the standard GSM alphabet, or 70 if the message contains an emoji or another character outside it. Longer messages are sent in parts of 153 or 67 characters.
How many characters can a post on X have?
280 for standard accounts. A link always counts as 23 characters, and most emoji and Chinese, Japanese and Korean characters count as 2. The limits card above applies these rules for you.
Why does Microsoft Word show a different number?
Word doesn’t count line breaks between paragraphs as characters, while txtstat does, as websites and text fields do. The breakdown shows how many line breaks your text has, so you can compare.
How long should a meta description be?
About 150 to 160 characters. Google cuts snippets by pixel width, so a description of mostly wide letters may be cut sooner. Put the most important words first.