CSV 转 Excel

把 CSV 文件转成 Excel 工作簿:真正的数字和日期、加粗冻结的标题行和筛选按钮。

你的文件始终留在你的设备上。

设置

工作原理

选择一个或多个 CSV 文件,或粘贴表格。工具会在浏览器中读取它们,识别分隔符和文本编码,并查看每一列的内容类型。然后生成一个 Excel 工作簿,每个文件一个工作表,供你下载。不会上传任何内容。

在 Excel 中得到什么

  • 真正的数字和日期:数字、日期、百分比和 TRUE/FALSE 列会变成可以求和、排序和筛选的 Excel 值。
  • 代码保持原样:带前导零的列(邮政编码、ID)或很长的数字(卡号、电话号码)保留为文本,不会被四舍五入或丢失。
  • 现成的标题行:加粗、滚动时固定在顶部,每一列都有筛选按钮。
  • 合适的列宽:每列宽度与内容相符,带换行的单元格会显示换行。
  • 安全打开:以 = 开头的单元格保留为文本,CSV 无法在 Excel 中运行公式。

常见问题

How do I convert a CSV file to Excel?

Choose your CSV file, or paste the table, and it's converted at once. Check the preview, then click Download Excel file to save the .xlsx workbook.

Will my numbers and dates work in Excel?

Yes. Columns of numbers become real numbers you can add up, dates become real Excel dates you can sort and filter, percentages become percentages and TRUE/FALSE become Excel's TRUE and FALSE. Untick "Turn numbers, dates and TRUE/FALSE into real Excel values" to keep everything exactly as text.

Will it remove the leading zeros from zip codes and IDs?

No. A column with a value like 02134 or 007 stays text, so every zero is kept. Long numbers such as card or phone numbers (more than 15 digits, or starting with +) stay text too, as Excel would round them.

Can I put several CSV files in one workbook?

Yes. Choose up to 20 CSV files together and each becomes its own sheet in one Excel file, named after the file.

Is my CSV uploaded to your server?

No. The Excel file is made in your browser, so your data never leaves your device. Only a count of how many conversions you made today is sent to our server.

How big a CSV can I convert?

Up to 100 MB per file. Excel holds 1,048,576 rows per sheet, so a bigger file carries on in a second sheet with the header row repeated.

Does it work with semicolon or tab-separated files?

Yes. Commas, semicolons, tabs and pipes are found automatically, and you can choose the separator yourself. Numbers like 1.234,56 are read the European way when the file uses them.

Can a CSV run formulas when it's opened in Excel?

Not with this converter. A cell that starts with = is written as plain text, so nothing in the CSV can run as a formula when you open the workbook.

博客文章