PT-BR · EN
Brazilian CEP (Postal Code) Generator
Generate valid Brazilian CEP (Código de Endereçamento Postal) numbers with coherent city, state and neighborhood, for address validation tests, shipping integration QA, e-commerce fulfillment sandboxes and customer onboarding flows. Each CEP returned matches an actual Brazilian geographic region.
Clique em Gerar para começar
What is a CEP?
CEP (Código de Endereçamento Postal) is the Brazilian postal code, equivalent to the US ZIP code or the UK postcode. It has 8 digits in the format XXXXX-XXX, where the first 5 identify the geographic region (city or city district) and the last 3 identify the specific delivery route. Every Brazilian address has a CEP, used for mail delivery, shipping, address validation, e-commerce fulfillment and tax jurisdiction lookup.
When to use a fake CEP
International e-commerce, logistics, and shipping platforms serving Brazilian customers need address test data that behaves like real Brazilian addresses. FakeForge generates CEPs with coherent city, state, neighborhood and street, so the test data passes any address validation API (Correios, ViaCEP, BrasilAPI) format check. Use cases: shipping rate calculation tests, address autocomplete sandbox, e-commerce checkout flows for Brazilian customers, fulfillment center routing, and any QA scenario that exercises Brazilian address logic.
Coherent address data
FakeForge does not just generate random 8-digit numbers. Each CEP is tied to a real city in one of 10 covered Brazilian states (São Paulo, Rio de Janeiro, Minas Gerais, Bahia, Paraná, Rio Grande do Sul, Pernambuco, Ceará, Distrito Federal, Goiás). The neighborhood matches a real neighborhood within that city. This matters because real address validators check that the CEP prefix matches the state, and many e-commerce platforms reject CEPs that do not match the declared shipping address.
REST API for shipping integration tests
# Generate 100 CEPs with coherent address
curl "https://fakeforge.com.br/api/generate?type=cep&quantity=100"
# Generate full address (street, neighborhood, city, state, CEP)
curl "https://fakeforge.com.br/api/generate?type=address&quantity=50"
# Bulk export as JSON for shipping rate test fixtures
curl -X POST "https://fakeforge.com.br/api/generate" \
-H "Content-Type: application/json" \
-d '{"type":"address","quantity":1000,"format":"json"}'Free tier: 100 requests per day, up to 10,000 CEPs per call.