CSV to Excel / TSV Converter

Paste CSV text or upload a .csv file, preview the parsed table, and download it as an Excel spreadsheet or a tab-separated values file. Everything stays on your device.

Convert Your CSV

!

Disclaimer Notice

Technical Disclaimer: This CSV to Excel / TSV Converter processes source code and data strictly client-side. Always back up critical code before performing minification, formatting, or encoding operations.

'; rows.forEach(function (row) { html += ""; row.forEach(function (cell) { html += ""; }); html += ""; }); html += "
" + escCell(cell) + "
"; return html; } function downloadExcel() { if (!currentRows) { showError("Please parse the CSV first."); return; } var blob = new Blob([buildExcelHtml(currentRows)], { type: "application/vnd.ms-excel;charset=utf-8" }); downloadBlob(blob, "data.xls"); } function downloadTsv() { if (!currentRows) { showError("Please parse the CSV first."); return; } var tsv = currentRows.map(function (row) { return row.join("\t"); }).join("\n"); var blob = new Blob([tsv], { type: "text/tab-separated-values;charset=utf-8" }); downloadBlob(blob, "data.tsv"); } document.getElementById("parseBtn").addEventListener("click", parse); document.getElementById("excelBtn").addEventListener("click", downloadExcel); document.getElementById("tsvBtn").addEventListener("click", downloadTsv); })();