Character Counter Calculator

Count characters and words as you type, and see exactly how much room is left for an X (Twitter) post or a single SMS message.

Character counter

0Characters (with spaces)
0Characters (no spaces)
0Words
X (Twitter) post — 280 characters280 left
SMS message segment — 160 characters160 left

How the counts are calculated

Characters are counted both including and excluding spaces. Words are counted as whitespace-separated chunks of text, the same method used by most word processors. Everything runs locally in your browser as you type — nothing is uploaded or stored.

Why these two character limits?

A standard post on X (formerly Twitter) is limited to 280 characters, as documented in X's own developer guidance on counting characters; some characters (emoji, CJK text, or links) count as more than one character toward that limit, so this tool's plain character count is a close estimate for ordinary text rather than an exact match for every case. A single SMS text message is limited to 160 characters under the GSM-7 encoding used by most carriers — the technical SMS standard (3GPP TS 23.038) packs a 140-octet message body into 160 characters at 7 bits each; messages that use accented letters or emoji may switch to Unicode encoding, which lowers the single-segment limit to 70 characters. Longer messages are not blocked — they are simply split into multiple segments, usually billed separately.

Frequently asked questions

Does this tool count emoji and links the same way X does?

Not exactly. X counts most emoji and non-Latin characters (like Chinese, Japanese, or Korean text) as 2 characters, and every link as 23 characters regardless of its real length. This counter gives you a plain character count, which is accurate for ordinary Latin text but can undercount compared to X's own counter if your text has emoji, links, or CJK characters.

Why does my SMS limit show 160 when I typed emoji or accents?

The 160-character limit applies to GSM-7 encoding, which covers standard Latin letters, digits, and common punctuation. Once a message contains a character outside that set — an emoji, many accented letters, or non-Latin scripts — carriers switch the whole message to Unicode encoding, which lowers the single-segment limit to 70 characters. This tool shows the GSM-7 figure as a general-purpose estimate.

Does this tool store or upload my text?

No. All counting happens directly in your browser using JavaScript. Your text is never sent to a server, logged, or stored.

What if I need the exact word count or reading time too?

Use the word counter linked below — it adds sentence and paragraph counts, reading and speaking time estimates, and an approximate AI token count on top of the character counts shown here.

Related tools