Character limits at a glance
A standard post on X allows 280 characters, and a single text message holds 160 plain characters (or 70 once an emoji sneaks in). Search results work differently: Google sets no character limit for page titles and simply trims long ones to fit the screen, so the usual title and description lengths are rules of thumb. Some numbers are hard caps that cut you off; others are display guidelines where the extra text is simply hidden.
| Where | Limit | Hard cap or guideline |
|---|---|---|
| X (Twitter) post | 280 | Hard cap for standard accounts; each link counts as 23 |
| SMS, plain text (GSM-7) | 160 per message | Longer texts are split into parts |
| SMS with emoji or non-Latin script | 70 per message | One such character switches the whole text |
| Page title in search results | About 55–60 | Rule of thumb; Google trims long titles to fit the screen |
| Meta description | About 155–160 | Rule of thumb; search engines may shorten it or show other text |
Apps such as YouTube and Instagram set their own caps for video titles, captions and bios. Those can change, so check the app's own help pages when you're writing close to a limit.
How text message length really works
Plain texts use a 7-bit alphabet called GSM-7, which fits 160 characters into one message. It covers English letters, digits and common punctuation. A few symbols, including € [ ] { } ~ ^ \ and |, take two slots each. Add one emoji, an Urdu or Hindi word, or a character outside that set, and the phone switches the entire message to Unicode, where the limit drops to 70.
Longer messages are sent in parts and stitched back together, and each part loses a few characters to the stitching header: 153 per part for plain text, 67 for Unicode. Most emoji also take two of those Unicode slots.
Example: A 200-character appointment reminder
- Plain text: 200 ÷ 153 = 1.3, so 2 parts
- Same text plus one emoji: 202 slots ÷ 67 = 3.01, so 4 parts
One smiley turns a 2-part text into a 4-part text. Businesses that pay per part notice that quickly.
Curly quotes and apostrophes pasted from a word processor aren't in GSM-7. Depending on the phone, they're swapped for straight ones or they push the text into Unicode mode, so type straight quotes in bulk messages.
Characters with and without spaces
Both numbers are useful. Social platforms and text messages count every space. Some translation agencies, journals and application forms ask for characters without spaces, because spacing habits shouldn't change a price or a grade. “Hello world” is 11 characters with the space and 10 without.
Line breaks count as characters in the main total. That surprises people writing bios with a separate line for each fact: five lines means four extra characters.
Why different tools give different counts
Computers store some characters as several pieces. An accented letter can be one code or two (a plain e plus a combining accent). A flag emoji is two hidden letters, and a family emoji can be seven or more pieces glued together. This counter counts what you see, so each of those is one character. JavaScript's text length, by contrast, counts storage units, so a single thumbs-up emoji reports a length of 2.
| Text | Count here | Storage units in JavaScript |
|---|---|---|
| café | 4 | 4 or 5, depending on how é is stored |
| A flag emoji | 1 | 4 |
| A thumbs-up emoji | 1 | 2 |
| A family emoji (four people) | 1 | 11 |
Platforms also apply their own rules. X counts every emoji as 2 and every link as 23, no matter how long the link is. If a post is near a hard cap, check it in the app before you hit send.
Example: Room left in a post that shares a link
- Limit: 280 characters
- One link, counted as 23 however long it really is
- 280 − 23 = 257
You have 257 characters for your own words, minus 2 for each emoji you add.
Writing to fit a limit
Front-load the important words. Truncated titles and descriptions lose their endings, so the product, place or promise should come first. Then cut filler: “we also offer” and “every single day” rarely earn their space.
Example: Trimming a bakery's meta description
- Before (175 characters): “Our family bakery in downtown Toronto bakes fresh sourdough, cinnamon rolls and made-to-order birthday cakes every day, and we deliver across the whole city seven days a week.”
- After (137 characters): “Fresh sourdough, cinnamon rolls and made-to-order birthday cakes, baked daily in downtown Toronto. City-wide delivery, seven days a week.”
38 characters shorter, and the products now lead instead of “Our family bakery”.
Writing for a word limit as well? The Word Counter shows reading time and your most repeated words. And if your message is headed for a printed sign, an SMS QR code can pre-fill it for people instead.
Sources and further reading
- X Developer Platform: Counting characters (280 limit, links and emoji)docs.x.com
- 3GPP TS 23.038 (ETSI): SMS alphabets, 160 GSM-7 or 70 UCS-2 charactersetsi.org
- Google Search Central: How title links are chosen and truncateddevelopers.google.com
- MDN: String length, UTF-16 code units and grapheme clustersdeveloper.mozilla.org