Dataset Postal Code files - US Zip Code Geolocations

Added By mrflip

Find US zip code data and corresponding latitude and longitude in a simple text format. This zip code data set is organized alphabetically and includes every US zip code, along with the corresponding city, state, latitude and longitude.

Looking for more geo data? Check out the 2010 Census Demographic Profiles API to add demographics details to your geo analysis!


The data format is tab-delimited text in utf8 encoding, with the following fields:

country code: iso country code, 2 characters
postal code: varchar(10)
place name: varchar(180)
admin name1: 1. order subdivision (state) varchar(100)
admin code1: 1. order subdivision (state) varchar(20)
admin name2: 2. order subdivision (county/province) varchar(100)
admin code2: 2. order subdivision (county/province) varchar(20)
admin name3: 3. order subdivision (community) varchar(100)
latitude: estimated latitude (wgs84)
longitude: estimated longitude (wgs84)
accuracy: accuracy of lat/lng from 1=estimated to 6=centroid


This work is licensed under a Creative Commons Attribution 3.0 License. This means you can use the dump as long as you give credit to geonames (a link on your website to is ok) see

The Data is provided “as is” without warranty or any representation of accuracy, timeliness or completeness.

This readme describes the GeoNames Postal Code dataset.

The main GeoNames data dump is here:


Creative Commons BY

Attribution 3.0 Unported

You are free:

  • to Share — to copy, distribute and transmit the work * to Remix — to adapt the work

Under the following conditions:

  • Attribution — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

With the understanding that:

  • Waiver — Any of the above conditions can be waived if you get permission from the copyright holder. * Other Rights — In no way are any of the following rights affected by the license: * Your fair dealing or fair use rights; * The author’s moral rights; * Rights other persons may have either in the work itself or in how the work is used, such as publicity or privacy rights. * *Notice — For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.