Actions14
- CNPJ Actions
- CPF Actions
- CEP Actions
- Correios Actions
- IBGE Actions
- Conta Actions
- Formatar Actions
Formatar → Formatar CEP
AI-generatedSummary
Format a Brazilian postal code (CEP) string into the standard 00000-000 format.
Inputs
- CEP (required) — CEP to be formatted, accepts either only numbers or any format.
Output shape
A JSON object containing the original input, the formatted CEP string, and the digits-only CEP string.
Returns one output item per input containing the fields: original (input string), formatado (formatted CEP), and somente_numeros (digits only). The operation is performed locally without calling any external API.
Examples
Example 1: Input 01001000 to get formatted CEP
Set resource to 'Formatar', operation to 'Formatar CEP', and enter '01001000' in the CEP field.