<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: tzah</title>
    <description>The latest articles on DEV Community by tzah (@globalsms).</description>
    <link>https://dev.to/globalsms</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4145372%2F4439f86c-a486-4fc4-b31c-fa8249c2168a.png</url>
      <title>DEV Community: tzah</title>
      <link>https://dev.to/globalsms</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/globalsms"/>
    <language>en</language>
    <item>
      <title>Sending SMS to Israel: number formats, Hebrew encoding and sender IDs</title>
      <dc:creator>tzah</dc:creator>
      <pubDate>Sun, 27 Sep 2026 10:42:56 +0000</pubDate>
      <link>https://dev.to/globalsms/sending-sms-to-israel-number-formats-hebrew-encoding-and-sender-ids-1m5a</link>
      <guid>https://dev.to/globalsms/sending-sms-to-israel-number-formats-hebrew-encoding-and-sender-ids-1m5a</guid>
      <description>&lt;p&gt;If your app sends SMS worldwide, Israel has a few quirks that silently break validation, inflate costs or annoy users. This is a short checklist. The full guide is linked at the end.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Number format
&lt;/h2&gt;

&lt;p&gt;Israeli mobile numbers have 10 digits locally and start with &lt;code&gt;05&lt;/code&gt;. For international systems, drop the leading &lt;code&gt;0&lt;/code&gt; and add &lt;code&gt;972&lt;/code&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Format&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Local&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;050-123-4567&lt;/code&gt; / &lt;code&gt;0501234567&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;E.164&lt;/td&gt;
&lt;td&gt;&lt;code&gt;+972501234567&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Not every &lt;code&gt;05&lt;/code&gt; number is Israeli mobile.&lt;/strong&gt; The Israeli mobile prefixes are &lt;code&gt;050, 051, 052, 053, 054, 055, 058&lt;/code&gt;. &lt;code&gt;056&lt;/code&gt; and &lt;code&gt;059&lt;/code&gt; belong to Palestinian networks that share &lt;code&gt;+972&lt;/code&gt;, and &lt;code&gt;057&lt;/code&gt; is no longer in use. So avoid &lt;code&gt;05[0-9]&lt;/code&gt; and use an explicit list:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;^(?:\+972|972|0)(?:50|51|52|53|54|55|58)\d{7}$
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(Strip spaces and dashes first.) Israel also has number portability, so the prefix doesn't tell you the carrier.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Hebrew means UCS-2, and that changes the math
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Encoding&lt;/th&gt;
&lt;th&gt;Single SMS&lt;/th&gt;
&lt;th&gt;Per segment when split&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;GSM-7 (Latin)&lt;/td&gt;
&lt;td&gt;160&lt;/td&gt;
&lt;td&gt;153&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UCS-2 (Hebrew)&lt;/td&gt;
&lt;td&gt;70&lt;/td&gt;
&lt;td&gt;67&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;One Hebrew letter, emoji, curly quote or long dash switches the &lt;strong&gt;whole&lt;/strong&gt; message to UCS-2. Budget by segments, not characters. Watch for invisible direction marks copied from word processors: they count as characters too.&lt;/p&gt;

&lt;p&gt;The phone handles right-to-left display, so Hebrew mixed with English, numbers and links renders fine without adding direction marks.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Sender ID
&lt;/h2&gt;

&lt;p&gt;Common options are a &lt;strong&gt;mobile number&lt;/strong&gt; (recipients can reply), a &lt;strong&gt;landline number&lt;/strong&gt; (they can call back, not text back), or an &lt;strong&gt;alphanumeric name&lt;/strong&gt; in English letters and digits, up to 11 characters (no replies). If you need replies, use a mobile or virtual number. Check your provider's verification requirements before the first send.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Timing
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Time zone: &lt;code&gt;Asia/Jerusalem&lt;/code&gt; (UTC+2 / UTC+3 in summer). DST dates don't always match Europe or the US, so schedule by IANA zone.&lt;/li&gt;
&lt;li&gt;Weekend: Friday–Saturday. Shabbat runs from Friday evening to Saturday night, and the business week is Sunday–Thursday.&lt;/li&gt;
&lt;li&gt;Jewish holidays follow the Hebrew calendar, so their Gregorian dates move every year.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. OTP messages
&lt;/h2&gt;

&lt;p&gt;Put the code first (lock-screen preview), name the service, state the purpose and validity, and &lt;strong&gt;don't include a link&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Service]: 458213 is your password reset code. Valid for 5 minutes. Didn't request it? Ignore this message.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  6. Delivery reports
&lt;/h2&gt;

&lt;p&gt;"Accepted" is not "delivered". Poll or subscribe to delivery reports (DLR), and treat "no final status within N seconds" as a failure so users can retry.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Marketing messages
&lt;/h2&gt;

&lt;p&gt;Israeli law regulates advertising messages (prior consent, sender identification and an easy opt-out are among the requirements). Check with local counsel before automating marketing sends.&lt;/p&gt;




&lt;p&gt;Full guide with more detail on sender IDs, DLR statuses and replies: &lt;strong&gt;&lt;a href="https://www.globalsms.co.il/en/sms-in-israel.html" rel="noopener noreferrer"&gt;SMS in Israel: A Developer's Guide&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I'm the CEO of &lt;a href="https://www.globalsms.co.il/en/" rel="noopener noreferrer"&gt;Global SMS&lt;/a&gt;, an Israeli SMS gateway.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>sms</category>
      <category>api</category>
      <category>israel</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
