Use the code below to get a list of all countries. It can be used to create a country dropdown list for example.

Getting a list of all countries
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!