Geocodes and digital addressing
Every place identified. People included.
As simple as a postal code, with 8 characters. As precise as a traditional address, without having to give a city, state, neighborhood, street or number. AFA.codes helps municipalities and companies catalog places and take services where they need to go.
Urban, rural and remote areas
National grid
Ready for data integration



Digital address · 8 characters · any point in the territory

Why it matters
Everyone needs an address.
An address is how someone proves where they live, receives what they need and is found by services. Without one, a person is invisible.
Proof of address, documents
Mail and parcels
GPS, deliveries, emergencies
Health, education, social assistance
Banks, internet, insurance
Voting, social benefits
Credit, businesses, taxes
Statistics and public policy
And most importantly: establishing your territorial identity.
The challenge
In a country where many people still don't appear on the map.
118 M
people without an address need a way to be found on the map
1 in 4
existing addresses has some flaw in conventional addressing and is imprecise
8.1%
of Brazil's population lives in favelas and urban communities
14%
of the population lives in rural areas
Sources: CNEFE/IBGE 2022
The causes
Why doesn't Brazil produce enough addresses for its people?
Creating street names, numbers and neighborhood boundaries is expensive, and keeping more than 106 million addresses up to date runs into technical and operational limits.
The country's vast size and remote areas
Cities that grow in a disorderly way
Settlements without regularization
High cost of creating and maintaining streets, numbers and neighborhoods
Responsibility spread across municipalities and councils
Registries that need constant updating
Unnamed roads and no mapped road network
Postal codes too imprecise to identify a property
Rain, droughts and disasters that change the territory
Populations that move house often
The solution
Where there is no street, there is AFA.codes.
From the city to the riverbank and the countryside, every place gets its own code. One code for every place, covering the whole territory.

Traditional address
Still important for administrative and postal purposes.
AFA.codes geocode
Guarantees the location at any point in the territory, even without a street, postal code or number.
The two are complementary: one does not replace the other.
How it works
From the country to the meter: the code gains precision with every character.
The territory is covered by a grid of cells that subdivide progressively. Each new character in the code points to a smaller cell, down to about 1 meter. Choose a level to see.
Illustrative geocode at level L21
Cell side: 1,024 × 512 m
Approximate scale: group of blocks
Example of the AFA.codes scientific grid, in base32. Odd levels use rectangular cells. Visual demonstration: the sample codes and grid dimensions do not replace an official AFA.codes geocoding.

Cell of the selected level
Imagery © Esri, Maxar, Earthstar Geographics and the GIS community
Example around Praça da Sé. At the finest levels, the cell is smaller than the resolution of the satellite photo.
Technology
End-to-end technology to support companies and governments.

Compatible with Brazilian government standards and defined by the country itself.

Progressive subdivision: each cell splits into smaller cells, alternating rectangles and squares.

Points, lines, polygons and rasters modeled in grid cells, ready for analyzing large volumes of data.
41 grid levels
A scientific grid, with logistics levels for everyday use.
From L0, a single cell covering the whole country, to L40, with 1-meter cells: each level splits the previous cell in two. At the finest level there are about 1.1 trillion cells.
All 41 levels, aimed at analyzing large volumes of data. Odd levels have rectangular cells.
Every 5 levels, the geocode gains one base32 character. It is a logistics code compatible with postal code fields.
- L0
1,048 km
- L1
1,048 × 524 km
H - L2
524 km
- L3
524 × 262 km
- L4
262 km
- L5
262 × 131 km
- L6
131 km
HY - L7
131 × 65.5 km
- L8
65.5 km
- L9
65.5 × 32.8 km
- L10
32.8 km
- L11
32.8 × 16.4 km
HYN - L12
16.4 km
- L13
16.4 × 8.2 km
- L14
8.2 km
- L15
8.2 × 4.1 km
- L16
4.1 km
HYN4 - L17
4.1 × 2.0 km
- L18
2.0 km
- L19
2,048 × 1,024 m
- L20
1,024 m
- L21
1,024 × 512 m
HYN46 - L22
512 m
- L23
512 × 256 m
- L24
256 m
- L25
256 × 128 m
- L26
128 m
HYN46-R - L27
128 × 64 m
- L28
64 m
- L29
64 × 32 m
- L30
32 m
- L31
32 × 16 m
HYN46-RV - L32
16 m
- L33
16 × 8 m
- L34
8 m
- L35
8 × 4 m
- L36
4 m
HYN46-RV7 - L37
4 × 2 m
- L38
2 m
- L39
2 × 1 m
- L40
1 m
HYN46-RV7H
Cell side at each level. In green, the digital postal code logistics levels with a sample geocode.

In the countryside too
An address right up to the gate.
Where the road has no name, the code identifies the property and can go on a sign at the entrance.
Who it's for
An address base for those who look after the territory.
Municipalities and governments
Registries, land and environmental management, statistics and planning on a single base.
Companies
Logistics, deliveries, credit, installation and maintenance of services with the customer's exact location.
Public services
Health, education, social assistance and civil defense reaching the right address, including in emergencies.
Communities
With a digital address, people who were invisible come to exist for services, public policies and opportunities.
A new standard for Brazil
Sovereignty over the country's geospatial infrastructure.
With AFA.codes, a country creates and manages its own geocodes, from a territorial grid it defines itself, and decides how to share them according to its licensing policies.
The result is more interoperability between systems, more open data and a harmonized national base for digital government.
Free for everyone
Use AFA.codes for free.
Every Brazilian citizen or company can use AFA.codes at no cost and get a code to identify their home, business or property, even where the street has no name yet. It works in the browser and can be installed on the phone's home screen.
- 100% free
- For citizens
- For companies
Available at app.afa.codes
A technology by ITGS
Shall we put every place in your territory on the map?
AFA.codes is developed by ITGS — Instituto de Tecnologias Geo-Sociais AddressForAll, with projects and partnerships in Brazil, Peru, Ecuador, Colombia and Cameroon. Tell us about your municipality's or company's challenge.


