By · Updated

Character Counter

Pixel Widths for Page Titles and Meta Descriptions, Plus X, Instagram and LinkedIn Limits

No ratings yet

OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.

How the Character Counter works

This character counter shows characters, words and limits together. Type or paste your text and see it measured against the limits that cost you something when you cross them — SMS segments you pay for, a meta description Google truncates, and the post limits on X, Instagram and LinkedIn. Everything runs in your browser, so nothing is uploaded.

Character counter: the number only matters next to a limit

A character count is only useful next to a limit, and the limits do not all count the same way. The single number at the top of this page is characters as a person would count them, spaces included. What each platform below it does with that number is where it gets interesting.

SMS character counter: messages are billed in segments, not characters

A text message carries 160 characters — but only if every character is in the GSM 03.38 alphabet, which is roughly the Latin letters, digits, common punctuation and a short list of European accented characters. A handful of symbols — ^ { } \ [ ~ ] | and the euro sign — are in the extension table and cost two characters each rather than one. The moment you use anything outside that set, including a curly apostrophe pasted from Word, an em dash, or a single emoji, the whole message switches to UCS-2 encoding and the limit drops from 160 to 70. Not the offending character — the whole message. This is the single most expensive mistake in bulk SMS, and it is almost always a smart quote that a word processor inserted without asking.

Longer messages are split and reassembled by the handset. Splitting costs header space, so concatenated parts hold 153 characters each on GSM-7 and 67 on UCS-2, not the full 160 or 70. A 161-character message is therefore billed as two segments carrying 153 and 8. The counter above shows the encoding it detected, the number of segments, and how much room is left in the current one.

Title tag and meta description length checker: SERP pixel width, not characters

Google shows roughly 580 pixels of a title and 920 pixels of a description on desktop, and a line of capitals or wide letters runs out sooner than a line of narrow ones. The counter measures your text in the same font family and size Google renders — 20px for the title, 14px for the description — and reports the width next to the character figure, so WWW and iii are told apart rather than both counting as three. The 60 and 155 character figures are the practical conventions; there is no hard limit, and nothing breaks if you exceed it. The text simply gets cut with an ellipsis, so put the point at the front.

How many characters in a tweet or an Instagram caption: code units, not glyphs

X allows 280 characters but weights most Latin text at 1 and CJK characters at 2, so a Japanese post runs out at about 140. Emoji count as a single character on X and as two on many other platforms, because a naive length check in JavaScript measures UTF-16 code units and most emoji occupy two of them. This counter measures whole characters, so an emoji counts once. Where a platform disagrees, it will report more than this page does, never fewer — so a draft that fits here is safe everywhere.

Character limits by platform

Platform Limit How it counts
SMS, single segment 160 GSM-7 or 70 UCS-2 Whole message switches encoding on one non-GSM character
SMS, concatenated 153 or 67 per part Header bytes eat the difference
Google title tag about 60 characters, 580 px Pixel width in 20px Arial; capitals run out sooner
Google meta description about 155 characters, 920 px Pixel width in 14px Arial
X (Twitter) post 280 Latin at 1, CJK at 2, emoji at 2, links at 23
Instagram caption 2,200 Whole characters; only the first 125 show before "more"
Instagram bio 150 Whole characters
LinkedIn post 3,000 Truncated at about 210 before "see more"
Facebook post 63,206 Truncated at about 480 before "see more"
YouTube title 100 About 70 show in search results

FAQ

Why did my SMS drop from 160 characters to 70?

Something in the message is outside the GSM 03.38 alphabet, which forces the entire message into UCS-2 encoding. The usual culprits are curly quotes and apostrophes pasted from a word processor, em dashes, and emoji. Replacing them with straight quotes and hyphens restores the 160-character limit immediately.

Do spaces count towards the limit?

Yes, on every platform listed here. Spaces, line breaks and tabs are all characters as far as SMS gateways, search engines and social networks are concerned. The without-spaces figure is included for the rare cases — some legacy form fields and academic counts — that genuinely exclude whitespace.

How long should a meta description actually be?

Aim for 120 to 155 characters. Google truncates by pixel width rather than character count, so there is no exact cut-off, and a description that runs long is shortened rather than rejected. Front-load the meaning so the sentence still sells the page after the ellipsis lands.

How is the pixel width measured?

The text is drawn off-screen in Arial at Google's rendered size — 20px for titles, 14px for descriptions — and its width read back. Google's own font fallbacks and spacing vary by device, so treat the figure as a close estimate rather than a promise, and leave a little headroom.

Does an emoji count as one character or two?

This counter treats each emoji as one character, because it measures whole characters rather than the UTF-16 code units JavaScript exposes by default. X agrees. Many SMS gateways and some form validators count two, and a flag or skin-tone emoji is made of several parts that can each be counted separately, so leave a little headroom near a hard limit.

How many characters in a tweet?

280, but X weights them: Latin letters, digits and punctuation count 1, Chinese, Japanese and Korean characters count 2, every emoji counts 2, and any URL counts 23 regardless of its length. A post full of CJK text or emoji runs out at about 140 visible characters.

What is the Instagram caption character limit?

2,200 characters including spaces, hashtags and line breaks, with a separate limit of 30 hashtags and 150 characters for the bio. Only the first two lines, roughly 125 characters, show in the feed before the "more" link, so the hook belongs in that opening.

See also: all Writing & Editing tools, Lists & Lines, Markdown & HTML, Ciphers & Alphabets.

Related tools