Character Counter
Count characters with live limits for tweets, meta tags and SMS.
Updated · Examples checked by automated tests
0
Characters
0
Visible
0
No spaces
0
Trimmed
Against common limits
Before Google truncates it in results
Typical snippet length
Standard microblog limit
GSM-7 encoding; 70 with any emoji
About Character Counter
Character limits are strict in the places they matter most - a truncated meta description costs you clicks, and an SMS that spills into a second segment costs you money.
This counter shows the exact length of your text against the limits that people actually run into, and distinguishes between code units and visible characters so emoji and accented text do not surprise you.
How Character Counter works in your browser
JavaScript counts string length in UTF-16 code units, so many emoji count as two or more. The counter shows both that figure and the number of visible characters, plus a trimmed count that ignores leading and trailing whitespace.
Live limits track the lengths people actually run into: SMS segments, a 60-character page title, a 160-character meta description and a 280-character social post.
When to use it
- Fitting a meta description or page title before publishing.
- Keeping an SMS within a single segment.
- Checking whether emoji will push a post over a platform limit.
Worked examples
Check a database column limit
Settings: Default
Input
Café ☕ menuExpected output
Length: 11
Visible characters: 11
Without spaces: 9Every character here is a single UTF-16 code unit, so the raw length and the visible count agree.
See why an emoji breaks a length limit
Settings: Default
Input
Go 🇮🇳Expected output
Length: 7
Visible characters: 4
Without spaces: 6A flag is two regional-indicator symbols, each stored as two UTF-16 units. A field limited by JavaScript length or many database VARCHAR rules counts 7, while a reader sees 4.
Limits and checks before you use the result
- Length is counted in UTF-16 code units, which is what JavaScript, many APIs and form maxlength use. Byte limits in UTF-8 can be larger again.
- The platform limits shown (page title, meta description, social post, SMS) are common guidelines, not guarantees; search engines truncate by pixel width.
- SMS segments assume the GSM 7-bit alphabet; a single emoji switches a message to UCS-2 and shortens each segment.
Frequently asked questions
Why do emoji count as more than one character?
A JavaScript string counts UTF-16 code units. Many emoji use two, and some use several joined together, so both the code-unit count and the visible grapheme count are shown.
Which limits are tracked?
Common ones: SMS segments, a 160 character meta description, a 60 character page title, and a 280 character social post.
Does it count trailing whitespace?
Yes, all characters are counted exactly. A separate trimmed count is shown alongside.
Related tools
Reading Time Calculator
Estimate how long an article takes to read or speak aloud.
Remove Duplicate Lines
Delete repeated lines from a list, with optional case-insensitive matching.
Sort Lines
Sort text alphabetically, numerically, by length or at random.
Reverse Text
Reverse text by character, by word or by line.
Case Converter
Convert text between upper, lower, title, camel, snake and kebab case.
Slug Generator
Turn any title into a clean, URL-safe slug.