Question: I want to display woocommerce countries list some where on website. how can i get the country list like this as image?

![enter image description here](https://i.stack.imgur.com/UGPpn.png)

Answer: 
Here is very simple and minified code:

```
global $woocommerce;    
woocommerce_form_field( 'billing_country', array( 'type' => 'country' ) );

```
You can add this to your function.php if you want custom country : 

```
add_filter( 'woocommerce_checkout_fields', 'add_custom_select_country' );
function add_custom_select_country( $fields ) {
    $fields['billing']['billing_select_country'] = array(
        'type'      => 'select',
        'required'  => true,
        'clear'     => false,
        'options'   => array(
        'country'   => __('Country', 'woocommerce' ),
        'fr'        => __('France', 'woocommerce' ),
        'gb'        => __('United Kingdom', 'woocommerce' ),
        'ru'        => __('Russian', 'woocommerce' )
    )
);
return $fields;
}

```