UtilityNest
Text

Social Media Character Limits and How They Are Counted

By the UtilityNest team · · 5 min read

A post with 239 characters of text, a 68-character link and three emoji is 312 characters long by an ordinary count. X counts the same post as 270. Neither number is wrong. They are counted by different rules, and that gap explains most posts that "should have fit" and did not, or the other way round.

The limits come first, then how links, emoji, text messages and spaces are counted.

To check a draft as you type, paste it into our Character Counter. It counts the way X does for links and emoji, and shows how much room is left for each platform in this table.

Stacked bars for the same post: the ordinary count is 239 text + 1 + 68-character link + 1 + 3 emoji = 312, over X's 280 line; X's count is 239 + 1 + 23 for the link + 1 + 6 for the emoji = 270, under the limit.

Platform limits

Checked on 2026-10-21 against each platform's own help or developer pages, linked under Sources. Platforms change these numbers, so check again before a paid campaign or a print run depends on one.

WhereLimitNotes
X post280Weighted count: links, emoji and many scripts count differently (see below)
Instagram caption2,200Meta's API reference also caps hashtags at 30 and @ tags at 20
Instagram bio150
YouTube title100
YouTube description5,000
Pinterest Pin description800Pin titles: 100
Google Ads headline30Per headline, responsive search ads
Google Ads description90Per description
LinkedIn post3,000Not confirmed: LinkedIn's help pages could not be opened for this check
LinkedIn headline220Not confirmed, same reason

Our Character Counter shows a bar for each of these and turns it red with an "over" count when you pass the limit. One difference to know about: its Pinterest bar is set to 500, which is stricter than the 800 Pinterest currently lists.

Search results: guidelines, not limits

Page titles and meta descriptions are different. Google says there is no limit on how long a title element can be; the title link in results is truncated as needed, typically to fit the device's width. Meta descriptions work the same way, and Google often builds the snippet from the page's own text rather than from your description.

So the "about 60" and "about 160" figures you see everywhere, including in the counter's SEO section, are rules of thumb. Wide letters like W and M take more room than i and l. Put the important words first, so whatever gets cut is the least important part.

How X counts links

According to X's developer documentation, every URL in a post is wrapped in X's t.co short link and counts as 23 characters, whatever its real length. A long booking link with tracking parameters costs the same as a short one. The spaces around a link are ordinary characters and count 1 each, like letters; X's own example, "Hello, world! 👋", comes to 16: thirteen characters, one space and 2 for the emoji.

239 characters of ordinary text (letters, punctuation and the spaces between words), then a space, a 68-character link, a space, and three emoji.

  • Ordinary count: 239 + 1 + 68 + 1 + 3 = 312. Over the limit.
  • X's rules: 239 + 1 + 23 + 1 + (3 x 2) = 270. It fits, with 10 to spare.

When we pasted this text into the counter on 2026-10-21, it showed 312 characters and 270 on the X bar.

The counter's other bars use the link's actual length, so the same text shows 312 against the Instagram caption limit. If you post the same text in several places, the X number is the odd one out.

Why the X number is an estimate

The counter applies X's published weights with simplified rules, so treat its X figure as a close estimate rather than the number X will apply. In our tests:

  • It recognized links starting with http:// or https://, and bare domains only for a short list of endings such as .com, .org and .io. example.com/shop counted as 23, but shop.example.store/x counted as its 20 characters, although X may treat it as a link.
  • It counted a flag emoji as 4. X's documentation says every emoji counts as 2.
  • It does not apply X's other rules, such as leaving out @mentions that X adds automatically at the start of a reply.

If you are within a few characters of 280, check in X's own composer before you post.

Why emoji counts differ

Many emoji are built from several code points joined together. A thumbs-up with a skin tone is two, a family emoji can be five or more, and flags are two. People see one symbol; software may see several.

The counter's main Characters figure counts what you see, so a thumbs-up with a skin tone counts as 1. It also shows UTF-16 code units (what JavaScript's .length returns) and Bytes (UTF-8). Those matter for a database column or API field whose limit is defined in code units or bytes, where one emoji can take 4 bytes or more. X, for its part, counts every emoji as 2, however it is built.

X also weighs scripts: Latin letters, digits and common punctuation count 1, while Chinese, Japanese and Korean characters count 2. Ten Korean characters come to 20 on the X bar.

How text messages are counted

SMS has its own basic character set, the GSM 7-bit default alphabet defined by 3GPP. The counter's SMS messages tile shows the encoding and how many parts a message will be split into. Here is what it reported in our tests:

  • 160 plain letters: one message. One more letter: two parts, at 153 per part, because some space goes to the information that joins the parts back together.
  • 69 letters plus one curly apostrophe (’): the whole message switches to Unicode (UCS-2), which allows 70 per message and 67 per part.
  • A few GSM characters take two units: the euro sign, square and curly brackets, the backslash, the caret, the tilde and the vertical bar. 159 letters plus a euro sign came to 161 units and two parts.

If the tile says Unicode and you expected GSM, look for curly quotes, a long dash or an emoji, and replace them. Phones and carriers can differ on edge cases, so treat the part count as a guide.

Spaces and line breaks

Assume spaces and line breaks count unless a form says otherwise. Some application forms and school portals count without spaces, which is why the counter shows both totals side by side. For a field that is not in the list, type its limit into Custom limit to get one more bar; it uses the regular count, spaces included.

Text copied from a PDF or an email often carries hard line breaks in the middle of sentences. They count as characters and look broken in a post. Clean them out with Remove Line Breaks (choose Keep paragraphs) and count the cleaned version. The counter itself works in the browser; your draft is kept in your browser's local storage so it survives a reload, and in our test the page sent nothing to outside servers while we typed.

Sources

Know someone with the same problem?

More guides

All guides