Home poskod Malaysia

Malaysia Poskod validator

How the poskod format works

Format
5 digits
Example
50000

Things to watch for

  • Format-only check — does not confirm the poskod actually exists
  • Always exactly 5 digits with no separators
  • The first two digits identify the state or postal region; 50 is reserved for Kuala Lumpur
Regex for poskod
^[0-9]{5}$

A Malaysian poskod is the 5-digit code Pos Malaysia uses to route mail — for example 50000, the generic postcode long associated with central Kuala Lumpur. The first two digits identify a state or postal region, with the low-50s block covering the capital and its surrounding Klang Valley, while the rest of the country’s thirteen states and federal territories each occupy their own numeric range spanning both Peninsular and East Malaysia. Anyone validating a Malaysian shipping address, a checkout form, or a spreadsheet of customer records needs the poskod in the correct 5-digit shape before it’s trusted.

Because it’s a bare run of digits with no separator, a dropped or transposed digit produces a code that’s still superficially plausible, routing to an entirely different state without any obvious sign something’s wrong.

How this validator works

This tool checks that the input is exactly 5 digits with no letters, spaces, or hyphens, entirely in your browser, with nothing sent to a server.

What a pass doesn’t tell you

A poskod carries no check digit, so matching the 5-digit shape is the most a client-side tool can confirm — not that Pos Malaysia has assigned it to a real town. Confirming that requires Pos Malaysia’s own postcode lookup.

Scope: this page and tool cover format validation only — not address lookup or confirming a poskod is currently in use.

poskod FAQ

What is a poskod and how many digits does it have?

Poskod is Malay for 'postcode' — Malaysia's 5-digit code, written directly before the city name, e.g. 50000 for a general Kuala Lumpur address.

What does the leading two digits of a Malaysian poskod mean?

They identify a state or postal region — 50 through 60 cover Kuala Lumpur and the surrounding Klang Valley, while other ranges are reserved for Malaysia's other states across Peninsular and East Malaysia.

Does a correctly formatted poskod mean it actually exists?

No. This tool only confirms the string is 5 digits — it doesn't check it against Pos Malaysia's actual assignment list. Confirming a poskod is real, and seeing which town it names, requires Pos Malaysia's own postcode lookup.

← More Poskod validators