US States and Abbreviation in JSON format

  • Posted on: 2 August 2017
  • By: jmu

I was working on the address form these days. Here are the US states in JSON format which includes the full state name and the Abbreviation. This great US states resource is from Githubhttps://gist.github.com/mshafrir/2646763.


states = [
    { "name": "Alabama", "alpha": "AL" },
    { "name": "Alaska", "alpha": "AK" },
    { "name": "Arizona", "alpha": "AZ" },
    { "name": "Arkansas", "alpha": "AR" },
    { "name": "California", "alpha": "CA" },
    { "name": "Colorado", "alpha": "CO" },
    { "name": "Connecticut", "alpha": "CT" },
    { "name": "Delaware", "alpha": "DE" },
    { "name": "District of Columbia", "alpha": "DC" },
    { "name": "Florida", "alpha": "FL" },
    { "name": "Georgia", "alpha": "GA" },
    { "name": "Hawaii", "alpha": "HI" },
    { "name": "Idaho", "alpha": "ID" },
    { "name": "Illinois", "alpha": "IL" },
    { "name": "Indiana", "alpha": "IN" },
    { "name": "Iowa", "alpha": "IA" },
    { "name": "Kansa", "alpha": "KS" },
    { "name": "Kentucky", "alpha": "KY" },
    { "name": "Lousiana", "alpha": "LA" },
    { "name": "Maine", "alpha": "ME" },
    { "name": "Maryland", "alpha": "MD" },
    { "name": "Massachusetts", "alpha": "MA" },
    { "name": "Michigan", "alpha": "MI" },
    { "name": "Minnesota", "alpha": "MN" },
    { "name": "Mississippi", "alpha": "MS" },
    { "name": "Missouri", "alpha": "MO" },
    { "name": "Montana", "alpha": "MT" },
    { "name": "Nebraska", "alpha": "NE" },
    { "name": "Nevada", "alpha": "NV" },
    { "name": "New Hampshire", "alpha": "NH" },
    { "name": "New Jersey", "alpha": "NJ" },
    { "name": "New Mexico", "alpha": "NM" },
    { "name": "New York", "alpha": "NY" },
    { "name": "North Carolina", "alpha": "NC" },
    { "name": "North Dakota", "alpha": "ND" },
    { "name": "Ohio", "alpha": "OH" },
    { "name": "Oklahoma", "alpha": "OK" },
    { "name": "Oregon", "alpha": "OR" },
    { "name": "Pennsylvania", "alpha": "PA" },
    { "name": "Rhode Island", "alpha": "RI" },
    { "name": "South Carolina", "alpha": "SC" },
    { "name": "South Dakota", "alpha": "SD" },
    { "name": "Tennessee", "alpha": "TN" },
    { "name": "Texas", "alpha": "TX" },
    { "name": "Utah", "alpha": "UT" },
    { "name": "Vermont", "alpha": "VT" },
    { "name": "Virginia", "alpha": "VA" },
    { "name": "Washington", "alpha": "WA" },
    { "name": "West Virginia", "alpha": "WV" },
    { "name": "Wisconsin", "alpha": "WI" },
    { "name": "Wyoming", "alpha": "WY" }
  ];
English