ZIP code

United States ZIP codes

United States ZIP codes have the format #####-####, for example 95014. zipcodestack has 42,595 ZIP codes for United States in 52 states.

Format
#####-####
Example
95014
Codes in our database
42,595
Local name
ZIP code

United States zip code format

Pattern#####-#### (# digit, @ letter)
Examples95014, 22162-1010
Regex^(?:(\d{5})(?:[ \-](\d{4}))?)$
Official lookuptools.usps.com

Format and regex from Google's address metadata (libaddressinput). The regex checks the shape of a code, not whether it exists.

ZIP Codes by state

StateRangeCodes
Alabama35004 – 36925811
Alaska99501 – 99950273
Arizona85001 – 86556530
Arkansas71601 – 72959706
California90001 – 961622,593
Colorado80001 – 81658645
Connecticut06001 – 06927429
Delaware19701 – 1998096
District of Columbia20001 – 56972277
Florida32003 – 349971,473
Georgia30002 – 39901952
Hawaii96701 – 96898137
Idaho83201 – 83877320
Illinois60001 – 629991,575
Indiana46001 – 47997968
Iowa50001 – 528091,055
Kansas66002 – 67954748
Kentucky40003 – 42788946
Louisiana70001 – 71497719
Maine03901 – 04992485
Marshall Islands96960 – 969702
Maryland20588 – 21930605
Massachusetts01001 – 05544685
Michigan48001 – 499711,159
Minnesota55001 – 56763992
Mississippi38601 – 39776531
Missouri63005 – 726431,157
Montana59001 – 59937404
Nebraska68001 – 69367620
Nevada88901 – 89883254
New Hampshire03031 – 03897281
New Jersey07001 – 08989723
New Mexico87001 – 88439427
New York00501 – 149052,154
North Carolina27006 – 289091,081
North Dakota58001 – 58856407
Ohio43001 – 459991,416
Oklahoma73001 – 74966765
Oregon97001 – 97920481
Pennsylvania15001 – 196122,176
Rhode Island02801 – 0294090
South Carolina29001 – 29945534
South Dakota57001 – 57799385
Tennessee37010 – 38589785
Texas73301 – 885952,600
Utah84001 – 84791347
Vermont05001 – 05907308
Virginia20101 – 246581,214
Washington98001 – 99403716
West Virginia24701 – 26886851
Wisconsin53001 – 54990896
Wyoming82001 – 83414195

ZIP Codes of the largest cities

Neighbouring countries

United States ZIP codes: FAQ

What is the zip code format in United States?

United States ZIP codes follow the pattern #####-#### (# = digit, @ = letter). Examples: 95014, 22162-1010.

What regex validates United States ZIP codes?

^(?:(\d{5})(?:[ \-](\d{4}))?)$ matches the official format (from Google's address metadata). It checks the shape only; whether a code exists needs a lookup in a postal code database such as the zipcodestack API.

What is the zip code of Washington?

Washington has 271 ZIP codes, starting with 20001. The right one depends on the street; see the full list for Washington.

How many ZIP codes are there in United States?

The zipcodestack database contains 42,595 ZIP codes for United States, each with place name, region and coordinates.

Postal code API

Look up United States ZIP codes by API

zipcodestack looks up, validates and searches postal codes in 149 countries: city, state, coordinates, distances and radius search, as JSON.

/v1/search documentation International postal code API All documentation

300 free requests every month. No credit card required.

GET https://api.zipcodestack.com/v1/search?codes=95014&country=us

{
  "results": {
    "95014": [{
      "postal_code": "95014",
      "country_code": "US",
      "city": "…",
      "state": "…",
      "latitude": …,
      "longitude": …
    }]
  }
}

Free postal code tools

Start using our ZIP Code API for free today!

Get 300 requests / month for free