Home código postal Peru
Peru código postal validator
How the código postal format works
- Format
- 5 digits
- Example
- 15001
Things to watch for
- Format-only check — does not confirm the código postal actually exists
- Always exactly 5 digits with no separators
- SERPOST modernized the system to 5 digits in 2011; the first two digits are the department, so Lima-area codes all start with 15
^[0-9]{5}$A Peruvian código postal is the 5-digit code SERPOST (Servicio Postal del Perú) uses to route mail — for example 15001 for a Lima address. The current 5-digit format dates to a 2011 modernization, and because every code in the Lima department starts with 15, a code that claims to be a Lima address but starts with a different two-digit prefix is immediately suspect. Anyone validating a Peruvian shipping address, checkout form, or spreadsheet of customer records needs the código postal to be the right length and shape before it’s trusted.
Because the code is a bare 5-digit run with no separator, a code truncated to 4 digits (mistaking it for a shorter international format) or padded with an extra digit can slip through unnoticed without a length check at the point of entry.
How this validator works
This tool checks that the input is exactly 5 digits with no letters, spaces, or hyphens, entirely in your browser — nothing is sent to a server, and there’s no signup.
What a pass doesn’t tell you
A código postal carries no check digit, so confirming it’s 5 digits long is the most a client-side tool can do — not that SERPOST has assigned it to a real district. Confirming that requires SERPOST’s own postal code lookup tool.
Scope: this page and tool cover código postal format validation only — not address lookup, department matching, or confirming a code is currently in use.
código postal FAQ
How many digits does a Peruvian postal code have?
Always 5 — for example 15001 for a Lima address. SERPOST modernized the system to this 5-digit format in 2011, replacing an older, less consistent scheme.
What do the digits in a Peruvian código postal encode?
The first two digits are the department — Lima-area codes all start with 15 — and the final three pinpoint the district or local delivery zone within it.
Does a correctly formatted código postal mean it actually exists?
No. This tool only confirms the string is 5 digits — it doesn't check it against SERPOST's actual assignment list. Confirming a code is real requires SERPOST's own postal code lookup.