TinyFileLab

Home›Convert›CSV to Excel

Nothing is uploaded — it all runs on your device

CSV to Excel converter

Turn one or more CSV files into an .xlsx workbook where ZIP codes keep their zeros, long IDs keep their digits and dates are read the right way round. Converted on your device.

Drop CSV files here or tap to choose — .csv, .tsv or .txt; several files become several sheets

Choose or paste a CSV. It is converted on your device into an .xlsx workbook.

Zeros and IDs surviveZIP codes, account numbers and 16-digit references stay exactly as written.
Dates read the right way roundDay-first or month-first is decided from the column, never guessed per cell.
Several files, one workbookDrop a folder's worth of CSVs and each becomes its own sheet. Nothing is uploaded.

What goes wrong when Excel opens a CSV itself

Double-clicking a CSV file hands it to Excel, which then guesses the type of every cell on its own, one cell at a time, using the regional settings of the computer it is running on. The guesses are the source of some well-known damage:

  • Leading zeros vanish. 02134, a Boston ZIP code, becomes the number 2134. So do account numbers, product codes and phone numbers that start with 0. Saving the file again writes the damaged value back.
  • Long numbers are rounded. Excel keeps 15 significant digits. A 16-digit card or order reference such as 4111111111111111 is shown as 4.11111E+15 and stored as 4111111111111110; the last digit is gone for good.
  • Dates are read the wrong way round. On a US machine 03/04/2024 is the 4th of March; on a UK machine it is the 3rd of April. A file from abroad gets a mixture: 13/04/2024 cannot be a US date, so it stays text, while 12/04/2024 beside it is silently converted to December.
  • Things that are not dates become dates. Gene names like MARCH1, part numbers like 1-5 and fractions like 3/8 are turned into calendar days.
  • Accents break. A UTF-8 file without a byte-order mark is read as an old Windows encoding, so Zoë appears as Zoë.

This converter makes those decisions once, deliberately, and writes them into a real .xlsx file, so the workbook opens the same on every computer.

How each value is decided

The text is decoded first: UTF-8 with or without a byte-order mark, UTF-16, or, if the bytes are not valid UTF-8, Windows-1252, which is what Excel on Windows writes when you choose plain “CSV”. The separator is detected from the first lines by counting commas, semicolons, tabs and pipes outside quotes, and the file is parsed with full RFC 4180 rules, so quoted fields can contain separators, doubled quotes and line breaks.

Then each column is examined as a whole. Dates: if any value in the column has a first number above 12 the column is day-first, if any has a second number above 12 it is month-first, and if none does, the column stays text and you are told, so you can pick the order. ISO dates (2024-03-14) and dates with month names are always unambiguous and become real dates, displayed in your own system’s short date format. Decimal marks: 1.234,56 and 1,234.56 are told apart per column from the values that only one reading allows, which is how a semicolon-separated European export comes through with its amounts intact. Numbers keep their look: thousands separators, currency symbols, a fixed number of decimals and bracketed negatives become number formats, while the cell holds the plain value you can add up. Values with a leading zero or more than 15 digits stay text. Anything else is text exactly as written: MARCH1 and 1-5 are not touched.

Several files at once

Choose or drop several CSV files together and each one becomes a sheet in the same workbook, named after its file. Sheet names follow Excel’s rules (31 characters, none of [ ] : * ? / \, no two the same), and the tabs above the preview show what each sheet will be called. Each file is read with its own separator and encoding, so a comma file from one system and a semicolon file from another can go into the same workbook.

The header row and the limits

With First row is a header ticked, the first row is never converted (a column titled 2024 stays text), is set in bold, stays visible while you scroll, and gets filter buttons. Excel holds at most 1,048,576 rows and 16,384 columns per sheet and 32,767 characters per cell; anything beyond that is cut and reported, never silently dropped. Formulas are not evaluated: a cell that starts with = is written as text, which also means a CSV cannot slip a formula into your workbook. Going the other way, the CSV to JSON tool turns the same files into data for code, and PDF to Excel starts from a statement or report instead of a CSV.

Common questions

Is the CSV uploaded?

No. The file is read, parsed and written as .xlsx by this page in your browser. Nothing is sent to a server; the conversion works with your connection switched off.

Why not just open the CSV in Excel?

Excel guesses every cell on its own, using your computer's regional settings: it strips leading zeros, rounds numbers longer than 15 digits, turns codes like 1-5 into dates and reads 03/04 differently in different countries. Here those decisions are made once, per column, and fixed in the .xlsx.

How do I keep leading zeros?

Leave Keep leading zeros ticked. Any value that starts with 0 and is not a decimal like 0.5 is stored as text, so 02134 stays 02134 in the workbook and when you save it again.

Some dates stayed as text. Why?

Every date in that column could be read either day-first or month-first, so converting it would be a guess. The report names the columns; choose Month first or Day first and they are converted.

My file uses semicolons and commas for decimals.

That is the usual European export, and both are detected: the separator from the first lines, the decimal comma from values such as 1.234,56 or 3,5 in each column. You can also set either one by hand.

Can I combine several CSV files?

Yes. Select or drop them together and each becomes its own sheet in one workbook, named after the file.

Are formulas in the CSV run?

No. A cell beginning with = is written as text. That keeps a CSV from someone else from putting live formulas into your workbook.

What is the largest file it can handle?

Up to Excel's own limit of 1,048,576 rows per sheet; files over 250 MB are refused because a browser tab runs short of memory before then. Rows beyond the sheet limit are reported, not silently dropped.