Skip to the content

Contact usFree tools · No signup · Files stay on your device

Developer Tools

CSV to Excel: the complete guide to opening CSV files correctly in Excel

CSV to Excel: the complete guide to opening CSV files correctly in Excel

Opening a CSV file by double-clicking it is the fastest way to damage the data inside it. Excel decides for itself what each cell is, so a phone number loses its first zero, a long ID turns into 1.23457E+15, and a file with Bangla names fills with strange symbols. Our free CSV to Excel converter reads the CSV text itself and writes a real .xlsx workbook, so the values arrive the way they were written.

This guide covers every control on the page, which values stay text and which become numbers, how several files become several sheets, and what to do when the preview looks wrong. If you only need to fix phone numbers, jump to how to stop Excel removing the 0 from BD phone numbers.

What CSV to Excel does

A CSV file is plain text: one record per line, values separated by a comma or another character. It has no sheets, no column widths and no cell types. Converting it means building a workbook around that text.

The tool will:

  • Read one or more CSV files, or CSV text that you paste.
  • Detect the delimiter, or use the one you pick.
  • Decide which values become numbers and which stay text.
  • Make the first row a bold header that stays visible and has filter buttons.
  • Fit column widths to the content.
  • Give you a .xlsx file for Excel, Google Sheets or LibreOffice.

It does not change dates, fix spelling, remove duplicates or write formulas. It also does not repair a CSV that is broken: it shows a warning and still builds the workbook from what it could read.

How to use CSV to Excel, step by step

  1. Open CSV to Excel.
  2. Press "Choose CSV files" or drop your files on the box. The box accepts .csv, .tsv and .txt files. If you have no file, type or paste the text into "Or paste CSV" instead.
  3. Look at the Preview panel. It shows the first 50 rows.
  4. In "Excel options", check Delimiter, "First row is a header" and "Store numbers as numbers".
  5. Press "Convert to Excel & download". The browser saves the file and a green note says how many sheets were made and how big the file is.
  6. If you lose the download, press "Download again".

The pasted text box disappears once you add a file. Press Clear to remove the files and get the box back.

Every option explained

Delimiter

The default is "Detect automatically". The tool tries comma, semicolon, tab and pipe on the first lines of the file and picks the one that splits every line into the same number of columns. That works for almost every export.

Choose a delimiter yourself when the file is very small or irregular. A CSV with two lines, for example, gives the detector little to compare. The choices are Comma (,), Semicolon (;), Tab and Pipe (|). Semicolon files are common when a program exports from a computer that uses a comma as the decimal mark.

First row is a header

When ticked (the default), row 1 is bold, stays visible when you scroll down, and has filter buttons over every column. The first row is also kept as text, so a header such as 2026 is not turned into a number.

Untick it when your file has no column names. Row 1 is then treated like any other row, and no bold, frozen row or filter buttons are added.

Store numbers as numbers

When ticked (the default), plain numbers become real Excel numbers, so SUM, sort and filter work. The rules come straight from the converter:

In the CSV In the workbook
1500, 99.5, -250 number
1,500 and 1,250,000.50 number (the commas are removed)
01712345678, 007 text (leading zero kept)
1234567890123456 (16 digits) text (Excel keeps only 15 digits)
5e3 text
12/05/2026, 2026-03-01 text
Rahim Uddin, yes text
empty empty cell

A hint under the checkbox says the same in short: values with leading zeros and long IDs stay as text so Excel does not change them.

Untick the box and every value, including amounts, is written as text. Use that only when the file holds codes, not figures.

One detail worth knowing. A number written with a country code and a plus sign, such as +8801712345678, stays as text, so the plus sign is kept. The same goes for values with a leading zero. A country code without the plus, such as 8801712345678, is a plain 13-digit number, so it is stored as a number; if it must stay text, untick "Store numbers as numbers" for that file.

What it accepts and its limits

  • File types: .csv, .tsv and .txt. Several files can be added at once, and you can add more later.
  • File size: each file can be up to 200 MB. A larger file is refused with a message that names the file.
  • Delimiters: comma, semicolon, tab and pipe.
  • Encoding: UTF-8 is read as it is. UTF-16 files with a byte-order mark are read as UTF-16. A file that is not valid UTF-8 is read as Windows-1252, and a note says so: "A file wasn't UTF-8, so it was read as Windows-1252 (Western European). Check accented letters in the preview."
  • Quoted values: values inside double quotes can contain commas and line breaks. A cell with a line break is written with wrapped text.
  • Cell length: Excel allows 32,767 characters in one cell, and longer text is cut at that point.
  • Sheet names: each file becomes a sheet named after the file. Excel's rules apply: 31 characters at most, no : \ / ? * [ ], and duplicates get a number such as "(2)". Pasted text goes to a sheet called Sheet1.
  • File name: one file gives <name>.xlsx, several give Combined.xlsx, and pasted text gives Data.xlsx.

Privacy

