malaysia-postcodes icon indicating copy to clipboard operation
malaysia-postcodes copied to clipboard

A Comprehensive List of Malaysia Postcodes, Complete with City and State Information, available in JSON format.

Malaysia Postcodes

A Comprehensive List of Malaysia Postcodes, Complete with City and State Information, available in JSON format.

Overview

This repository provides an extensive collection of Malaysia postcodes, indexed by city and state. It serves as a useful resource for developers, researchers, and anyone interested in postal data for Malaysia.

Data Structure

The data is structured in JSON, and the format is as follows:

{
   "name": "Kelantan",
   "city": [
       {
        "name": "Pasir Mas",
        "postcode": [
            "17000",
            "17007",
            "17009",
            "17010",
            "17020",
            "17030",
            "17040",
            "17050",
            "17060",
            "17070"
        ]
       }
   ]
}

Table of Contents

  • All Postcodes
  • Johor
  • Kedah
  • Kelantan
  • Kuala Lumpur
  • Labuan
  • Melaka
  • Negeri Sembilan
  • Pahang
  • Penang
  • Perak
  • Perlis
  • Putrajaya
  • Sabah
  • Sarawak
  • Selangor
  • Terengganu

What's New

For the latest updates, see the Changelog.

  • Removed incorrect-length postcodes from various cities (2023-08-27)
  • Updated previously missing postcodes for several cities in Melaka (2023-08-20)

NPM

For those interested in installing this dataset via NPM, you can do so with our malaysia-postcodes package.

Contributing

If you find any inaccuracies, typos, or missing data, we welcome contributions! Please feel free to open an issue or submit a pull request.

License

This repository is licensed under the MIT License. See the LICENSE file for more details.