Iran کد پستی validator
How the کد پستی format works
- Format
- 10 digits, written with a hyphen as 12345-67890
- Example
- 1136913111
Things to watch for
- Format-only check — does not confirm the کد پستی actually exists
- 10 digits total; normally written with a hyphen after the first 5 digits (12345-67890) — this validator strips it before checking
- Iran's code is precise almost down to the individual building, unlike the coarser area-level postcodes most countries use
^[0-9]{10}$An Iranian کد پستی (postal code) is the 10-digit code Iran’s National Postal Company assigns, normally written with a hyphen after the fifth digit — for example 11369-13111 for a central Tehran address. It’s one of the longest postal codes used anywhere, because rather than stopping at a neighborhood or street, the final digits are designed to identify a specific building. Anyone validating an Iranian shipping address, checkout form, or spreadsheet of customer records needs the full 10 digits correct before it’s trusted, since a wrong digit anywhere in the string can misroute mail to an entirely different building.
A common mistake is entering only 5 digits (mistaking a کد پستی for a shorter international postcode format) or leaving the hyphen in place after stripping spaces — both of which a length-and-shape check catches immediately.
How this validator works
This tool checks that the input is exactly 10 digits once any hyphen or space is stripped, entirely in your browser — nothing is sent to a server, and there’s no signup.
What a pass doesn’t tell you
کد پستی carries no check digit, so confirming it’s 10 digits long is the most a client-side tool can do — not that it’s been assigned to a real building. Confirming that requires Iran’s own National Postal Company lookup.
Scope: this page and tool cover کد پستی format validation only — not address lookup, building-level matching, or delivery confirmation.
کد پستی FAQ
Why is an Iranian postal code so much longer than most countries'?
Because it's built to identify almost an individual building rather than a broad delivery zone. Iran's کد پستی runs 10 digits — for example 1136913111 for a central Tehran address — where most countries' postal codes only narrow things down to a street or neighborhood.
Do I need to type the hyphen in a کد پستی?
No — this validator accepts the code with or without the hyphen (e.g. '1136913111' or '11369-13111'). The hyphen is a formatting convention after the fifth digit; the underlying code is always 10 digits.
Does a correctly formatted کد پستی mean it actually exists?
No. This tool only confirms the string is 10 digits — it doesn't check it against Iran's actual postal assignment database. Confirming a code is real requires Iran's National Postal Company lookup.