CSV to Excel runs in your browser. The files are read on your device and the workbook is built there, so nothing is uploaded. That makes it suitable for customer lists, payroll exports and student results. You can check on a computer by opening the browser's developer tools and watching the Network tab while you convert.

A worked example

Suppose a small shop exports orders as orders.csv:

Order,Customer,Phone,Amount,Paid
BD-1001,Rahim Uddin,01712345678,"1,500",yes
BD-1002,Nusrat Jahan,01812345678,720,yes
BD-1003,Imran Hossain,01912345678,"2,350.50",no

Drop the file, leave everything on its defaults and press "Convert to Excel & download". In orders.xlsx:

  • Row 1 is bold, frozen and has filter buttons.
  • Phone shows 01712345678 with its zero, because it is stored as text.
  • Amount holds the numbers 1500, 720 and 2350.5, so a SUM at the bottom gives 4570.5.
  • Paid stays as text.

Opened directly in Excel, the same CSV would drop the zero from every phone number.

Combining several CSV files

Drop january.csv, february.csv and march.csv together and the result is one workbook with three sheets named january, february and march. The list above the options shows how many files were added and their names. The Preview panel is then titled "Preview: january" and shows only the first file; the other sheets are still converted.

Settings apply to all files. The delimiter is detected separately for each file when you leave it on automatic, so a comma file and a semicolon file can be combined. If you pick a delimiter yourself, it is used for every file.

Tips to work faster

  • Check the Preview before you download. Wrongly split columns show up immediately, and the fix is usually a different Delimiter.
  • When the CSV has a quote problem, a warning appears above the buttons in the form "name: line 14: Unclosed quote". That means a field starts with a double quote and never ends, so the rest of the file was read into it. Fix that line in the CSV and convert again.
  • Keep the original CSV. The workbook is a new file; it does not replace the source.
  • To go the other way later, use Excel to CSV, which can write UTF-8 with the marker Excel likes.
  • For data headed to code or an API, CSV to JSON is the direct route.

Common problems and how to fix them

Everything is in one column

The delimiter was guessed wrong, often on a very short file. Choose Semicolon, Tab or Pipe from the Delimiter list and the preview updates at once.

Bangla or accented letters are broken

Check for the Windows-1252 note. If it appears, the CSV was not saved as UTF-8, and no setting here can restore letters that were already damaged. Re-export the CSV as UTF-8 from the original program. Bangla text in particular needs UTF-8, because Windows-1252 has no Bangla letters.

A number I wanted as text became a number

Values without a leading zero and up to 15 digits count as numbers. If a 13-digit code must stay text, untick "Store numbers as numbers", or add a letter prefix at the source.

A number I wanted as a number is text

Check for spaces inside the value (such as 1 500), a currency symbol such as ৳1500 or a decimal comma such as 1500,50. Only plain digits with an optional decimal point, or the thousands pattern 1,500, are converted.

Quick checklist

  • Drop the CSV instead of double-clicking it.
  • Confirm the delimiter in the Preview.
  • Leave "Store numbers as numbers" on unless the file holds only codes.
  • Save sources as UTF-8 before converting.
  • Keep the original CSV.

Frequently asked questions

What is the difference between opening a CSV in Excel and converting it?
Excel guesses the type of every cell as it opens a CSV, which is how phone numbers lose their zero. The converter reads the text itself, decides what stays text and what becomes a number, and writes a proper .xlsx file that Excel only has to display.
Which values stay as text when I tick “Store numbers as numbers”?
Anything with a leading zero (01712345678, 007), whole numbers longer than 15 digits, values like 5e3, dates, and every non-numeric value. Plain numbers such as 1500, 99.5 or 1,500 become real numbers you can add up.
Can I combine several CSV files into one workbook?
Yes. Choose or drop several files at once and each file becomes its own sheet, named after the file. The download is called Combined.xlsx when there is more than one file.
Why do Bangla or accented letters look wrong in the preview?
The file is probably not saved as UTF-8. Files that are not valid UTF-8 are read as Windows-1252, and a note tells you so. Save the CSV again as UTF-8 from the program that made it, then convert it again.
Does the converter change dates?
No. Dates stay exactly as written in the CSV, as text. Only plain numbers are turned into numbers, so 12/05/2026 stays 12/05/2026 and cannot be swapped between day and month.
Found this useful? Share it

Tools in this guide

Main tool

CSV to Excel

Turn CSV files into a proper Excel workbook: numbers you can add up, leading zeros kept, a bold header row with filter buttons that stays visible.

Open tool

Excel to CSV

Save any sheet of an Excel workbook as a CSV file, with the delimiter you need and the values exactly as Excel shows them.

Open tool

CSV to JSON

Paste CSV or open a file to get clean JSON — an array of objects or arrays — with proper handling of quotes, line breaks, delimiters and data types.

Open tool

Excel to JSON

Turn a spreadsheet into JSON you can use in code: an array of objects keyed by your header row, or plain arrays.

Open tool

Back to all guides & blog