ZIP code validator

More details

What the validator checks
  1. Format: exactly 5 digits, or 5 digits plus 4 (with or without a hyphen).
  2. Existence: whether the 5-digit ZIP is in our list of 41,637 ZIP codes.

The 4-digit add-on is checked for format only. To confirm a full ZIP+4 for a street address, use the address lookup.

Examples
InputResult
94105Valid ZIP (San Francisco, CA)
94105-1804ZIP+4 format, 5-digit ZIP valid
941051804Also accepted as ZIP+4
9410Wrong format (only 4 digits)
00000Right format, but not a ZIP code
Common mistakes
  • Spreadsheets often drop leading zeros, so 02108 becomes 2108. Format the column as text.
  • Spaces or letters inside the code (for example “941 05”) make it invalid.
  • ZIP codes are not postal codes for Canada or other countries.
How we check this page

This tool uses public data files built from US Census Bureau, GeoNames and NANPA sources, and the examples above are calculated from the same files when the page is built. Pages are rebuilt from the same files whenever the data is refreshed, and automated checks look for broken links and missing values before each update goes live.

Last reviewed: October 2026. Updated: October 23, 2026. Read our sources and methodology, or tell us if something looks wrong.