Countries API - CountriesDB

Thailand

ISO 3166-1 country codes and official ISO 3166-2 subdivisions for Thailand. Use them in forms, validation, and CountriesDB integrations.

About Thailand codes

Need Thailand (TH) for a checkout form, shipping zone, or backend validation? This page summarizes the ISO 3166-1 country codes and official subdivisions developers use with CountriesDB.

This guide lists 78 official ISO 3166-2 subdivisions for Thailand. These are the same codes CountriesDB serves through widgets and the Backend Data API.

For production, use the CountriesDB country/subdivision widget or fetch Thailand from the Data API and validate codes server-side instead of copying values from this page.

ISO codes

  • Alpha-2TH
  • Alpha-3THA
  • Numeric764
  • Independenttrue
  • StatusOfficially assigned

Official subdivisions (78)

Official ISO 3166-2 codes for Thailand. Use these values in region/state selects and server-side validation, not informal or marketing region names.

CodeNameType
TH-37Amnat Charoenprovince
TH-15Ang Thongprovince
TH-38Bueng Kanprovince
TH-31Buri Ramprovince
TH-24Chachoengsaoprovince
TH-18Chai Natprovince
TH-36Chaiyaphumprovince
TH-22Chanthaburiprovince
TH-50Chiang Maiprovince
TH-57Chiang Raiprovince
TH-20Chon Buriprovince
TH-86Chumphonprovince
TH-46Kalasinprovince
TH-62Kamphaeng Phetprovince
TH-71Kanchanaburiprovince
TH-40Khon Kaenprovince
TH-81Krabiprovince
TH-10Krung Thep Maha Nakhonmetropolitan administration
TH-52Lampangprovince
TH-51Lamphunprovince
TH-42Loeiprovince
TH-16Lop Buriprovince
TH-58Mae Hong Sonprovince
TH-44Maha Sarakhamprovince
TH-49Mukdahanprovince
TH-26Nakhon Nayokprovince
TH-73Nakhon Pathomprovince
TH-48Nakhon Phanomprovince
TH-30Nakhon Ratchasimaprovince
TH-60Nakhon Sawanprovince
TH-80Nakhon Si Thammaratprovince
TH-55Nanprovince
TH-96Narathiwatprovince
TH-39Nong Bua Lam Phuprovince
TH-43Nong Khaiprovince
TH-12Nonthaburiprovince
TH-13Pathum Thaniprovince
TH-94Pattaniprovince
TH-82Phangngaprovince
TH-93Phatthalungprovince
TH-SPhatthayaspecial administrative city
TH-56Phayaoprovince
TH-67Phetchabunprovince
TH-76Phetchaburiprovince
TH-66Phichitprovince
TH-65Phitsanulokprovince
TH-14Phra Nakhon Si Ayutthayaprovince
TH-54Phraeprovince
TH-83Phuketprovince
TH-25Prachin Buriprovince
TH-77Prachuap Khiri Khanprovince
TH-85Ranongprovince
TH-70Ratchaburiprovince
TH-21Rayongprovince
TH-45Roi Etprovince
TH-27Sa Kaeoprovince
TH-47Sakon Nakhonprovince
TH-11Samut Prakanprovince
TH-74Samut Sakhonprovince
TH-75Samut Songkhramprovince
TH-19Saraburiprovince
TH-91Satunprovince
TH-33Si Sa Ketprovince
TH-17Sing Buriprovince
TH-90Songkhlaprovince
TH-64Sukhothaiprovince
TH-72Suphan Buriprovince
TH-84Surat Thaniprovince
TH-32Surinprovince
TH-63Takprovince
TH-92Trangprovince
TH-23Tratprovince
TH-34Ubon Ratchathaniprovince
TH-41Udon Thaniprovince
TH-61Uthai Thaniprovince
TH-53Uttaraditprovince
TH-95Yalaprovince
TH-35Yasothonprovince

Frequently asked questions

What is the ISO 3166-1 code for Thailand?
Thailand uses ISO 3166-1 alpha-2 TH, alpha-3 THA, and numeric 764. These codes show up in forms, shipping, banking, and APIs.
How many official ISO 3166-2 subdivisions does Thailand have?
CountriesDB lists 78 official ISO 3166-2 subdivisions for Thailand (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
How do I use Thailand country and subdivision data in a form?
Use the CountriesDB widget or Data API to fill country and subdivision selects for Thailand, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.

Use Thailand in your app

Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for Thailand (TH) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.