Ukraine - Formatting standards & code snippets

Here is a complete list of standards and formats used in Ukraine. 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 Ukraine?

  • Alpha-2: UA
  • Alpha-3: UKR
  • Numeric: 804
  • Java Locale Code: uk_UA
  • .Net CultireInfo Code: uk-UA
  • PHP Locale Code: uk_UA

What is the official language in Ukraine?

  • Ukrainian

What is the date format in Ukraine?

The date format in Ukraine is little-endian:

  • Format: dd.mm.yyyy
    Ex: 03.12.2014
How to format dates for Ukraine in Java, C#, PHP, and JavaScript

What is the time format in Ukraine?

The time format in Ukraine is mostly 24-hour notation, but 24-hour format is also commonly adopted.

  • HH:mm[:ss]
    Ex: 21:00 for 09:00PM, and 09:00 for 09:00AM
How to format time for Ukraine in Java, C#, PHP, and JavaScript

What is the numeric format in Ukraine?

    Format: 999 999 999,99

  • Group Size: 3
  • Grouping Character: Space
  • Decimal Character: , (Comma)
How to format numbers for Ukraine in Java, C#, PHP, and JavaScript

What is the currency format in Ukraine?

    Format: 999 999 999,99 ₴

  • Group Size: 3
  • Grouping Character: Space
  • Decimal Character: , (Comma)
  • Currency Symbol:
  • Currency Symbol Position: After number
  • Currency Name: Hryvnia (UAH)
How to format currencies for Ukraine in Java, C#, PHP, and JavaScript

Download list of regions/cities for Ukraine in CSV, JSON, HTML, SQL and XML


List of regions/cities: HTML - Select Control

------------------------
 ISO_3166-2 code + name
------------------------
<select>
	<option value="UA-43">Avtonomna Respublika Krym</option>	
	<option value="UA-71">Cherkaska oblast</option>	
	<option value="UA-74">Chernihivska oblast</option>	
	<option value="UA-77">Chernivetska oblast</option>	
	<option value="UA-12">Dnipropetrovska oblast</option>	
	<option value="UA-14">Donetska oblast</option>	
	<option value="UA-26">Ivano-Frankivska oblast</option>	
	<option value="UA-63">Kharkivska oblast</option>	
	<option value="UA-65">Khersonska oblast</option>	
	<option value="UA-68">Khmelnytska oblast</option>	
	<option value="UA-35">Kirovohradska oblast</option>	
	<option value="UA-30">Kyiv</option>	
	<option value="UA-32">Kyivska oblast</option>	
	<option value="UA-09">Luhanska oblast</option>	
	<option value="UA-46">Lvivska oblast</option>	
	<option value="UA-48">Mykolaivska oblast</option>	
	<option value="UA-51">Odeska oblast</option>	
	<option value="UA-53">Poltavska oblast</option>	
	<option value="UA-56">Rivnenska oblast</option>	
	<option value="UA-40">Sevastopol</option>	
	<option value="UA-59">Sumska oblast</option>	
	<option value="UA-61">Ternopilska oblast</option>	
	<option value="UA-05">Vinnytska oblast</option>	
	<option value="UA-07">Volynska oblast</option>	
	<option value="UA-21">Zakarpatska oblast</option>	
	<option value="UA-23">Zaporizka oblast</option>	
	<option value="UA-18">Zhytomyrska oblast</option>	
</select>


List of regions/cities: CSV

code,name
UA-43,"Avtonomna Respublika Krym"
UA-71,"Cherkaska oblast"
UA-74,"Chernihivska oblast"
UA-77,"Chernivetska oblast"
UA-12,"Dnipropetrovska oblast"
UA-14,"Donetska oblast"
UA-26,"Ivano-Frankivska oblast"
UA-63,"Kharkivska oblast"
UA-65,"Khersonska oblast"
UA-68,"Khmelnytska oblast"
UA-35,"Kirovohradska oblast"
UA-30,"Kyiv"
UA-32,"Kyivska oblast"
UA-09,"Luhanska oblast"
UA-46,"Lvivska oblast"
UA-48,"Mykolaivska oblast"
UA-51,"Odeska oblast"
UA-53,"Poltavska oblast"
UA-56,"Rivnenska oblast"
UA-40,"Sevastopol"
UA-59,"Sumska oblast"
UA-61,"Ternopilska oblast"
UA-05,"Vinnytska oblast"
UA-07,"Volynska oblast"
UA-21,"Zakarpatska oblast"
UA-23,"Zaporizka oblast"
UA-18,"Zhytomyrska oblast"

List of regions/cities: JSON

------------------------
 ISO-3166-2 code + Name
