Brazil
ISO 3166-1 country codes and official ISO 3166-2 subdivisions for Brazil. Use them in forms, validation, and CountriesDB integrations.
About Brazil codes
Need Brazil (BR) 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 27 official ISO 3166-2 subdivisions for Brazil. These are the same codes CountriesDB serves through widgets and the Backend Data API.
For production, use the CountriesDB country/subdivision widget or fetch Brazil from the Data API and validate codes server-side instead of copying values from this page.
ISO codes
Official subdivisions (27)
Official ISO 3166-2 codes for Brazil. Use these values in region/state selects and server-side validation, not informal or marketing region names.
| Code | Name | Type |
|---|---|---|
| BR-AC | Acre | state |
| BR-AL | Alagoas | state |
| BR-AP | Amapá | state |
| BR-AM | Amazonas | state |
| BR-BA | Bahia | state |
| BR-CE | Ceará | state |
| BR-DF | Distrito Federal | federal district |
| BR-ES | Espírito Santo | state |
| BR-GO | Goiás | state |
| BR-MA | Maranhão | state |
| BR-MT | Mato Grosso | state |
| BR-MS | Mato Grosso do Sul | state |
| BR-MG | Minas Gerais | state |
| BR-PA | Pará | state |
| BR-PB | Paraíba | state |
| BR-PR | Paraná | state |
| BR-PE | Pernambuco | state |
| BR-PI | Piauí | state |
| BR-RJ | Rio de Janeiro | state |
| BR-RN | Rio Grande do Norte | state |
| BR-RS | Rio Grande do Sul | state |
| BR-RO | Rondônia | state |
| BR-RR | Roraima | state |
| BR-SC | Santa Catarina | state |
| BR-SP | São Paulo | state |
| BR-SE | Sergipe | state |
| BR-TO | Tocantins | state |
Frequently asked questions
- What is the ISO 3166-1 code for Brazil?
- Brazil uses ISO 3166-1 alpha-2 BR, alpha-3 BRA, and numeric 076. These codes show up in forms, shipping, banking, and APIs.
- How many official ISO 3166-2 subdivisions does Brazil have?
- CountriesDB lists 27 official ISO 3166-2 subdivisions for Brazil (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
- How do I use Brazil country and subdivision data in a form?
- Use the CountriesDB widget or Data API to fill country and subdivision selects for Brazil, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.
Use Brazil in your app
Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for Brazil (BR) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.