AFA.codes
Generate my address

What is an AFA Code

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.

generate my digital address

How it works

Brazil divided into 4 × 4 m squares

Imagine the map of Brazil covered by a grid of small squares, each 4 meters across. Every square gets a unique 8-character code — that's the AFA Code.

To get your digital address, you mark on the map the place where you live or work. The code of the square under the pin becomes your address: it works for a house in the city, a smallholding, an Indigenous village, a community or a riverside home — even where there are no street names, numbers or postal codes.

Codes use numbers and letters without vowels (except U) to avoid spelling out words by accident, and are written in two parts — 5 + 3 — so they're easy to read out and write down: R7FTD-HXU.

Every square in the grid has its own code. Your place is one of them:

4 × 4 meters

Each code identifies a 16 m² square — about the size of a room. Precise enough to point to your front door.

8 characters

As simple as a postal code: R7FTD-HXU. No city, neighborhood, street or number — the code already tells you where it is.

Forever

A code never moves. The same square will always have the same code, today and 50 years from now.

No personal data

The public map shows only the place. Whoever lives there is protected by the LGPD, Brazil's data protection law.

A complement, not a competitor

The AFA Code doesn't replace the CEP postal code

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.

Who it's for

An address for every person, a foundation for the whole country

Citizens

Generate their own digital address, issue an address declaration and download their address plate. The first address is free.

Governments and territories

Municipalities and local organizations roll out AFA.codes to put their entire population on the map and plan services.

Companies and developers

Use the API to turn coordinates into codes and codes into locations — for deliveries, customer records and service.

Your place deserves an address.

Mark your place on the map and get your AFA Code in just a few minutes.