Convert HTML Table to .xlsx file using EPPlus. EPPlus library only supports .xlsx(Office 2007 and above). The TableToExcel class uses EPPlus and Windows.Form. It can convert HTML to bytes array.