UtilityNest

CSV to Excel

Open CSV files as a proper Excel workbook without the usual damage: garbled characters, ZIP codes losing their leading zero and long ID numbers turning into 1.23E+15. Several CSV files can go into one workbook, one sheet each.

Works withMicrosoft ExcelGoogle Sheets

What you get

CSV, 522 bytes
cafe sales CSV text and the same data as an Excel sheet (CSV, 522 bytes)
Excel .xlsx, 3.6 KB
cafe sales CSV text and the same data as an Excel sheet (Excel .xlsx, 3.6 KB 1)

13 rows and 6 columns became a 3.6 KB .xlsx. The header is bold and frozen with filter buttons, dates are real Excel dates, and quantities and prices are numbers you can sum.

How to use CSV to Excel

  1. 1Drop one or more CSV, TSV or TXT files into the box.
  2. 2Check the detected encoding and delimiter next to each file, and change them if the preview looks wrong.
  3. 3Set the options: header row, convert numbers, keep dates as text and filter buttons.
  4. 4In the preview, click Auto under any column name to keep that whole column as text.
  5. 5Click Convert to Excel. Several files become one workbook with one sheet per file.

What goes wrong when you double-click a CSV

When Excel opens a CSV file directly it guesses the type of every value. ZIP code 02134 becomes 2134, a phone number like 01012345678 loses its first zero, a 16-digit card or order number is rounded to 1.23457E+15, and part numbers like 1-2 can turn into dates. If the file was saved in a different encoding, accented or Korean text becomes unreadable.

This converter decides the type of each value itself and writes it into the XLSX file directly, so Excel has nothing left to guess:

Values with a leading zero, a leading + sign or more than 15 digits are always stored as text. Ordinary numbers, numbers with thousands separators (1,500,000) and percentages (12.5%) become real numbers you can sum, with their format kept. Dates written as 2024-01-15, 2024/1/15 or 2024.1.15 become real Excel dates, or stay as text if you turn on Keep dates as text, while ambiguous dates like 03/04/2024 are left as text. On top of that, any column can be locked to text with one click in the preview.

Encoding and delimiter detection

The tool reads the raw bytes and recognizes UTF-8, UTF-8 with BOM, UTF-16, Korean EUC-KR/CP949 (the default for CSV saved by Korean Excel), Japanese Shift_JIS and Western Windows-1252. It also detects whether values are separated by commas, semicolons (common in Europe), tabs or pipes. Both choices can be changed per file, and the preview updates right away. If some characters cannot be decoded, a warning tells you to try another encoding.

The workbook gets sensible column widths, a bold header row that stays frozen at the top while you scroll and, if you like, filter buttons. Files with more than 1,048,576 rows, Excel's limit, continue on extra sheets with the header repeated.

Related tools

Going the other way? Excel to CSV saves sheets with an encoding Excel and other programs read correctly. To use the data in code, try CSV to JSON. For a printable copy, use Excel to PDF, which also accepts CSV files.

A tested example, value by value

We converted a small order export with the values Excel usually damages, then opened the XLSX and checked each cell's type:

ColumnValue in the CSVStored in the XLSX as
Phone01012345678Text, leading zero kept
Phone+821055556666Text
ZIP code04524Text
ZIP code13529Number
Card number1234567812345678 (16 digits)Text, all digits kept
Order number20261021000123 (14 digits)Number
Date2026-10-21 and 2026.10.21Real dates, shown as yyyy-mm-dd
Date10/03/2026Text (could be March or October)
Amount1,250,000Number 1250000 with #,##0 format
Amount12.5%Number 0.125 with 0.0% format
Part number1-2Text, not a date

Every value survived, but look at the ZIP code column: 04524 stayed text because of its leading zero, while 13529 became a number. A column holding a mix of text and numbers sorts and filters oddly and breaks lookups such as VLOOKUP or XLOOKUP. The preview showed "Kept 7 leading-zero or long numbers as text" as a hint. For identifier columns (ZIP and postal codes, employee numbers, order numbers, account numbers) click Auto under the column name and set it to text, so the whole column has one type.

Excel's own limits still apply

Converting cleanly does not lift Excel's built-in limits, listed in Microsoft's Excel specifications and limits (checked October 2026):

  • 1,048,576 rows by 16,384 columns per sheet. Longer files continue on extra sheets here, with the header repeated.
  • 32,767 characters per cell. Long text fields such as product descriptions or JSON stored in a column can exceed this.
  • 15 digits of number precision. This is why values longer than 15 digits are always kept as text: as numbers, Excel would replace the digits after the fifteenth with zeros.

If you only need to open a UTF-8 CSV once and do not mind Excel guessing types, Microsoft's own route is Data, Get Data, From Text/CSV, described in Opening CSV UTF-8 files correctly in Excel. A file that already starts with a BOM opens correctly with a double-click.

Frequently asked questions

Why do my leading zeros disappear in Excel?

Excel converts anything that looks like a number into a number, and numbers cannot start with zero. This tool stores those values as text in the XLSX file, so 00123 and 010-1234-5678 stay exactly as written.

Can I combine several CSV files into one Excel file?

Yes. Drop up to 30 files at once. Each becomes its own sheet, named after the file, in a single workbook called combined.xlsx.

My CSV shows strange characters. What should I do?

The file was probably saved in a different encoding. Encoding detection usually handles it, but you can pick the encoding by hand next to the file and check the preview.

How large can the CSV be?

Files of several hundred MB work on a desktop computer. Parsing runs in a background thread, so the page stays responsive. Phones have less memory, so very large files may fail there.

Are formulas in the CSV executed?

No. Text such as =SUM(A1:A3) is stored as plain text, which also protects you from formula injection in exported data.

Why is my ZIP code column partly text and partly numbers?

Codes with a leading zero, such as 04524, are kept as text, while codes without one, such as 13529, look like ordinary numbers. Click Auto under that column in the preview and choose text so the whole column has one type.

Why is a 16-digit number stored as text?

Excel keeps only 15 significant digits for numbers, so a 16-digit card or order number would lose its last digit. Stored as text, every digit stays exactly as in the CSV.

Which dates become real Excel dates?

Year-first dates such as 2026-10-21, 2026/10/21 and 2026.10.21. Day-month dates like 10/03/2026 stay as text because they could mean 10 March or 3 October.

Related guides