SMS counter and Unicode to GSM-7 converter

Count SMS characters and segments (GSM-7 or UCS-2), see which characters push you to Unicode, and convert smart quotes, dashes and accents to GSM-7.

loading SMS counter and Unicode to GSM-7 converter
About this tool

How SMS length really works

An SMS is not "160 characters". It is 140 bytes, and how many characters fit depends on the alphabet. If every character of your message belongs to the GSM 03.38 default alphabet (the basic Latin letters, digits, common punctuation, and a handful of accented and Greek letters), the message is packed as 7-bit units called septets: 160 fit in one message. If even one character falls outside that alphabet, the whole message switches to UCS-2, a 16-bit encoding, and the limit drops to 70 characters. That single curly quote, long dash or accented letter can multiply your bill.

Longer texts are split into concatenated parts, and each part carries a 7-byte header, so the capacity per part shrinks: 153 septets in GSM-7 and 67 characters in UCS-2. A few GSM-7 characters live in an extension table and count as two septets: the euro sign, square and curly brackets, backslash, caret, tilde and the vertical bar. In UCS-2, characters beyond the basic plane, such as most emoji, take two 16-bit units.

This counter shows the encoding that will be used, how many characters and septets (or units) the message has, how many messages it will be sent as, and how many characters are left in the current one. It points out every character that forces Unicode, shows each part of a split message, and builds a GSM-7 version of your text that replaces smart quotes, dashes, ellipses and accented letters with plain equivalents. It runs in your browser and the message is never sent anywhere. One limit to know: national shift tables (the optional language-specific extensions some operators support) are not used, only the default alphabet and the standard extension table.

How to use the counter

  1. Type or paste your message in the left box. A sample is loaded to start.
  2. Read the counter: encoding (GSM-7 or UCS-2), characters, septets or units, number of messages and characters left in the last one.
  3. If a warning says some characters force Unicode, look at which ones. Usually they are curly quotes copied from a word processor, a long dash, an ellipsis character, an accent that GSM does not include, or an emoji.
  4. Read the "GSM-7 version" on the right. Smart quotes become straight quotes, long dashes become hyphens, … becomes three dots, and letters with a diacritic fall back to the plain letter. A note tells you how many messages you save.
  5. For characters with no GSM-7 equivalent (Chinese, for example) choose to keep them, remove them or replace them with "?". Keeping them leaves the message in UCS-2.
  6. Copy the converted text and send that.

Examples

A short message that is fine

Hello is 5 characters, GSM-7, 1 message, 155 characters left.

Portuguese that falls into Unicode

Olá, tudo bem? looks like 14 harmless characters, but the á is not in the GSM-7 alphabet (only à is). The encoding becomes UCS-2, and the limit for one message is 70. Converted, it becomes Ola, tudo bem? in GSM-7: still one message, but with 160 characters of room. A long text with several accents saves much more.

Smart quotes and dashes

Before:  Olá “você” — ok… 你好 ç
After:   Ola "voce" - ok... 你好 c

The accented letters, curly quotes, long dash, ellipsis and lowercase ç were all replaced. The Chinese characters have no equivalent, so with "Keep" they stay (and the text remains UCS-2); with "Remove" they disappear; with "Use ?" you get ??.

Extension characters cost double

Price: 5€ [sale] has 16 characters but 19 septets, because € and both brackets count as two.

Splitting

A message of 161 plain letters needs 2 messages: 153 in the first and 8 in the second. Seventy-one letters followed by a ç make 72 UCS-2 characters, so 2 messages of 67 and 5. A long promotional text that used curly quotes and an ellipsis went from 3 messages to 2 after conversion.

Common mistakes

  • Pasting from a word processor. Smart quotes, long dashes and the single ellipsis character look normal and silently push the message to UCS-2.
  • Counting characters instead of septets. The euro sign and brackets count double in GSM-7, so 160 characters with a € will not fit one message.
  • Forgetting the header on long messages. The limit for a message in several parts is 153 (or 67), not 160 (or 70). Two parts do not hold 320 characters.
  • Assuming all accents are allowed. GSM-7 has é, è, ù, ì, ò, à, ñ, ü, ö and ä, among others, but not á, ê, í, ó, ú, ã, õ or ç in lowercase. Brazilian Portuguese often triggers Unicode for that reason.
  • Using emoji and expecting a count of characters. An emoji forces UCS-2 and uses two units.
  • Expecting a real carrier count. Operators and gateways may behave differently, particularly with national shift tables. Treat the result as the standard calculation, and test with your provider for critical campaigns.

Frequently asked questions

Is it 160 or 70 characters?

160 if everything is in the GSM-7 alphabet, 70 if any character is not. When a message is split, the parts hold 153 and 67.

Does it change what I typed?

Only the right-hand "GSM-7 version" is changed, and only when you copy it. Your original text stays as it is, so you can compare the two.

Why does the tool say I save messages?

Because the converted text uses the cheaper encoding. The comparison counts messages before and after.

Are my messages stored or sent?

No. Counting and conversion happen in your browser, and the text is not placed in the address or saved.

How do I check other text issues before sending?

The word counter gives words and reading time, and the Unicode inspector shows the code point of each suspicious character.

Report a problem