Israel - Formatting standards & code snippets

Here is a complete list of standards and formats used in Israel. It includes a full list of ISO codes, number, date, currency, telephone and address formats. You will also get code examples on how to perform the most common formatting operations in Java, C#, JavaScript and PHP. Multiple resource files are made available, mainly the complete list of states, in different formats such as CSV, XML, JSON, HTML and SQL.

What are the ISO-3166-1 codes for Israel?

  • Alpha-2: IL
  • Alpha-3: ISR
  • Numeric: 376
  • Java Locale Code: he_IL
  • .Net CultureInfo Code: he-IL<
  • PHP Locale Code: he_IL

What is the official language in Israel?

  • Hebrew

What is the date format in Israel?

The official date format is little-endian

  • Format: dd.mm.yyyy
    Ex: 03.12.2014 (and 31-12-2014) for December 31st 2014
Formatting a date in Java:
Locale locale = new Locale("he", "IL");
SimpleDateFormat sdf = new SimpleDateFormat("dd.MM.yyyy", locale);
sdf.format(new Date());
Formatting a date in C#:
CultureInfo ci = CultureInfo.GetCultureInfo("he-IL");
DateTime.Now.ToString("dd.MM.yyyy", ci);
Formatting a date in JavaScript:
let date = new Date();
date.toLocaleDateString('he-IL');
Formatting a date in PHP:
date("d.m.Y");

What is the time format in Israel?

The time format in Israel is mostly24-hour notation

  • Format: HH:mm[:ss]
    Ex: 09:00 for 09:00AM, 21:00 for 09:00PM
Formatting time in Java:
Locale locale = new Locale("he", "IL");
SimpleDateFormat sdf = new SimpleDateFormat("HH.mm.ss", locale);
sdf.format(new Date());
Formatting time in C#:
CultureInfo ci = CultureInfo.GetCultureInfo("he-IL");
DateTime.Now.ToString("HH.mm.ss", ci);
Formatting time in JavaScript:
let date = new Date();
date.toLocaleTimeString('he-IL', {hour12: false});
Formatting time in PHP:
date("H:i:s");

What is the numeric format in Israel?

  • Format: 999,999,999.99
    • Group Size: 3
    • Grouping Character: , (comma)
    • Decimal Character: . (dot)
Formatting numbers in Java:
Locale locale = new Locale("he", "IL");
NumberFormat numberFormat = NumberFormat.getNumberInstance(locale);
numberFormat.format(999999999.99d);
Formatting numbers in C#:
double d = 999999999.99d;
d.ToString("n", CultureInfo.GetCultureInfo("he-IL")));
Formatting numbers in JavaScript:
let number = 999999999.99;
number.toLocaleString('he-IL');
Formatting numbers in PHP:
$fmt = new NumberFormatter($locale = 'he_IL', NumberFormatter::DECIMAL);
$fmt->format(999999999.99);

What is the currency format in Israel?

  • Format: ₪ 999,999,999.99
    • Group Size: 3
    • Grouping Character: , (comma)
    • Decimal Character: . (dot)
    • Currency Symbol: ₪
    • Currency Symbol Position: Before number
    • Currency Name: Israeli new shekel (ILS)
Formatting currency in Java:
Locale locale = new Locale("he", "IL");
NumberFormat numberFormat = NumberFormat.getCurrencyInstance(locale);
numberFormat.format(999999999.99d);
Formatting currency in C#:
double d = 999999999.99d;
d.ToString("c", CultureInfo.GetCultureInfo("he-IL")));
Formatting currency in JavaScript:
let number = 999999999.99;
number.toLocaleString('he-IL', {currency: 'ILS', style: 'currency'});
Formatting currency in PHP:
$fmt = new NumberFormatter($locale = 'he_IL', NumberFormatter::CURRENCY);
$fmt->format(999999999.99);

Download list of states for Israel in CSV, JSON, HTML, SQL and XML


List of states: HTML - Select Control

----------------------------------
 ISO_3166-2 code + name - English
----------------------------------
<select>
	<option value="IL-D">Southern District</option>
	<option value="IL-M">Central District</option>
	<option value="IL-Z">Northern District</option>
	<option value="IL-HA">Haifa</option>
	<option value="IL-TA">Tel Aviv</option>
	<option value="IL-JM">Jerusalem</option>
</select>

----------------------------------
 ISO_3166-2 code + name - Hebrew
----------------------------------
<select>
	<option value="IL-D">מחוז הדרום</option>
	<option value="IL-M">מָחוֹז הַמֶרְכָּז</option>
	<option value="IL-Z">מחוז הצפון</option>
	<option value="IL-HA">מחוז חיפה</option>
	<option value="IL-TA">מָחוֹז תֵּל אָבִיב</option>
	<option value="IL-JM">מחוז ירושלים</option>
</select>

----------------------------------
 ISO_3166-2 code + name - Arabic
----------------------------------
<select>
	<option value="IL-D">لواء الجنوب</option>
	<option value="IL-M">المنطقة الوسطى</option>
	<option value="IL-Z">منطقة الشمال</option>
	<option value="IL-HA">منطقة حيفا</option>
	<option value="IL-TA">منطقة تل أبيب</option>
	<option value="IL-JM">منطقة القدس</option>
</select>

List of states: CSV

// English
code,name
IL-D,"Southern District"
IL-M,"Central District"
IL-Z,"Northern District"
IL-HA,"Haifa"
IL-TA,"Tel Aviv"
IL-JM,"Jerusalem"

// Hebrew
code,name
IL-D,"מחוז הדרום"
IL-M,"מָחוֹז הַמֶרְכָּז"
IL-Z,"מחוז הצפון"
IL-HA,"מחוז חיפה"
IL-TA,"מָחוֹז תֵּל אָבִיב"
IL-JM,"מחוז ירושלים"

