Reverse CEP Lookup

Search by state, city and street name to find the CEP — when you know the address but not the postal code.

How to use

  1. Type the two-letter state code (UF), the city name and at least three characters of the street name.
  2. Click Search — the matching addresses with their CEPs appear as a list.
  3. The search returns up to 50 results. If the list is too long, add more characters to the street name to narrow it down.

About this tool

When you know the address but not the CEP, this tool searches the other way around. Type the state, the city and part of the street name, and the ViaCEP API returns every matching address with its CEP. It is the same database as the direct CEP lookup, queried from the address side.

The search requires at least three characters of the street name to avoid returning the entire city. It matches against the beginning of the street name, so "Praça da Sé" finds "Praça da Sé" but not "Rua da Sé". If the street has a common name, add more characters to narrow the results. The API returns up to 50 matches.

Like the direct lookup, the query goes from your browser to ViaCEP's server. Nothing is stored on this page. The results include the full address with neighbourhood and IBGE code, so you can pick the right one and use it directly.

Frequently asked questions

Why are there no results?

Check the spelling of the city (it must match exactly, with accents) and try a shorter street name. Some rural addresses or very new streets may not be in the database.

Does this work for any Brazilian address?

It covers the same database as the Correios system, mirrored by ViaCEP. Very small towns may have a single CEP for the entire municipality, and individual streets within them may not appear in the search.

What is the UF?

The two-letter state abbreviation — SP for São Paulo, RJ for Rio de Janeiro, MG for Minas Gerais, and so on. All 26 states and the Federal District (DF) are covered.

Can I search without the street name?

No — the API requires at least three characters of the street name. For a municipality-level CEP, use the direct lookup tool with the city's general CEP.

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.