Get Country name by Country id Magento 2.

Retrieve Country full name from Country Id Using Magento 2 by Country Class of Directory Module.

You need to instantiate CountryFactory in your class __construct() method to get the country full name.

The class responsible to get name is Magento\Directory\Model\Country.

call from template or other class,
$countryId = “IN”; // or IND
echo $countryName = $this->getCountryName($countryId);

For Country Id “US” or “USA” => United States.