About the Character Counter
This Character Counter shows the total length of your text including spaces, the length with all whitespace removed, and the number of whitespace characters on their own. Limit bars show at a glance whether the text fits an SEO title, meta description, SMS, X post, Instagram caption or LinkedIn post.
How it works
The With Spaces figure is the length of the text exactly as entered, so letters, digits, punctuation, spaces, tabs, and line breaks each add one. No Spaces is the same text with every whitespace character removed, and Spaces Only is the number of whitespace characters that were removed, so the two always add up to the total.
Counts are based on JavaScript string length, which measures UTF-16 code units. Ordinary letters in English and most European languages count as one, but many emoji and some rare symbols are stored as two units and will add two to the count.
How to use
- 1
Type or paste your text into the box.
- 2
Read With Spaces for the full length, or No Spaces if your limit ignores whitespace.
- 3
Check the Character limits bars to see which limits your text fits.
- 4
Trim or rewrite in place until the bar you care about is no longer red.
Worked examples
Promotional line
Checking a short SMS promotion.
Multi-line text
A two-line address.
The line break counts as whitespace, along with the two spaces.
Frequently asked questions
Why does it show three different counts?+
Some limits include spaces and some do not. With Spaces covers the first case, No Spaces the second, and Spaces Only tells you how much whitespace is in the text.
Does punctuation count as a character?+
Yes. Every punctuation mark, letter, digit, and symbol counts as one character, and so does each space.
Do line breaks count?+
Yes. A line break is whitespace, so it is included in With Spaces and Spaces Only, and excluded from No Spaces.
Why does an emoji add 2 to the count?+
Many emoji are stored as two UTF-16 code units, and the counter reports string length in those units. Some platforms count an emoji as one character, others as two.