OnlineNotes Logo

    SMS Character Counter

    Type or paste a text message to see its encoding, how many SMS segments it uses and how much room is left in the current segment.

    0 / 160
    160 left in this segment

    Message details

    Encoding
    GSM-7
    Segments
    0
    Characters
    0
    Encoded length
    0

    Encoded length counts extension characters as 2 in GSM-7, and most emoji as 2 in UCS-2.

    Limits at a glance

    Field Limit Source Checked
    GSM-7, single SMS 160 characters Twilio: SMS character limit Checked October 2026
    GSM-7, per segment of a long SMS 153 characters Twilio: SMS character limit Checked October 2026
    UCS-2, single SMS 70 characters Twilio: SMS character limit Checked October 2026
    UCS-2, per segment of a long SMS 67 characters Twilio: SMS character limit Checked October 2026
    Extension characters ^ { } \ [ ~ ] | € Count as 2 3GPP TS 23.038 Checked October 2026

    Twilio notes one exception: toll-free multipart messages to the US or Canada carry 152 GSM-7 or 66 UCS-2 characters per segment. Some phones and carriers replace accented letters to stay in GSM-7, so the final count can differ slightly.

    How this counter counts

    The box applies these steps to your text:

    1. It checks every character against the GSM-7 basic table and extension table from 3GPP TS 23.038.
    2. If all characters are in those tables, the message is GSM-7. A basic character counts 1. An extension character (^ { } \ [ ~ ] | €) counts 2.
    3. If one character is outside those tables, the whole message is UCS-2. Each character then counts as its UTF-16 length: 1 for most characters, 2 for most emoji.
    4. Up to 160 GSM-7 or 70 UCS-2 units fit in one SMS. A longer message is split into segments of 153 or 67 units. An extension character or an emoji is never split across two segments.

    Worked example

    Hi Sam, your table for 4 is ready at 7:30. Deposit paid: €10. Reply YES to confirm. We're on Main St.

    Paste this message into the box. It shows GSM-7, 101 characters, an encoded length of 102 and 1 segment. The readout is 102 / 160, with 58 left in this segment. The € sign counts 2, so the encoded length is one more than the character count.

    Now replace the straight apostrophe in "We're" with a curly one (’), as many phones and editors do. The encoding changes to UCS-2 and the ’ shows in the list of characters that switched the message. The encoded length is now 101, because € counts 1 in UCS-2. That is more than 70, so the message needs 2 segments of 67, with 33 left in the second one.

    What the standards say

    • 3GPP TS 23.038 says a message in the GSM 7 bit default alphabet can have up to 160 characters. Each use of the extension table reduces the number of characters that can show by one. Its printable characters are ^ { } \ [ ~ ] | and €.
    • The Twilio guide to SMS length says one SMS carries 140 bytes. GSM-7 uses 7 bits per character, so 160 characters fit. UCS-2 uses 2 bytes per character, so 70 fit.
    • The same guide says a segment of a long message carries 153 GSM-7 or 67 UCS-2 characters. The rest of the space holds a User Data Header that tells the phone how to join the parts again.
    • Twilio also notes that one emoji, one Chinese character or one curly quotation mark (“) is enough to switch the message to UCS-2.

    Frequently asked questions

    Why is an SMS limited to 160 characters?

    One SMS carries 140 bytes of text. The GSM-7 alphabet from 3GPP TS 23.038 packs each character into 7 bits, so 140 bytes hold 160 characters.

    Why does one emoji drop my SMS limit to 70 characters?

    Emoji and most characters outside the GSM-7 alphabet need UCS-2 encoding, which uses 2 bytes per character. The whole message switches to UCS-2, so 140 bytes hold only 70 characters. Most emoji take 2 of those 70 slots.

    What is an SMS segment?

    A segment is one SMS part. Longer messages are split into segments and joined again on the phone. Each part loses a few characters to a joining header, so a multipart GSM-7 message holds 153 characters per segment and a UCS-2 message holds 67. Carriers usually bill per segment.

    Why do some characters count as 2?

    The characters ^ { } \ [ ~ ] | and € are in the GSM-7 extension table. Each one is sent as an escape code plus the character, so it uses 2 of the 160 places.

    Why did my message switch to Unicode when it has no emoji?

    One character outside GSM-7 is enough. A common cause is a curly quote or apostrophe (“ ” ’) that a phone or text editor put in place of a straight one. Twilio gives this example in its SMS length guide. The Message details panel lists the characters that caused the switch.

    Is there a recommended maximum length for an SMS?

    Twilio recommends keeping SMS messages under 320 characters for better deliverability and user experience. In GSM-7, 320 characters take 3 segments.

    Related tools