全球免费使用

CSV 转 Excel 转换器(CSV 转 XLSX)

将 CSV 文本或 .csv 文件转换为真正的 .xlsx 电子表格:表头加粗、首行冻结、列宽自适应,数字按数字存储。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

Opening a CSV in Excel often goes wrong: leading zeros disappear, long numbers turn into scientific notation, accented characters break and semicolon files land in a single column. Converting the CSV into a proper .xlsx workbook first avoids all of that.

Paste CSV text or choose a file, and this tool detects the delimiter, writes an .xlsx with a bold, frozen header row and fitted column widths, and stores numeric values as numbers (so SUM works) while keeping codes such as postal codes and phone numbers as text when they look like identifiers.

使用方法

  1. Paste CSV text or choose a .csv file.
  2. Leave the delimiter on automatic, or choose comma, semicolon or tab.
  3. Choose whether numbers are stored as numbers.
  4. Run it and download the .xlsx file.

计算原理

The CSV is parsed per RFC 4180 (quoted fields, embedded commas and line breaks) after detecting the delimiter from the first lines. The workbook is written as Office Open XML with a header style, a frozen first row and column widths based on content length.

CSV rows → XLSX sheet (header row bold and frozen)

计算示例

A store manager pastes a semicolon-separated sales export with three columns: Date, Store and Total. The delimiter is detected automatically and the workbook has 3 rows (the header plus two days) and 3 columns, with the header bold and frozen so it stays visible while scrolling.

示例输入和结果

选择文件并点击“运行”。转换后的文件会直接从浏览器下载。

局限性

  • One sheet per workbook.
  • Very large CSVs are limited by browser memory.
  • No formulas or charts are created.

最后更新:

常见问题

Will leading zeros be kept?

Values that look like codes (such as 00123) are kept as text when number conversion would change them.

Which delimiter does auto detect?

Comma, semicolon or tab, based on which splits the first lines most consistently.

Does it open in Google Sheets?

Yes, the .xlsx opens in Excel, Google Sheets, Numbers and LibreOffice.

故障排除

Everything is in one column.

Choose the delimiter manually.

Decimal commas are not numbers.

Use a semicolon-delimited file and check the numbers setting; values like 1 250,50 may stay text.

Characters are garbled.

Save the CSV as UTF-8 before converting.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步