Character Counter — Why It Matters and When You Need One

A character counter tells you exactly how many characters are in a piece of text — including or excluding spaces, depending on the context. It sounds simple, but knowing your character count at a glance is one of those small things that saves a lot of friction when you are writing tweets, meta descriptions, SMS messages, database fields, or form copy with hard limits. Getting cut off mid-sentence because you ran over a platform's limit is both embarrassing and avoidable.

Count characters and words instantly with our free Character Counter tool. For checking the byte size of text — which differs from character count for Unicode text — use our Text Size Calculator. And for reformatting text to fit within limits, our Case Converter and Duplicate Lines Remover tools help clean up content quickly.

Platform Character Limits You Need to Know

Every major platform and content type has character limits that affect how your content is displayed, truncated, or rejected. Here are the most commonly referenced limits:

Social Media

X (formerly Twitter): 280 characters per post for standard accounts. URLs count as 23 characters regardless of actual length. Instagram captions: 2,200 characters total, but only the first 125 show before the "more" cutoff in feed view — write the hook in the first 125. LinkedIn posts: 3,000 characters. Article introductions: 700 characters shown before "see more." Facebook posts: 63,206 characters technically, but posts over 477 characters get truncated in feed with "see more." TikTok captions: 2,200 characters.

SEO and Search

Google title tag: 50 to 60 characters recommended. Beyond 60 characters, Google typically truncates with an ellipsis in search results. Google meta description: 150 to 160 characters. Longer descriptions are truncated. Shorter than 120 characters and you may be leaving valuable preview space unused. Google Ads headlines: 30 characters per headline. Descriptions: 90 characters each. Alt text: no hard limit but 125 characters is the practical recommendation for screen reader compatibility.

Messaging

SMS (standard): 160 characters per message segment using GSM-7 encoding. If your message contains any Unicode character (emoji, accented letters, non-Latin script), the limit drops to 70 characters per segment and multiple segments are concatenated — which can increase your costs significantly if you are sending bulk SMS. WhatsApp messages: 65,536 characters. Practically unlimited for most purposes.

Development and Databases

MySQL VARCHAR: up to 65,535 bytes. CHAR fields are fixed-length and waste space if text is shorter. PostgreSQL: TEXT type has no practical limit. VARCHAR(n) enforces a maximum. HTML meta tags: no technical limit but search engines have display limits as above. JSON string values: no limit specified in the JSON standard, but practical limits vary by parser and use case. For calculating actual byte sizes of text, especially when dealing with Unicode content stored in databases, use our Text Size Calculator tool.

Characters vs Words vs Bytes — Understanding the Difference

These three measurements are frequently confused. They measure different things and matter in different contexts.

Characters: the count of individual units in the text. Includes every letter, digit, space, punctuation mark, and symbol. The letter A is one character. The emoji face is one character. The space between words is one character — unless you are counting without spaces.

Words: groups of characters separated by spaces. Word count is typically used for content length guidelines (blog posts, articles, essays). Different tools define words slightly differently — some count numbers as words, some count hyphenated words as one, some as two.

Bytes: the storage size of the text. For plain ASCII text (English letters and standard punctuation), one character equals one byte. For Unicode text, characters can use 1 to 4 bytes depending on the character. A simple space is 1 byte. An emoji like the grinning face uses 4 bytes. A string of 100 Chinese characters uses 300 bytes in UTF-8, not 100. This is why database column sizes must account for multi-byte characters — a VARCHAR(100) stores 100 characters only for single-byte text.

Count characters, words, sentences and paragraphs in any text — free and instant

Try Character Counter Free →

Counting Characters Without a Tool

Microsoft Word and Google Docs

Word: Review → Word Count → shows characters with and without spaces separately. Google Docs: Tools → Word count → shows characters without spaces and characters including spaces. You can also highlight a specific section to count just that portion.

Excel

The LEN function counts characters in a cell: =LEN(A1). To count without spaces: =LEN(SUBSTITUTE(A1," ","")). To count specific characters: =LEN(A1)-LEN(SUBSTITUTE(A1,"a","")) counts occurrences of the letter a.

Programming

Python: len("hello world") returns 11. Note that len() counts Unicode code points, not bytes — len("cafe") returns 4, len("café") also returns 4. JavaScript: "hello world".length returns 11. But JavaScript's length property counts UTF-16 code units, which means emoji and certain rare characters count as 2 — "😀".length returns 2 in JavaScript despite being one character visually. These inconsistencies across languages and tools are why a reliable character counter tool that handles Unicode correctly is genuinely useful for non-trivial text.

Frequently Asked Questions

It depends on the context and tool. Most character counter tools show both counts — with spaces and without spaces — because different platforms use different conventions. Twitter counts spaces as characters. SEO character limits for titles and descriptions generally count spaces. SMS limits count spaces. When in doubt, use the with-spaces count, as that is the safer assumption for platform limits.
Google displays meta descriptions up to approximately 155 to 160 characters in desktop search results and slightly shorter on mobile. Descriptions longer than this are truncated with an ellipsis. The optimal length is 150 to 158 characters — long enough to be informative, short enough to avoid truncation. Write the most important information first in case it is cut. Google sometimes generates its own description from page content if the provided one is too short or not relevant to the query.
Use the LEN function: =LEN(A1) returns the character count of the text in cell A1, including spaces. To count without spaces, use =LEN(SUBSTITUTE(A1," ","")). To count characters in multiple cells combined, use =LEN(A1)+LEN(A2) or =SUMPRODUCT(LEN(A1:A10)) for a range. The LEN function counts every character including spaces, punctuation, and special characters.
SMS uses a 160-character limit per segment when sending in GSM-7 encoding (standard Latin characters). If your message contains any Unicode character — including emoji, accented letters like é or ñ, or any non-standard punctuation — the encoding switches to UCS-2, which reduces the limit to 70 characters per segment. Multiple segments are concatenated automatically for the recipient but each segment is charged separately by most SMS providers. Remove emoji and special characters from bulk SMS to keep messages within the 160-character single-segment limit.
Scroll to Top
Checker Tools