SMS Character Limit When Sending Through Twilio

Learn the Twilio SMS character limit, how messages split into segments, and how segment billing works. See how to manage message length in the API.

2 min read0 viewsSMS Character Limit When Sending Through Twilio
— · 0 votes
Contents
  1. How Twilio Counts SMS Characters
  2. When Messages Split into Segments
  3. Billing for Multipart SMS
  4. Twilio SMS Segment Questions
  5. What is the Twilio SMS character limit?
  6. How does Twilio handle long SMS messages?
  7. Can I change the SMS character limit in Twilio?
  8. Does Twilio charge per segment or per message?

Twilio enforces an SMS character limit of 160 characters for a single message encoded in GSM-7. Longer messages are split into multiple segments that are sent and billed separately. Understanding how segments work helps you control costs and deliver clear messages.

How Twilio Counts SMS Characters

Twilio counts SMS characters based on the encoding of the message. GSM-7 allows 160 characters per segment. UCS-2 is used for emoji or non-GSM characters and reduces the limit to 70 characters per segment. The Twilio API selects the encoding automatically from the characters you send.

When Messages Split into Segments

A Twilio message longer than one segment is divided into multiple segments. Each segment can hold up to 153 characters for GSM-7 or 67 for UCS-2. The extra characters carry concatenation data that lets the phone reassemble one long message. The recipient sees a single message if their device supports it.

Billing for Multipart SMS

Twilio bills each segment as a separate message. A long text that becomes three segments costs three message units. The number of segments affects your total sending cost. You can check the segment count before sending through the Twilio API.

Twilio SMS Segment Questions

What is the Twilio SMS character limit?

The Twilio SMS character limit is 160 characters for a single segment using GSM-7 encoding. If the message includes characters outside GSM-7, the limit per segment is 70 characters. Twilio splits longer messages into multiple segments automatically.

How does Twilio handle long SMS messages?

Twilio splits long SMS messages into multiple segments that are sent individually. Each segment contains part of the message and a small header for reassembly. The recipient's phone usually combines them into one conversation bubble.

Can I change the SMS character limit in Twilio?

No, the SMS character limit is set by the GSM standard and cannot be changed in Twilio. You can influence the limit by choosing the encoding or shortening your message. Using fewer non-GSM characters keeps the limit at 160 per segment.

Does Twilio charge per segment or per message?

Twilio charges per segment for SMS messages. A message split into three segments costs three message units. The price per segment depends on the destination country and the phone number type.

Read next

Latest articles