Country Lists In HTML And SQL

Most of the membership forms include a country list.

Urbano Alvarez is presenting ready to use country list data in several languages.

The lists are in the HTML format as:

<select id="countrySelect" >
<option value="AF">Afghanistan</option>
<option value="AL">Albania</option>
<option value="DZ">Algeria</option>
<option value="AS">American Samoa</option>

For country lists in SQL format, you can also use the files at:

  • Wow I wish I’d have had that 4 months ago. I ended up scraping this data off of another site and hacking at it for output.

  • @Paul,

    Hacking a HTML data for such a list can ve a very annoying process I can guess.

    You have a resource for the next time :).

  • Well, a simple search for “countries list” in Google would give such lists… And with some little work, you can have these automagically translated. I wouldn’t trust an automatic translation tool for long texts, but for simple words like language names and country names, it works like a charm… My website is automatically translated in several languages on server side thanks to an API…

  • Thanks for mentioning, it always helps 😉

  • @Alejandro,
    No prob. Great resource.