Brazil's new postal code — a 4×4 m digital address that reaches where postal codes can't.
Every place identified, everyone included.
As simple as a postal code, with just 8 characters. As precise as a traditional address, without needing a city, state, neighborhood, street or house number.
Already have a code? Paste it here to see where it is on the map.
Digital address
valid

Area
4 × 4 m (16 m²)
Characters
8, forever
Works without a street, number or postal code
Live adoption
addresses generated so far
The map shows where AFA Codes are being created across Brazil. Only the location appears — no personal data is ever displayed.
Why it matters
Every place needs an address
An address is for much more than receiving letters. It opens the door to citizenship.
Identify yourself and prove where you live
Receive mail and parcels
Access public and private services
Find your way and get around
Exercise fundamental rights
Carry out economic activities
Enter into legal relationships
Support government planning
And, most importantly: establish your territorial identity.
The problem
Why doesn't Brazil produce enough addresses for its people?
Ten dimensions explain why millions of places still have no precise address.
01
Territorial
The country's vast size and its remote areas.
02
Urban
Unplanned urban growth.
03
Land tenure
Informal settlements without land titles.
04
Economic
High cost of setting up and maintaining traditional addresses (street name, number and neighborhood).
05
Administrative
Responsibility is decentralized to municipalities and shared with city councils.
06
Technical
Address registers need constant updating.
07
Rural
No structured road network (road names and street centerlines).
08
Postal
The CEP postal code is outdated and too imprecise to identify a property.
09
Environmental
Frequent climate-driven changes to the land.
10
Social
Populations whose place of residence keeps changing.
The scale of the problem
Numbers that can't be left off the map
1 in 4
existing addresses have some flaw in conventional addressing and are imprecise.
14%
of the population lives in rural areas.
118 million
people without an address need a way to be found on the map.
8.1%
of Brazilians live in favelas and urban communities.
Source: IBGE — 2022 Census and the National Address Register for Statistical Purposes (CNEFE).
A complement to the CEP
It doesn't replace the postal code. It goes where postal codes can't.
Traditional addresses remain important for administrative and postal purposes; a precise geocode guarantees a location anywhere in the country, even where there is no street, postal code or house number. Postal addresses and digital geographic identifiers are therefore complementary.
CEP + postal address
• Street, number, neighborhood, city and state
• Covers an entire area
• Requires an officially recognized street
AFA Code
• 8 characters, e.g. R7FTD-HXU
• Identifies a 4 × 4 m square
• Works anywhere in Brazil
The solution
Every place identified, everyone included.
As simple as a postal code, with just 8 characters. As precise as a traditional address, without needing a city, state, neighborhood, street or house number.
Drop the pin
Open the map and mark your place — your house, your plot, your farm, your doorstep in the community.
Get your code
You instantly see the 8-character AFA Code of the 4 × 4 m square where the pin is.
Use it and prove it
Register with your CPF, issue your digital address declaration and use the code as your address.
For organizations
A solution for every type of organization
Governments, companies and civil society organizations use AFA.codes to include places and people.
Government
Municipality package, priced by population band: a digital address for the entire population and API access for public institutions.
contact sales
Company / Dev
ENCODE and DECODE API with public pricing and a free monthly allowance. Create your account and try it on your own, no sales call needed.
see API plans
Territory / NGO
Roll out AFA.codes in a neighborhood, village or community. For organizations that legitimately represent the territory.
contact sales

An initiative of ITGS — Instituto de Tecnologias Geo-Sociais AddressForAll
The civil society organization responsible for AFA.codes, for the institutional validation of proofs of address and for the software registration. Patent-pending technology.
Your place deserves an address.
In just a few minutes, you mark your place on the map and get your AFA Code. Your first address is free.
generate my digital address