{{ !articles[0].partner.isSponsoringArticle ? "Platinum" : "Portal" }} Partner
php,css,html5,tool,json,html & xhtml,country list,flags

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


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

Published at DZone with permission of {{ articles[0].authors[0].realName }}, DZone MVB. (source)

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks