You can open Excel files in the browser using JavaScript and PSPDFKit by converting the Excel file to PDF and then displaying it using the PSPDFKit viewer.