Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

SMS Length Calculation

Updated on 2024-05-11 GMT+08:00

Rules

CAUTION:
  • Each template can contain a maximum of 500 characters, including the message content and SMS signature.
  • When an SMS longer than the allowed length is sent, the customer receives one SMS. The Message & SMS platform automatically splits this SMS into multiple shorter SMSs based on preset rules for service statistics collection and charging.

SMS Type

Character Counting Rule

Remarks

International SMSs (sent to mobile numbers outside the Chinese mainland)

SMSs in English:

  • GSM-7 characters are used for counting.
  • If an SMS contains 160 characters or less, it is counted as one SMS.

    If an SMS contains more than 160 characters, every 153 characters are counted as one SMS.

  • If an SMS contains 158 English characters, it is counted as one SMS. If an SMS contains 164 (153 + 11) characters, it is counted as two SMSs. If an SMS contains 320 (153 + 153 + 14) characters, it is counted as three SMSs.
  • For example, if an SMS template contains variable ${NUM_8} set to 123456, that variable is counted as six characters.

SMSs in other languages:

  • Each Unicode character, such as a letter, digit, punctuation (full-width and half-width), and space, is counted as one character.
  • If an SMS contains 70 characters or less, it is counted as one SMS.

    If an SMS contains more than 70 characters, every 67 characters are counted as one SMS.

Chinese Mainland SMSs (sent to phone numbers in the Chinese mainland)

  • Each Unicode character, such as a letter, digit, punctuation (full-width and half-width), and space, is counted as one character.
  • Length of an SMS = number of characters in the SMS template + number of characters in the signature.
  • If an SMS contains 70 characters or less, it is counted as one SMS.

    If an SMS contains more than 70 characters, every 67 characters are counted as one SMS.

  • Each letter and digit in a signature is counted as a character. For example, [HUAWEI] is counted as eight characters.
  • For example, if an SMS template contains variable ${NUM_8} set to 123456, that variable is counted as six characters.
Table 1 GSM-7 characters

Category

Counting Rule

Specific Characters

Standard characters

Each is counted as one character.

! " # $ % ' ( ) * + , - . / : ; < = > ? @ _ ¡ £ ¥ § ¿ & ¤

0 1 2 3 4 5 6 7 8 9

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

a b c d e f g h i j k l m n o p q r s t u v w x y z

Ä Å Æ Ç É Ñ Ø ø Ü ß Ö à ä å æ è é ì ñ ò ö ù ü Δ Φ Γ Λ Ω Π Ψ Σ Θ Ξ

Extension characters

Each is counted as two characters.

| ^ € { } [ ] ~ \

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback