CEP Lookup

Type a Brazilian CEP (ZIP code) and see the street, neighbourhood, city and IBGE code instantly.

How to use

  1. Type the 8-digit CEP — with or without the hyphen.
  2. The street name, neighbourhood, city, state and IBGE municipal code appear instantly.
  3. Use the IBGE code for tax forms, e-commerce integrations or any system that identifies a municipality by number.

About this tool

The CEP (Código de Endereçamento Postal) is Brazil's postal code system, managed by the Correios. Every deliverable address in the country has an 8-digit code, and the first five digits narrow down the region: the first digit is one of ten postal zones, the next two identify a sub-region, and the last two a delivery sector. The final three digits pinpoint the street or, in smaller towns, the entire municipality. This tool queries the ViaCEP public API — a free, open service that mirrors the Correios database — and returns the structured address.

The most common use is filling in address forms automatically: type the CEP and the street, neighbourhood, city and state appear without the user having to type or spell them. Developers use the same API call inside registration forms, e-commerce checkouts and CRM imports. The IBGE municipal code that comes with the response is the 7-digit identifier the Brazilian government uses for statistics, tax forms and official registries — it saves a separate lookup.

The query goes from your browser directly to ViaCEP's server and comes back as JSON. Nothing is stored or logged on this page. ViaCEP is a community project that has been online since 2012 and serves millions of requests a day; it mirrors the Correios data but is not an official Correios service, so a very recently created CEP may take a few days to appear.

Frequently asked questions

What is ViaCEP?

A free, public API that mirrors the Correios postal code database. It has been online since 2012 and is widely used in Brazilian web development. It is not an official Correios service.

Does my CEP leave my browser?

Yes — it is sent to ViaCEP's server (viacep.com.br) to look up the address. That is the only network request this page makes. Nothing is stored here.

Why was the CEP not found?

Either the number is wrong, or it is a very new CEP that has not yet been mirrored by ViaCEP. Check the number and try the Correios website for the latest data.

What is the IBGE code?

A 7-digit identifier assigned by IBGE (the Brazilian statistics institute) to every municipality. It is used in tax forms (like the nota fiscal), government registries and statistical databases.

Can I look up a CEP from an address instead?

Yes — use the companion tool "Busca CEP por Endereço", which searches by state, city and street name.

Related tools

Long links? Shorten them for free

Vai.la turns any URL into a short link with click statistics, QR Code and your own biolink.

Vai.la is not responsible for how the tools are used or for decisions made based on their results.