Counting characters sounds trivial — until you hit a Twitter limit mid-thought, a meta description that's too long for Google, or an SMS that silently splits into two paid messages. This guide covers every platform limit, counting method, and edge case you need to know.
A single extra character can truncate your headline in Google search results, split your SMS into two billable messages, or get your tweet rejected mid-post. Here are the most common real-world situations where character counts are critical:
There are three main ways to get a character count, each suited to different situations.
Paste your text into a tool like ToolLoom's Character Counter and you instantly see characters (with and without spaces), word count, sentence count, and line count — all updated in real time as you type or edit.
In Microsoft Word, go to Review → Word Count. In Google Docs, go to Tools → Word Count (Ctrl+Shift+C). Both show characters with and without spaces, but neither gives you a real-time live count as you type in smaller snippets.
For a short string (under ~30 characters), count each character one by one, including spaces, punctuation, and symbols. This is error-prone for anything longer — a single miscounted space throws off the total.
In Excel or Google Sheets, =LEN(A1) counts all characters in a cell, including spaces. =LEN(TRIM(A1)) removes leading/trailing spaces first. =LEN(A1)-LEN(SUBSTITUTE(A1," ","")) counts just the spaces in a string.
Real-time is best: Platform limits apply the moment you submit or publish. An online counter that updates live as you type is the safest option — you see your count change with every keystroke and can trim before hitting a wall.
Search engines do not use a strict character limit — they use a pixel width limit. But character counts are a reliable proxy since most characters are similar widths in Google's display font.
Google typically displays up to about 600 pixels of title width, which corresponds to roughly 50–60 characters for a typical mix of uppercase and lowercase letters. Titles longer than this get truncated with an ellipsis in search results.
Google shows approximately 155–160 characters of meta description on desktop and around 120 characters on mobile. Going longer doesn't harm rankings, but the extra text won't be displayed.
| SEO Element | Recommended Characters | Hard Limit? |
|---|---|---|
| Page title tag | 50–60 characters | No — pixel-based truncation |
| Meta description | 155–160 characters | No — pixel-based truncation |
| URL slug | Under 75 characters | No — but shorter is better for readability |
| H1 heading | 20–70 characters | No — best practice only |
| Alt text | Under 125 characters | No — screen reader best practice |
| Open Graph title | Under 60 characters | No — social card display limit |
Pro tip: Write your title tag and meta description in a character counter tool first, keeping a live eye on the count. Aim to hit the upper end of the range without going over — a full, rich snippet attracts more clicks than a short one.
SMS is where character counting has a direct financial consequence — going one character over a segment boundary doubles (or triples) the cost of your message without any warning.
Standard SMS uses the GSM-7 alphabet, which covers basic Latin characters, digits, punctuation, and a small set of symbols. If your message includes any character outside this set — emoji, accented letters like ñ or ü, Arabic, Chinese, or any non-Latin script — the entire message switches to Unicode (UCS-2), which has a smaller per-segment capacity.
| Encoding | Single SMS | Multipart SMS (per segment) |
|---|---|---|
| GSM-7 (standard Latin) | 160 characters | 153 characters per segment |
| Unicode / UCS-2 (emoji, non-Latin) | 70 characters | 67 characters per segment |
Notice that multipart segments are smaller than single-segment messages — this is because the carrier uses some characters for a header that joins the parts together when they arrive at the recipient's phone.
A few characters in the GSM-7 extended table count as 2 characters each, not 1. These include: [ ] { } \ ^ ~ | €. A message containing only these special characters can have fewer characters than expected before it hits the segment boundary.
Emoji will switch your entire SMS to Unicode. A single emoji in a 159-character message doesn't just add a character — it changes the encoding of the whole message, dropping your single-segment capacity from 160 to 70, and instantly turning one message into three billed segments.
This is one of the most common questions — and the answer depends on which count you look at.
Every character in the text is counted, including every space, tab, and newline. This is the number most platforms use for their limits — Twitter, Instagram, SMS, and meta descriptions all count spaces as characters.
Only non-space characters are counted. This is useful for measuring content density — for example, academic word count policies sometimes specify characters without spaces (known as "characters net" in European academic contexts).
Always check the platform's documentation. When in doubt, "characters with spaces" is the safer, more common default. Most online character counters display both figures side by side so you can use whichever applies.
For platform limits, always use the "with spaces" count. A tweet with 280 non-space characters would actually be far longer than allowed — spaces between words are very much included in Twitter's limit.
A "500-word limit" and a "500-character limit" are completely different. A 500-word paragraph typically runs 2,500–3,000 characters. Confusing the two can mean submitting content that is five times too long or too short.
A single emoji can be 2, 4, or even more bytes/characters depending on the encoding layer. In SMS (Unicode mode), an emoji counts as 2 characters. In some database systems, an emoji stored in UTF-8 uses 4 bytes — which matters if your VARCHAR column has a byte limit rather than a character limit.
Instagram and LinkedIn show far fewer characters before collapsing the text, even though the hard limit is much higher. If your key message appears after the truncation point, most people will never see it.
Twitter has no word limit — only a character limit. A single long word and 15 short words can have identical character counts. Relying on word count to estimate whether a tweet fits will frequently mislead you.
Invisible whitespace at the end of a text block still counts toward the character limit. A text that "looks" like 158 characters may actually be 162 because of trailing spaces or a newline character — enough to push an SMS into a second segment.
Social Media Character Limits by Platform
Every major social platform has its own limits — and some count characters differently (for example, Twitter counts every URL as exactly 23 characters regardless of the actual URL length).
Platform limits change. Twitter raised its limit from 140 to 280 characters in 2017. Always verify the current limit in each platform's official documentation before building tools or workflows that depend on exact counts.