OnlineTextLab
Esc

Character Counter

Counts characters the way people see them, then shows live what fits on each social platform and how many SMS segments you are paying for.

0

characters, as you see them

Without spaces

0

Words

0

Emoji

0

UTF-8 bytes

0

Code points

0

UTF-16 units

0

Ctrl or Cmd + Enter copies the report.

SMS

0 segments

Nothing typed yet.

YouTube title

0 / 100

100 left. Emoji take 2 here to stay on the safe side.

X post

0 / 280

280 left. Emoji and CJK count 2, every link 23.

Bluesky post

0 / 300

300 left. Counts characters as you see them.

Threads post

0 / 500

500 left. Emoji take 2 here to stay on the safe side.

Mastodon post

0 / 500

500 left. Default limit, servers can differ. Links count 23.

Instagram caption

0 / 2,200

2,200 left. Emoji take 2 here to stay on the safe side.

LinkedIn post

0 / 3,000

3,000 left. Emoji take 2 here to stay on the safe side.

YouTube description

0 / 5,000

5,000 left. Measured in UTF-8 bytes, per YouTube's API.

Enter a number for a form field or ad headline.

Runs on your device. Your files and text are not uploaded.

About Character Counter

A limit in characters sounds simple until an emoji arrives. The family emoji is one symbol on screen, seven Unicode code points, eleven UTF-16 units and 25 bytes, and different systems count a different one of those. This counter shows all four, and leads with the number that matches what you see.

Below that, a meter for each platform shows your text against its limit, measured the way that platform measures. An X post charges 2 for an emoji and 23 for any link, a Bluesky post counts visible characters, and a YouTube description is measured in bytes. Each meter turns amber as you near the limit and red when you pass it, with the exact number over.

For text messages, you get the segment count and the encoding. One curly apostrophe pasted from a word processor can drop a message from 160 characters per segment to 70, so the tool names the exact characters responsible, and you can replace them.

How it works

The main figure comes from the browser's grapheme segmenter (Intl.Segmenter), which follows the Unicode rules for what a reader perceives as one character. A flag, a skin-toned thumbs up and é written as e plus a combining accent each count once. Code points, UTF-16 units and UTF-8 bytes are measured separately and shown alongside it.

The X meter follows X's published rules and its open source twitter-text configuration. Text is normalized to NFC, Latin script and common punctuation weigh 1, CJK and most other characters weigh 2, any emoji sequence weighs 2, and each link weighs 23. The Mastodon meter charges 23 for each link and ignores the domain part of a remote mention, as Mastodon documents. YouTube's API documents descriptions in bytes, so that meter uses UTF-8 bytes. Where a platform states a limit without saying how emoji count (Threads, Instagram, LinkedIn and the YouTube title), the meter uses UTF-16 units, the unit an HTML maxlength uses. That charges an emoji at least 2, so you err on the safe side.

SMS works from the GSM 03.38 character set. If every character is in it, the message is GSM-7: 160 per segment, or 153 per segment once it is split, with characters such as € and { costing two. A single character outside the set moves the whole message to UCS-2, with 70 and 67. The segment count also respects the rule that a two-unit character cannot straddle a segment boundary, which is why it can differ from a plain division.

How to use Character Counter

  1. Type or paste your post into the Your text box. Try an example loads a post with emoji and a link.
  2. Read the main figure and the breakdown beside it.
  3. Scroll to the meters. Each one shows the number used, the limit, and how many are left or over.
  4. Check the SMS card for the segment count. If it lists characters that cut the segment size, replace them in your text.
  5. Enter a number in Your own limit to add a meter for a form field or an ad headline.
  6. Press Copy report for the clipboard, or Download report for a text file with all the figures.

A post with an emoji and a long link

Input
Sale ends Friday 🎉 Book at https://example.com/spring-sale-2026
Output
Characters: 63
X post: 51 of 280
SMS: UCS-2, 64 units, 1 segment, 6 left
UTF-16 units: 64
UTF-8 bytes: 66

X charges the 36-character link as 23 and the emoji as 2, so the post weighs 51 even though you can see 63 characters. The party emoji alone forces the SMS into UCS-2, leaving only 6 units in the segment.

When it helps

  • Fitting a launch announcement on X with a tracking link, without guessing what the link costs.
  • Reposting one message across Bluesky, Threads and LinkedIn, and seeing which version needs trimming.
  • Writing appointment reminders where each extra SMS segment is billed, and keeping them to one.
  • Checking a YouTube description that uses accented or non-Latin text, where bytes run out sooner than characters.
  • Testing text against a database column or form field with its own limit.

Tips for a better result

  • Replace curly quotes and long dashes with straight ones in text messages. They are the most common reason a message silently switches to UCS-2.
  • Mind the first line on long platforms. Instagram and LinkedIn cut the visible post short well before the limit, behind a more link.
  • Leave a little room when you are within a few characters on Threads, Instagram or LinkedIn, because those meters are cautious estimates and not the platform's own count.
  • Expect a lower count on Bluesky when your post has a long link. The meter here counts the link at full length, and the Bluesky app can shorten it as you compose.

Good to know

  • Limits are the published figures as checked on 3 November 2026, and platforms change them. Paid tiers can raise some, such as longer posts on X, and these meters show the standard limit.
  • Link detection on the X meter is an approximation. It catches http links and bare domains on common endings, and an unusual domain ending will be counted as plain text.
  • Mastodon servers can set their own limit. The 500 shown is the default.
  • Text of a megabyte or more containing emoji or non-Latin scripts takes a moment to measure, so the figures update just after you stop typing, not on each key.
  • SMS figures assume standard concatenation. Twilio documents exceptions, including 152 and 66 per segment for some toll-free routes, and some carriers substitute characters, so treat the result as the expected count and not a billing guarantee.

Questions people ask

Why does an emoji sometimes count as 2 characters?

Most emoji sit outside the range one UTF-16 unit can hold, so systems that count in UTF-16 see two. X sets 2 as a deliberate rule for every emoji, including long family sequences. Bluesky counts what you see, so the same emoji takes 1 there.

What is the limit of a single text message?

160 characters in GSM-7 and 70 in UCS-2. A longer message is split, and each segment gives up a little room to a header that lets the phone reassemble it, which leaves 153 and 67.

Why did my SMS suddenly become 70 characters per segment?

Something in it is outside the GSM-7 set, usually a curly quote, a long dash or an emoji. The SMS card lists the exact characters, so you can swap them and get back to 160.

Do spaces and line breaks count?

Yes, on every platform shown here, and each line break counts as one character in the main figure. The Without spaces card gives you the other number when a brief asks for it.

What to use next

  • Word Counter: when the brief gives a limit in words and not characters.
  • Find and Replace: to swap every curly quote for a straight one before you send an SMS.
  • Text Splitter: to break a long post into parts that each fit a limit.

Learn more

Last reviewed . Read our editorial policy.