// Arabic
code,name
IL-D,"لواء الجنوب"
IL-M,"المنطقة الوسطى"
IL-Z,"منطقة الشمال"
IL-HA,"منطقة حيفا"
IL-TA,"منطقة تل أبيب"
IL-JM,"منطقة القدس"

List of states: JSON

----------------------------------
 ISO-3166-2 code + Name - English
----------------------------------
[
	{code: "IL-D", name: "Southern District"},
	{code: "IL-M", name: "Central District"},
	{code: "IL-Z", name: "Northern District"},
	{code: "IL-HA", name: "Haifa"},
	{code: "IL-TA", name: "Tel Aviv"},
	{code: "IL-JM", name: "Jerusalem"}
]

---------------------------------
 ISO-3166-2 code + Name - Hebrew
---------------------------------
[
	{code: "IL-D", name: "מחוז הדרום"},
	{code: "IL-M", name: "מָחוֹז הַמֶרְכָּז"},
	{code: "IL-Z", name: "מחוז הצפון"},
	{code: "IL-HA", name: "מחוז חיפה"},
	{code: "IL-TA", name: "מָחוֹז תֵּל אָבִיב"},
	{code: "IL-JM", name: "מחוז ירושלים"}
]

---------------------------------
 ISO-3166-2 code + Name - Arabic
---------------------------------
[
	{code: "IL-D", name: "لواء الجنوب"},
	{code: "IL-M", name: "المنطقة الوسطى"},
	{code: "IL-Z", name: "منطقة الشمال"},
	{code: "IL-HA", name: "منطقة حيفا"},
	{code: "IL-TA", name: "منطقة تل أبيب"},
	{code: "IL-JM", name: "منطقة القدس"}
]

List of states: SQL

-- -----------------------------------------------------
-- Table `district`
-- -----------------------------------------------------
DROP TABLE IF EXISTS district;

CREATE TABLE IF NOT EXISTS district (
  id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  code VARCHAR(6) NOT NULL,
  name_en VARCHAR(50) NOT NULL,
  name_he VARCHAR(50) NOT NULL,
  name_ar VARCHAR(50) NOT NULL,
  PRIMARY KEY (id),
  UNIQUE INDEX id_UNIQUE (id ASC),
  UNIQUE INDEX code_UNIQUE (code ASC)
) ENGINE = InnoDB;

INSERT INTO district (id, code, name_en, name_he, name_ar) VALUES (null, 'IL-D', 'Southern District', 'מחוז הדרום', 'لواء الجنوب');
INSERT INTO district (id, code, name_en, name_he, name_ar) VALUES (null, 'IL-M', 'Central District', 'מָחוֹז הַמֶרְכָּז', 'المنطقة الوسطى');
INSERT INTO district (id, code, name_en, name_he, name_ar) VALUES (null, 'IL-Z', 'Northern District', 'מחוז הצפון', 'منطقة الشمال');
INSERT INTO district (id, code, name_en, name_he, name_ar) VALUES (null, 'IL-HA', 'Haifa', 'מחוז חיפה', 'منطقة حيفا');
INSERT INTO district (id, code, name_en, name_he, name_ar) VALUES (null, 'IL-TA', 'Tel Aviv', 'מָחוֹז תֵּל אָבִיב', 'منطقة تل أبيب');
INSERT INTO district (id, code, name_en, name_he, name_ar) VALUES (null, 'IL-JM', 'Jerusalem', 'מחוז ירושלים', 'منطقة القدس');

List of states: XML

<!-- ISO-3166-2 code + name - English -->
<?xml version="1.0" encoding="UTF-8"?>
<districts>
	<district>
		<code>IL-D</code>
		<name>Southern District</name>
	</district>
	<district>
		<code>IL-M</code>
		<name>Central District</name>
	</district>
	<district>
		<code>IL-Z</code>
		<name>Northern District</name>
	</district>
	<district>
		<code>IL-HA</code>
		<name>Haifa</name>
	</district>
	<district>
		<code>IL-TA</code>
		<name>Tel Aviv</name>
	</district>
	<district>
		<code>IL-JM</code>
		<name>Jerusalem</name>
	</district>
</districts>

<!-- ISO-3166-2 code + name - Hebrew -->
<?xml version="1.0" encoding="UTF-8"?>
<districts>
	<district>
		<code>IL-D</code>
		<name>מחוז הדרום</name>
	</district>
	<district>
		<code>IL-M</code>
		<name>מָחוֹז הַמֶרְכָּז</name>
	</district>
	<district>
		<code>IL-Z</code>
		<name>מחוז הצפון</name>
	</district>
	<district>
		<code>IL-HA</code>
		<name>מחוז חיפה</name>
	</district>
	<district>
		<code>IL-TA</code>
		<name>מָחוֹז תֵּל אָבִיבv</name>
	</district>
	<district>
		<code>IL-JM</code>
		<name>מחוז ירושלים</name>
	</district>
</districts>

<!-- ISO-3166-2 code + name - Arabic -->
<?xml version="1.0" encoding="UTF-8"?>
<districts>
	<district>
		<code>IL-D</code>
		<name>لواء الجنوب</name>
	</district>
	<district>
		<code>IL-M</code>
		<name>المنطقة الوسطى</name>
	</district>
	<district>
		<code>IL-Z</code>
		<name>منطقة الشمال</name>
	</district>
	<district>
		<code>IL-HA</code>
		<name>منطقة حيفا</name>
	</district>
	<district>
		<code>IL-TA</code>
		<name>منطقة تل أبيب</name>
	</district>
	<district>
		<code>IL-JM</code>
		<name>منطقة القدس</name>
	</district>
</districts>