Countries API - CountriesDB

Tunisia

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

About Tunisia codes

Need Tunisia (TN) 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 24 official ISO 3166-2 subdivisions for Tunisia. These are the same codes CountriesDB serves through widgets and the Backend Data API.

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

ISO codes

  • Alpha-2TN
  • Alpha-3TUN
  • Numeric788
  • Independenttrue
  • StatusOfficially assigned

Official subdivisions (24)

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

CodeNameType
TN-31Béjagovernorate
TN-13Ben Arousgovernorate
TN-23Bizertegovernorate
TN-81Gabèsgovernorate
TN-71Gafsagovernorate
TN-32Jendoubagovernorate
TN-41Kairouangovernorate
TN-42Kasserinegovernorate
TN-73Kébiligovernorate
TN-12L'Arianagovernorate
TN-14La Manoubagovernorate
TN-33Le Kefgovernorate
TN-53Mahdiagovernorate
TN-82Médeninegovernorate
TN-52Monastirgovernorate
TN-21Nabeulgovernorate
TN-61Sfaxgovernorate
TN-43Sidi Bouzidgovernorate
TN-34Silianagovernorate
TN-51Soussegovernorate
TN-83Tataouinegovernorate
TN-72Tozeurgovernorate
TN-11Tunisgovernorate
TN-22Zaghouangovernorate

Frequently asked questions

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

Use Tunisia in your app

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