Are ZIP Codes Copyrighted? What You Can Actually Do With the Data
If you have ever built an app that needs a ZIP code lookup, you have hit the weirdest question in American open data: are ZIP codes copyrighted? The answer has four parts, and the fourth one is a genuine mystery.
Are ZIP codes copyrighted? The four-part answer
Part one is simple. Under U.S. copyright law, facts cannot be copyrighted. Nobody can copyright the fact that 90210 belongs to Beverly Hills, California, any more than they can copyright the boiling point of water. A bare list of five-digit codes matched to city names is a list of facts, and facts are free.
Part two is the trademark. "ZIP Code" is a registered trademark of the United States Postal Service. That does not stop you from writing the words, but it means naming your product "ZIP Code Pro" is asking for a letter you do not want. Call it a "postal code database" and move on.
Part three is the one most people skip, and it is the part that actually gets people in trouble. The facts are free, but the compiled databases are not all the same thing. Each vendor's download carries its own license terms. Some, like ZipCodesToGo, explicitly license their data for commercial use. Others, like UnitedStatesZipCodes.org, grant a personal-use-only license and prohibit commercial use of the materials on their site. The raw facts inside cannot be re-copyrighted, but the vendor's file, with its formatting, corrections, and extra columns like latitude and longitude, is a product with terms attached. "The data is free" and "every database is free to use however I want" are two different statements, and confusing them is the actual risk.
The official list that does not exist
Which brings us to part four, the mystery. You would think the Postal Service would publish the official list, since it creates the codes. It mostly does not. Back when a civic developer named Robb Shecter filed a FOIA request for an electronic copy of all current ZIP codes with their preferred cities and states, USPS denied it. The denial letter, from the manager of address management, called the list "commercially sensitive, proprietary business information" protected as a trade secret. The agency that invented ZIP codes told a citizen that its list of ZIP codes was a trade secret. I still do not know what to do with that.
A tempting workaround is to skip the licensed files and just copy the bare facts out of one, code plus city, which nobody can own. In principle that works. In practice it is a trap, because the bare facts are the easy part. What makes a compiled database worth using is the added data: the latitude and longitude centroids, the county assignments, the time zone flags. That compiled layer is exactly what the license covers, and it is also the layer that rots fastest. ZIP codes change constantly, sometimes hundreds in a month, and a free file nobody updates becomes a liability in a checkout form or a shipping calculator. This is the real reason paid and licensed databases exist: not the facts, which are free, but the maintenance, which is not.
The honest read
So here is my honest read, and I will not dress it up as legal advice. The raw fact that a ZIP code exists for a place is not ownable. The "ZIP Code" brand is owned. The compiled files you download come with whatever license their compiler chose, and those licenses genuinely differ. And the one canonical, official, free-from-the-source file you might expect to exist does not, at least not in the way anyone outside USPS can get it.
The practical move is boring: pick a compiled CSV whose license explicitly allows commercial use, keep the attribution the license asks for, and do not name anything with the trademark. That is what this site's free database is for.
One related oddity
Since privacy keeps colliding with these five digits: in California, the state supreme court ruled in Pineda v. Williams-Sonoma that a ZIP code counts as "personal identification information" under the Song-Beverly Credit Card Act, so retailers cannot record it during credit card transactions. The same code that is a non-copyrightable fact in your app is legally your personal information at a checkout counter. Different law, different question, same five digits.
FAQs
Can I use ZIP codes in a commercial app?
The raw facts, which code goes with which city, are not copyrightable, so building them into a product is fine. But check the license of the specific database file you downloaded: some free sources restrict their files to personal use. Use a source that explicitly permits commercial use.
Is ZIP Code trademarked?
Yes. The United States Postal Service owns the ZIP Code trademark. You can write about ZIP codes, but using the mark in a product name or branding invites a dispute.
Does USPS publish an official free ZIP code list?
Not in any practical sense. USPS once denied a FOIA request for its master list, calling it commercially sensitive trade-secret information. The working free sources are third-party compilations, each with its own license terms.
Why do some free ZIP databases forbid commercial use?
The facts inside are not ownable, but the compiled file, with its formatting, corrections, and added fields like coordinates, is the vendor's product. They can attach whatever license they want to their file, and terms vary widely between vendors.
Download the starter database as CSV. Check the license, keep the attribution, ship your app.
Download the free ZIP CSV
Want more of these? I write one practical guide a week on money, careers, and tools that pay for themselves. Subscribe free here.