------------------------
[
	{code: "UA-43", name: "Avtonomna Respublika Krym"},
	{code: "UA-71", name: "Cherkaska oblast"},
	{code: "UA-74", name: "Chernihivska oblast"},
	{code: "UA-77", name: "Chernivetska oblast"},
	{code: "UA-12", name: "Dnipropetrovska oblast"},
	{code: "UA-14", name: "Donetska oblast"},
	{code: "UA-26", name: "Ivano-Frankivska oblast"},
	{code: "UA-63", name: "Kharkivska oblast"},
	{code: "UA-65", name: "Khersonska oblast"},
	{code: "UA-68", name: "Khmelnytska oblast"},
	{code: "UA-35", name: "Kirovohradska oblast"},
	{code: "UA-30", name: "Kyiv"},
	{code: "UA-32", name: "Kyivska oblast"},
	{code: "UA-09", name: "Luhanska oblast"},
	{code: "UA-46", name: "Lvivska oblast"},
	{code: "UA-48", name: "Mykolaivska oblast"},
	{code: "UA-51", name: "Odeska oblast"},
	{code: "UA-53", name: "Poltavska oblast"},
	{code: "UA-56", name: "Rivnenska oblast"},
	{code: "UA-40", name: "Sevastopol"},
	{code: "UA-59", name: "Sumska oblast"},
	{code: "UA-61", name: "Ternopilska oblast"},
	{code: "UA-05", name: "Vinnytska oblast"},
	{code: "UA-07", name: "Volynska oblast"},
	{code: "UA-21", name: "Zakarpatska oblast"},
	{code: "UA-23", name: "Zaporizka oblast"},
	{code: "UA-18", name: "Zhytomyrska oblast"}			
]

List of regions/cities: SQL

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

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

INSERT INTO region (id, code, name) VALUES (null, 'UA-43', 'Avtonomna Respublika Krym');
INSERT INTO region (id, code, name) VALUES (null, 'UA-71', 'Cherkaska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-74', 'Chernihivska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-77', 'Chernivetska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-12', 'Dnipropetrovska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-14', 'Donetska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-26', 'Ivano-Frankivska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-63', 'Kharkivska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-65', 'Khersonska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-68', 'Khmelnytska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-35', 'Kirovohradska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-30', 'Kyiv');
INSERT INTO region (id, code, name) VALUES (null, 'UA-32', 'Kyivska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-09', 'Luhanska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-46', 'Lvivska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-48', 'Mykolaivska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-51', 'Odeska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-53', 'Poltavska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-56', 'Rivnenska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-40', 'Sevastopol');
INSERT INTO region (id, code, name) VALUES (null, 'UA-59', 'Sumska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-61', 'Ternopilska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-05', 'Vinnytska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-07', 'Volynska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-21', 'Zakarpatska oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-23', 'Zaporizka oblast');
INSERT INTO region (id, code, name) VALUES (null, 'UA-18', 'Zhytomyrska oblast');

List of regions/cities: XML

<!-- ISO 3166-2 code + name -->
<?xml version="1.0" encoding="UTF-8"?>
<regions>
	<region>
		<code>UA-43</code>
		<name>Avtonomna Respublika Krym</name>
	</region>
	<region>
		<code>UA-71</code>
		<name>Cherkaska oblast</name>
	</region>
	<region>
		<code>UA-74</code>
		<name>Chernihivska oblast</name>
	</region>
	<region>
		<code>UA-77</code>
		<name>Chernivetska oblast</name>
	</region>
	<region>
		<code>UA-12</code>
		<name>Dnipropetrovska oblast</name>
	</region>
	<region>
		<code>UA-14</code>
		<name>Donetska oblast</name>
	</region>
	<region>
		<code>UA-26</code>
		<name>Ivano-Frankivska oblast</name>
	</region>
	<region>
		<code>UA-63</code>
		<name>Kharkivska oblast</name>
	</region>
	<region>
		<code>UA-65</code>
		<name>Khersonska oblast</name>
	</region>
	<region>
		<code>UA-68</code>
		<name>Khmelnytska oblast</name>
	</region>
	<region>
		<code>UA-35</code>
		<name>Kirovohradska oblast</name>
	</region>
	<region>
		<code>UA-30</code>
		<name>Kyiv</name>
	</region>
	<region>
		<code>UA-32</code>
		<name>Kyivska oblast</name>
	</region>
	<region>
		<code>UA-09</code>
		<name>Luhanska oblast</name>
	</region>
	<region>
		<code>UA-46</code>
		<name>Lvivska oblast</name>
	</region>
	<region>
		<code>UA-48</code>
		<name>Mykolaivska oblast</name>
	</region>
	<region>
		<code>UA-51</code>
		<name>Odeska oblast</name>
	</region>
	<region>
		<code>UA-53</code>
		<name>Poltavska oblast</name>
	</region>
	<region>
		<code>UA-56</code>
		<name>Rivnenska oblast</name>
	</region>
	<region>
		<code>UA-40</code>
		<name>Sevastopol</name>
	</region>
	<region>
		<code>UA-59</code>
		<name>Sumska oblast</name>
	</region>
	<region>
		<code>UA-61</code>
		<name>Ternopilska oblast</name>
	</region>
	<region>
		<code>UA-05</code>
		<name>Vinnytska oblast</name>
	</region>
	<region>
		<code>UA-07</code>
		<name>Volynska oblast</name>
	</region>
	<region>
		<code>UA-21</code>
		<name>Zakarpatska oblast</name>
	</region>
	<region>
		<code>UA-23</code>
		<name>Zaporizka oblast</name>
	</region>
	<region>
		<code>UA-18</code>
		<name>Zhytomyrska oblast</name>
	</region>
</regions>