File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Meaningless Drivel and the fly likes US City, State Zipcode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "US City, State Zipcode" Watch "US City, State Zipcode" New topic

US City, State Zipcode

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Does anyone know of a free resource online that has all US city state and zipcodes in some sort of downloadable format like XML or CSV or something? Everything I find wants money for it, which I can do as a last resort. Thought I'd cover all the bases first.

GenRocket - Experts at Building Test Data
Kristin Stromberg
Ranch Hand

Joined: May 17, 2005
Posts: 91
Have you checked the USPS website? They have a free web tool and also a address verifier with monthly updates (looks like $50 a year).
[ September 26, 2005: Message edited by: Kristin Stromberg ]
Scott Johnson
Ranch Hand

Joined: Aug 24, 2005
Posts: 518
The US Census Bureau has that data available online.

Take a look at the "Places" file.
I agree. Here's the link:
subject: US City, State Zipcode
It's not a secret anymore!