7-day trialTry VoiceDeliver for $1 on Individual, Growth and Scale.Try VoiceDeliver for $1See pricing
Free tool

SMS character counter with segment count

Paste a text message to see its encoding, how many segments it takes, how many characters are left in the current one, and what a send to your whole list costs.

This page counts in your browser. Your message is not uploaded, sent or saved.

Result

90Characters (GSM-7 septets)
GSM-7Encoding
1Segments
70Left in this segment

A single message holds 160. Every character is in the GSM-7 set.

$10.00Cost per send to 1,000 contacts
$10.00Saved by removing one segment

The message is already a single segment.

How the count works

A text message is stored in one of two alphabets. The GSM 7-bit default alphabet covers the letters, digits and punctuation of most Western European text. Anything outside it, such as a curly quote, an emoji or a Cyrillic letter, moves the whole message to Unicode, which spends 16 bits on every character instead of 7. One stray character is enough to switch the entire message.

The tool reads your text, checks each character against the GSM alphabet and its extension table, picks the encoding, and then counts in that encoding's own units. In GSM-7 a unit is a septet. In Unicode a unit is a UTF-16 code unit.

EncodingOne messageEach segment when splitUnit counted
GSM-7160153Septet
Unicode7067UTF-16 code unit

A message that fits the first limit travels as one SMS. A longer one is cut into segments, and each segment gives up a few units to a header that lets the phone stitch the pieces back together. That header is why the per-segment figure is lower than the single-message figure.

Extension characters cost two

Ten characters are reachable only through an escape code: |, ^, {, }, [, ], \, ~, the euro sign and the form feed. They stay inside GSM-7, but each one spends two septets, one for the escape and one for the character. A message of 158 letters followed by a [ is exactly 160 units and still fits one segment. One more letter pushes it to two.

Emoji, joiners and UTF-16

Unicode messages are counted in UTF-16 code units. Characters in the Basic Multilingual Plane use one unit. Emoji live outside it and use two. Skin-tone emoji are two emoji stacked, so they use four. A family emoji is several emoji joined by invisible zero-width joiners, and every piece counts. The table under the counter lists each flagged character with its code point and the units it uses, so you can see where the length goes.

Letters with accents

The GSM alphabet includes a specific set of accented letters: e with grave or acute, u with grave, i with grave, o with grave, a with grave, the umlauted a, o and u, n with tilde, capital c with cedilla, the Scandinavian o with stroke and a with ring, the AE ligatures, the German sharp s and several Greek capitals. Letters outside that set, for example a with acute, i with acute, o with acute, u with acute, a or e with circumflex and the lowercase c with cedilla, switch the message to Unicode. Standards documents print a capital C with cedilla in that slot, so the tool counts the capital as GSM-7 and the lowercase as Unicode.

Segments and cost

  1. Normalize line breaks: a carriage return plus line feed counts as one character.
  2. Pick the encoding: GSM-7 if every character is in the alphabet or its extension table, Unicode otherwise.
  3. Count units: extension characters count two in GSM-7, and every character outside the basic plane counts two in Unicode.
  4. Segments are zero for an empty message, one if the units fit the single-message limit, and otherwise as many segments as it takes to hold the units at the lower per-segment size.
  5. A two-unit character is never cut in half. If it would start in the last slot of a segment, it moves to the next segment and the slot stays empty, so a message can need one segment more than a plain division suggests.
  6. Cost per send is segments times contacts times price per segment. Removing one segment saves contacts times price.

The price per segment starts at one cent and is an assumption you can edit. Use the rate your own provider charges. Prices differ by carrier, country and volume, so the result is an estimate built from your number.

Replacing look-alike characters

Word processors and phones swap straight quotes for curly ones, hyphens for dashes and three periods for an ellipsis character. They look the same on screen and cost far more in a text. The replace button turns curly single and double quotes into straight ones, en and em dashes into a hyphen, the ellipsis into three periods and the non-breaking space into a plain space, and it deletes zero-width characters. The message is then counted again, so you see the encoding fall back to GSM-7 when those were the only offenders.

Frequently asked questions

Why does one curly quote double my segment count?
A curly quote is not in the GSM alphabet, so the entire message is sent as Unicode. The single-message limit drops from 160 to 70 and each segment from 153 to 67. A 100-character message that was one segment becomes two. Replace the curly quote with a straight one and the message returns to GSM-7.
Does an emoji count as one character?
No. An emoji takes two UTF-16 units, and a skin-tone or joined emoji takes more because each part counts. Adding any emoji also switches the message to Unicode, so the limit falls to 70. The offender table shows the code point and units for every piece.
Why do the euro sign and square brackets cost two characters?
They are in the GSM extension table, which is reached through an escape code. The escape takes one septet and the character takes another. They do not force Unicode, but each one uses two of your 160 units.
Which accented letters are safe to use?
Letters in the GSM alphabet, such as e with acute or grave, u with grave, n with tilde, the umlauted vowels and capital c with cedilla, keep the message in GSM-7. Letters such as a with acute, o with acute, i with acute, u with acute and the circumflex vowels do not, and a single one switches the whole message to Unicode. Paste your text and the table names each letter that does.
How are line breaks counted?
A line break is one character. Many keyboards and web forms send a carriage return and a line feed together, so the tool joins that pair into one before counting. A message with three line breaks adds three units, not six.
Why can 306 characters be two segments but another 306-unit message need three?
Plain letters pack perfectly: 306 letters fill two segments of 153. An extension character or an emoji takes two slots and cannot be split. If it would begin in the last slot of a segment it moves to the next one and that slot goes unused. A message of 152 letters, one bracket and 152 more letters is 306 units but needs three segments.
Where does the cost figure come from, and is my text uploaded?
The cost is segments times your contact count times the price per segment, and the price is an editable assumption that starts at one cent. Nothing is uploaded: the count runs in your browser, no request is made with your message and nothing is saved.

Sources

Send the voicemail itself with VoiceDeliver