Useful List of Countries for HTML, JSON, PHP, and MORE!
The List Of Countries usage scenario is simple – this is the task that needs to be solved in a majority of applications. No matter which programming language or data format you use in your application (or which language you speak, for that matter), this country list will suit your needs.
Formats Available:
- Text
- JSON
- YAML
- XML
- HTML (Select, Flags)
- CSV
- SQL
- PHP
For developers, this is the most common case, they simply need a country table for their database. There are few SQL dumps for each DBMS:
- MySQL
- PostgreSQL
- SQLite
- SQL Server
Multilingual
All formats are also available in multiple languages, and you can find the full language list here.
Country Flags
Thanks to the world-flags-sprite project,a special HTML version which includes country flags could be done. You can see the demo page here.
Requirements: None
Demo:http:/ / dev. umpirsky. com/ …all-data-formats/
License: Free
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)






