ZIP code tool

Random ZIP Code Generator

Get a random US ZIP code with its matched city and state for sample forms and spreadsheets. Choose a location, generate a result, then copy the ZIP or export the matched fields. Leading zeroes stay intact.

Choose a place

Choose from 261 city–state–ZIP pairs. This tool returns postal codes, without a street address or personal details.

Advanced: batch, seed and preset

Your ZIP code

Random ZIP code02201

Boston, MA

Copy a ZIP code without losing its place.

A ZIP such as 02108 begins with a zero. Our data and exports keep it as text, alongside its selected city and state, so the postal code keeps its location context.

Random ZIP code generator FAQs

How do I generate a random US ZIP code?

Choose a supported state and city, or leave the filters open, then select Generate ZIP code. Copy the ZIP alone or download the results with their city and state.

Does each ZIP code match a city and state?

Yes. This tool selects from 261 supported city–state–ZIP pairs. It does not attach a random five-digit number to a street address.

Can I choose a specific state or city?

Yes. Selecting a state narrows the cities; selecting a city narrows its ZIP codes. Only combinations present in the postal catalog can be selected.

Why does a ZIP code such as 02108 start with zero?

The leading zero is part of the five-character postal code. Copy and exports preserve it. Import a CSV ZIP column as Text so a spreadsheet does not remove the zero.

Does this tool generate ZIP+4 codes?

No. The catalog provides five-digit ZIP codes, not delivery-point extensions. Do not append random digits to create a ZIP+4 value.

Can I generate a list of 100 or 1,000 ZIP codes?

Open Advanced settings, choose up to 1,000 records and generate the list. Download JSON, CSV, SQL or plain text. Codes can repeat because they are selected from a finite catalog.

Does this catalog contain every US ZIP code?

No. It contains a selected set of city–state–ZIP pairs. It is separate from the location catalog used by the address tools.

Does a ZIP code result include a street address?

No. This tool returns a ZIP, city and state. Use the US address generator when you need a complete generated address sample.

Can I generate international postal codes here?

This tool is for US ZIP codes. Open a country or region address tool for its own postal formats and address samples.

Explore the US address generator