You may download historical cryptocurrency prices in CSV / Excel format from the Export As button below the price chart.

For example, here is the link for Litecoin:
https://www.coingecko.com/en/coins/litecoin/historical_data/usd#panel