How to generate Brazilian postal codes
Choose any state or all of Brazil and generate a real postal code with matching street, neighborhood, city, state, and area code. Generate another result or copy the current address.
Real postal data for software tests
The tool selects from a local curated dataset with six records per Brazilian state. The expanded list includes cities outside state capitals and does not make a network request during generation.
Privacy and appropriate use
The dataset contains public postal information and no resident identities. Use the results for development, input masks, fixtures, imports, and staging—not to claim residence or represent another person.
Frequently asked questions
Do generated postal codes exist?
Yes. The tool selects from a curated local list of real postal codes instead of creating eight random digits.
Does the address match the postal code?
Yes. Postal code, street, neighborhood, city, state, and area code come from the same record.
Can I choose a state?
Yes. Select any of Brazil’s 26 states or the Federal District, or generate results from the whole country.
Does the tool call an API?
Not while you use it. Generation happens locally in the browser and results are not sent to CosmoTools.