CSV to XLSX Converter, Leading Zeros Kept | MiConvert

CSV to XLSX Converter (Excel Workbook)

Upload a comma-delimited UTF-8 CSV and download an XLSX workbook with your header row and data on a single sheet. Every cell is stored as text, so leading zeros survive, but numeric columns need one quick conversion in Excel before you can sum them.

📁

Drop your file here

or click to browse

Select File

Max 10 files, 50MB each

SSL Encrypted Auto-deleted No Sign Up 100% Free
CSV → XLSX

Why turn a CSV into an XLSX file

A CSV is plain text: rows on separate lines, values split by commas, and nothing else. There are no sheets, no cell types and no saved layout. Excel can open one, but it re-interprets the file every time you double-click it. Order numbers lose their leading zeros, long IDs collapse into scientific notation, and codes like 3-4 turn into dates. When a portal, a colleague or a template asks for a real .xlsx file, renaming the CSV is not enough.

MiConvert converts the file on our server. It reads the whole CSV as UTF-8 and parses it the way the CSV standard describes: a quoted field can contain commas, line breaks and doubled quote marks, and it still stays in one cell. Blank rows at the end of the file are dropped. The rows are then written with exceljs, an open-source spreadsheet library, into a workbook with one worksheet named Sheet1. Your first line becomes row 1. There are no settings to choose.

What comes through is the text exactly as it appears in the file. 00742 stays 00742, 0012.50 stays 0012.50, and names such as Zürich or Trần Văn A are kept, provided the CSV was saved as UTF-8. The trade-off is that every cell is a text cell. Excel will not treat amounts or dates as numbers until you convert those columns. No formatting, column widths or frozen header rows are added.

The parser only splits on commas. A file that uses semicolons or tabs, which is common in European Excel exports, ends up mostly in column A. Files in other encodings are not decoded correctly: a Windows-1252 file shows replacement characters wherever a non-ASCII letter was, and a UTF-16 file comes out garbled throughout. If the CSV starts with a UTF-8 byte order mark, that invisible character stays at the start of cell A1.

How to convert CSV to XLSX

  1. Open the CSV in a plain text editor and look at the first line. If the values are separated by semicolons or tabs, re-export the file with commas as the separator before you upload it.
  2. Check the encoding. If accented or non-Latin characters matter, save the file as UTF-8 (most editors offer this under Save As). Files in other encodings will show replacement characters in the workbook.
  3. Make sure the first line holds your column names, because it becomes row 1 of Sheet1 exactly as written.
  4. Upload one CSV, or several at once within your plan's batch limit. Each file becomes its own XLSX.
  5. Press Convert and download the workbook. The download link works for about 4 hours.
  6. In Excel, convert any columns you want to calculate with. Select the column and use Data, then Text to Columns, then Finish, or click the warning icon and choose Convert to Number.

What the CSV to XLSX converter does

  • Quote-aware parsing: a value like "Carol, Jr." or a quoted address with a line break stays in a single cell instead of spilling into the next column.
  • Text kept as written: leading zeros, padded decimals and long ID numbers are stored as text cells, so Excel cannot strip or round them.
  • UTF-8 support: accented letters and non-Latin scripts appear as typed, as long as the source file is saved in UTF-8.
  • One plain worksheet: Sheet1, with your header row first and no added styling, ready for your own formatting, filters or pivot tables.
  • A standard .xlsx output that opens in Excel 2007 and later, LibreOffice Calc and Google Sheets.

Video Tutorial

Watch this step-by-step tutorial to learn how to convert CSV files to XLSX format online for free using MiConvert.com. No software installation required.

CSV to XLSX questions

Why do my numbers show as text, with green triangles in Excel?

The converter writes every value as a text cell. That is what keeps leading zeros intact, but it also means SUM and sorting treat amounts as text. To fix a column, select it and choose Data, then Text to Columns, then Finish. You can also select the cells, click the yellow warning icon and pick Convert to Number. Date columns can be fixed the same way, using the Date option in step 3 of Text to Columns.

My whole CSV ended up in column A. What went wrong?

Your file is almost certainly separated by semicolons or tabs. MiConvert splits only on commas and does not detect other delimiters. Re-export the file with commas as the separator from the program that created it, so that values containing commas, such as decimal amounts like 12,50, are quoted. Do not just replace the semicolons with commas in a text editor, because decimal commas would then split numbers across columns. Excel's From Text/CSV import also lets you pick the delimiter yourself.

Why do I see question-mark symbols or a stray character before my first header?

Replacement symbols mean the CSV was not saved as UTF-8. A common cause is Excel's plain 'CSV (Comma delimited)' option, which saves Windows-1252 on many systems. Save it as 'CSV UTF-8 (Comma delimited)' and convert again. An invisible character at the start of cell A1 is a UTF-8 byte order mark carried over from the file. If a lookup or import depends on the first header name, retype that cell.

Can I convert CSV to XLSX without opening Excel?

Yes. Upload the CSV here and download a finished .xlsx, with no import wizard and no manual Text to Columns step for splitting the data. You only need Excel later if you want numeric columns typed as numbers.

How do I convert CSV to XLSX in Excel itself?

In current Excel versions, go to Data, then From Text/CSV, and pick your file. In the preview you can set the File Origin to 65001 Unicode (UTF-8), choose the delimiter and let Excel detect column types. Click Load, then save the result as an Excel Workbook. This route handles semicolon files and typed numbers, which this converter does not.

Can I automate CSV to XLSX with Power Automate, PowerShell or Python?

This page is a manual upload tool. For scripts, use pandas.read_csv with DataFrame.to_excel in Python, Import-Csv with Export-Excel from the ImportExcel module in PowerShell, or the Excel Online (Business) actions in Power Automate.

How large a CSV can I convert, and how many at once?

Without an account you can convert files up to 50 MB, 10 per batch, at no cost and with no sign-up. A free account raises this to 100 MB per file. Plus allows 200 MB and 25 files, and Pro allows 1 GB and 50 files. The whole CSV is held in memory during conversion, so a CSV in the hundreds of megabytes can fail even within your plan's limit. Split very large files before converting. Data files are not covered by the pay-once large-file service.

What happens to my CSV and the XLSX after conversion?

Your upload is deleted as soon as the conversion finishes. The converted file can be downloaded for about 4 hours, then it is deleted automatically. The download link is a long random token sent over HTTPS, but anyone who has it can use it until it expires, so share it with care. File names, sizes and job outcomes are logged for operations. If you are signed in, the conversion, including the file name, stays in your history until you delete your account.