Is this ZIP code real?
Type any five digits to see whether they are a ZIP code in the list, and where it is.
Get real US ZIP codes at random, with the city, state and county of each one.
Type any five digits to see whether they are a ZIP code in the list, and where it is.
A random ZIP code generator picks US ZIP codes at random for test data, forms and examples.
ZIP codes are the five-digit postal codes the US Postal Service launched in 1963. This generator draws from 40,977 real ZIP codes in the GeoNames postal code list, each with its city, state and county, so it never makes up a number.
That matters because most five-digit numbers are not ZIP codes. Only about 41% of the 100,000 numbers from 00000 to 99999 are in the list, so a random ZIP code built from five random digits is more often fake than real.
A ZIP code's first digit names a broad area, from 0 in the East to 9 in the West.
The next two digits narrow it to a regional area, and the last two point to a specific post office, according to the US Postal Service. The table shows which states each first digit covers in the GeoNames list.
| First digit | States | ZIP codes |
|---|---|---|
| 0 | CT, MA, ME, NH, NJ, RI, VT | 3,004 |
| 1 | DE, NY, PA | 4,423 |
| 2 | DC, MD, NC, SC, VA, WV | 4,556 |
| 3 | AL, FL, GA, MS, TN | 4,552 |
| 4 | IN, KY, MI, OH | 4,489 |
| 5 | IA, MN, MT, ND, SD, WI | 4,145 |
| 6 | IL, KS, MO, NE | 4,099 |
| 7 | AR, LA, OK, TX | 4,715 |
| 8 | AZ, CO, ID, NM, NV, TX, UT, WY | 2,794 |
| 9 | AK, CA, HI, OR, WA | 4,200 |
A few ZIP codes cross these lines. El Paso, Texas uses codes that start with 885, Washington, DC has six codes that start with 569, and New York's Holtsville and Fishers Island codes start with 0.
Choose a state and how many ZIP codes you need, then press Generate ZIP codes.
These settings will be converted to three random California ZIP codes in CSV.
State: California
How many: 3
Format: CSV
zip,city,state,county
93722,Fresno,CA,Fresno
95714,Dutch Flat,CA,Placer
91210,Glendale,CA,Los Angeles
Each run picks its own ZIP codes, but every row is a real California ZIP code with its county.
The ZIP code checker works the other way around. Type 12345 into it and it answers with the place:
12345
12345 is a real ZIP code.
Schenectady, New York.
County: Schenectady.
A ZIP code is real only if the US Postal Service has assigned it.
The table checks a few well-known numbers against the GeoNames list. The Postal Service names 00501, a ZIP code of its own for the IRS in Holtsville, New York, as the lowest, and 99950 in Ketchikan, Alaska as the highest.
| Number | In the list? | Place |
|---|---|---|
00501 | Yes | Holtsville, NY |
12345 | Yes | Schenectady, NY |
90210 | Yes | Beverly Hills, CA |
99950 | Yes | Ketchikan, AK |
00001 | No | None |
11111 | No | None |
88888 | No | None |
99999 | No | None |
A ZIP code is the US version of a postal code, and ZIP+4 adds four digits to it.
The Postal Service added ZIP+4 in 1983 to sort mail to a group of streets or a single large building. Other countries use their own formats, so a US ZIP code will not fit a Canadian or British address form.
| Code | Format | Example | Used for |
|---|---|---|---|
| ZIP code | 5 digits | 90210 | A US delivery area |
| ZIP+4 | 5 digits, a hyphen, 4 digits | 12345-6789 | A US group of streets or one large building |
| Canadian postal code | Letter, digit, letter, space, digit, letter, digit | K1A 0B1 | Canada |
| UK postcode | 5 to 7 letters and digits in two parts | SW1A 1AA | The United Kingdom |
The Random ZIP Code Generator only makes US ZIP codes, so it cannot give you a random postal code for Canada or the UK. With ZIP+4 turned on, the last four digits are random, so they will not match the real ZIP+4 of any address.
Texas has the most ZIP codes in the GeoNames list, 2,600, and Rhode Island the fewest, 90.
California is a close second with 2,593. The table counts every state and Washington, DC, 40,977 ZIP codes in all, which is also how many the State menu can draw from.
| State | Code | ZIP codes |
|---|---|---|
| Alabama | AL | 811 |
| Alaska | AK | 273 |
| Arizona | AZ | 530 |
| Arkansas | AR | 706 |
| California | CA | 2,593 |
| Colorado | CO | 645 |
| Connecticut | CT | 429 |
| Delaware | DE | 96 |
| District of Columbia | DC | 277 |
| Florida | FL | 1,473 |
| Georgia | GA | 952 |
| Hawaii | HI | 137 |
| Idaho | ID | 320 |
| Illinois | IL | 1,575 |
| Indiana | IN | 968 |
| Iowa | IA | 1,055 |
| Kansas | KS | 748 |
| Kentucky | KY | 946 |
| Louisiana | LA | 719 |
| Maine | ME | 485 |
| Maryland | MD | 605 |
| Massachusetts | MA | 685 |
| Michigan | MI | 1,159 |
| Minnesota | MN | 992 |
| Mississippi | MS | 531 |
| Missouri | MO | 1,157 |
| Montana | MT | 404 |
| Nebraska | NE | 620 |
| Nevada | NV | 254 |
| New Hampshire | NH | 281 |
| New Jersey | NJ | 723 |
| New Mexico | NM | 427 |
| New York | NY | 2,154 |
| North Carolina | NC | 1,081 |
| North Dakota | ND | 407 |
| Ohio | OH | 1,416 |
| Oklahoma | OK | 765 |
| Oregon | OR | 481 |
| Pennsylvania | PA | 2,176 |
| Rhode Island | RI | 90 |
| South Carolina | SC | 534 |
| South Dakota | SD | 385 |
| Tennessee | TN | 785 |
| Texas | TX | 2,600 |
| Utah | UT | 347 |
| Vermont | VT | 308 |
| Virginia | VA | 1,214 |
| Washington | WA | 716 |
| West Virginia | WV | 851 |
| Wisconsin | WI | 896 |
| Wyoming | WY | 195 |
These mistakes with random ZIP codes are easy to make and easy to avoid.
People use random ZIP codes wherever they need a real US location without a real person behind it.
For fake US phone numbers to go with them, use the Random Phone Number Generator. To turn the CSV output into JSON or back, use CSV to JSON and JSON to CSV, and to read a large CSV file in a table, use the CSV Viewer.
Yes, every ZIP code comes from the GeoNames list of 40,977 real US ZIP codes. GeoNames is not an official Postal Service source and ZIP codes can change, so use them as test data rather than for real mail.
Yes, 12345 is a real ZIP code for Schenectady, New York. Type any five digits into our ZIP code checker to test another number the same way.
No, the lowest ZIP code is 00501. The US Postal Service lists 00501 as a ZIP code of its own for the IRS in Holtsville, New York.
No, not for a real card payment. Payment forms that verify the card compare the ZIP code with the billing address your bank has on file, so a random one can get the payment declined.
Yes, choose the state in the generator and every ZIP code comes from that state. Delaware has 96 ZIP codes in the list, so asking for more with No repeats on gives you all 96.
The ZIP code data comes from the GeoNames postal code file for the United States (CC BY 4.0), dated 2026-09-23. The Random ZIP Code Generator leaves out military (APO, FPO, DPO) and territory ZIP codes.
PHPSecure Login System with PHP and MySQL
PHPShopping Cart System with PHP and MySQL
JavaScriptMulti Select Dropdown with HTML and JavaScript
JavaScript5 Ways to Detect Mobile Devices with JavaScript
PHPImplement Google Login with PHP
PHPEvent Calendar with PHP
PHPSecure Registration System with PHP and MySQL
PHPHow to Send Emails in PHP with Gmail SMTPTop categories
More categories
By language
Collections
Web references
Lookups