Guide
How to Count Characters (With and Without Spaces)
Understand the difference between character counts with and without spaces, and where exact character limits matter online.
A character counter measures the exact length of a string. The two numbers that matter most are characters with spaces and characters without spaces, because different platforms count differently.
With spaces vs. without spaces
The "with spaces" count includes every character — letters, digits, punctuation, and whitespace. The "without spaces" count excludes spaces, tabs, and newlines. A 160-character SMS limit counts spaces; some database fields and display counters do not. Knowing which one a platform uses prevents nasty surprises.
Where character limits matter
- SMS: 160 characters per segment (with spaces).
- Twitter/X: 280 characters per post.
- SEO meta description: ~155–160 characters before Google truncates.
- SEO title tag: ~60 characters before truncation.
- URL slugs and alt text: keep concise for usability.
How to use a character counter
- Paste your text and watch the live count as you edit.
- Identify which count the platform uses (with or without spaces).
- Trim filler words, redundant adjectives, or extra whitespace to fit.
- Re-check after editing — small cuts add up fast.
Examples
The meta description "Free online tools for words, math, converters and developers — no sign-up required." is 82 characters with spaces, comfortably under the 155–160 truncation point. Adding a call-to-action such as "Try them now." brings it to 99 characters, still safe.
When a character counter is useful
- Writing social posts, ad copy, and SMS within hard caps.
- Crafting SEO titles and meta descriptions that won't be truncated.
- Checking the exact length of a password or token.
- Measuring strings for form fields with maxlength attributes.
Put it into practice
Use the Character Counter right now — free, in your browser, no sign-up required.
Try the Character CounterMore guides
- How to Unscramble Letters Into Words
- How to Find Anagrams of Any Word
- How to Count Words, Characters and Reading Time Accurately
- How to Find Words by Pattern, Length and Letters
- How to Use a Random Word Generator for Games, Writing and Brainstorming
- How to Convert Text Between Cases (UPPER, lower, Title, camelCase and More)
- How to Clean Up Messy Text (Spaces, Line Breaks and Whitespace)
- How to Remove Duplicate Lines From a List
Related free tools
More free online utilities that pair well with this one — same-category tools for the same task, plus handy extras from other categories.