Convert CSV to Excel Without Breaking Your Data
Turn a CSV into a clean Excel (XLSX) file without mangled characters, lost leading zeros or broken dates — free and fully in your browser.
To convert CSV to Excel without breaking anything, don't double-click the file — use a converter that reads the CSV as UTF-8, splits it on the right delimiter and writes the values into a real XLSX instead of letting Excel guess. The Docuboxer CSV to Excel converter does this in your browser: drop in the CSV, set the sheet name, download the XLSX. Accents intact, leading zeros preserved, long IDs still readable, dates untouched — and the file never uploads to a server.
Why opening a CSV in Excel mangles your data
A CSV file is just text. It carries no header declaring its encoding, no schema declaring column types, and no metadata naming its separator. Excel has to invent all three every time you double-click one, and it makes those guesses using your machine's regional settings rather than anything in the file. That is the whole bug: the CSV is fine, the guessing is the problem, and the guessing happens silently.
XLSX has none of these ambiguities: text is Unicode, every cell records its own type, and there is no delimiter to misread. Converting up front is not a workaround — it removes the entire class of failure. Here are the five ways the guesswork shows up, and what each one costs.
The five ways Excel breaks a CSV
1. Broken encoding: accents come out as é and ñ
Almost every modern export — a database dump, an API response, a Shopify or Stripe report — is UTF-8. Excel's double-click path assumes a legacy single-byte encoding such as Windows-1252, and single-byte decoders read multi-byte characters one byte at a time. In UTF-8, é is two bytes; decoded as Windows-1252 those bytes render as é. ñ becomes ñ, € becomes €, and a smart quote becomes ’.
Two things matter here. Your data is not damaged — the bytes are correct and only the interpretation is wrong, so re-reading the file as UTF-8 restores everything. And never repair this with find-and-replace: the mapping has dozens of variants, so hand-cleaning fixes what you noticed and leaves the rest to be saved back as genuinely unrecoverable text. If your CSV carries a UTF-8 BOM, Excel usually recognises it on double-click; without one, it usually does not.
2. Leading zeros vanish from ZIP codes, phone numbers and SKUs
Excel sees 01810, decides it is the number 1810, and stores it that way. A Massachusetts ZIP code loses its identity, a UK phone number loses its trunk 0, an internal SKU like 000457 collapses to 457, and a German postal code like 01067 becomes four digits. Every one of these is an identifier that merely looks numeric: you never add ZIP codes together, so nothing is gained by storing them as numbers.
The important detail is that this is not reversible by formatting. Re-formatting the column as text afterwards shows 1810 as text — the zeros were discarded during import and are simply gone. The only fix is to never let the coercion happen, which is what writing the column as text at conversion time does.
3. Long numbers turn into scientific notation — or lose digits
Order IDs, credit-card-length numbers, EAN barcodes and Snowflake-style identifiers are long strings of digits. Excel treats them as numbers and displays them as 1.23457E+15. Widening the column does not help, because the display is a symptom rather than the problem.
The real damage is underneath: Excel stores numbers with 15 significant digits of precision. A 16-digit identifier does not just display badly — its 16th digit is replaced with a zero on import, permanently. This is why a batch of order references can come back from a spreadsheet round-trip with the same value repeated in rows that were originally distinct. An 18-digit ID loses three digits the same way. Any column of long identifiers must arrive in the spreadsheet as text, without exception.
4. Dates get reinterpreted into something you never wrote
Date coercion is the most locale-dependent trap of the five. 3/4/2026 is March 4th on a US machine and April 3rd on a European one, and the same file therefore means two different things on two colleagues' laptops. Excel will also invent dates out of values that were never dates: a product code like 3-4 becomes March 4th, a fraction like 1/2 becomes January 2nd, and a version string like 1.10 can lose its trailing zero.
Worst of all, the original text is destroyed at the moment of import: what remains is a date serial number rendered through a format. If your CSV holds dates you actually want as dates, the safe route is to write them as ISO 2026-08-16 at the source and convert them in the spreadsheet deliberately — not to let an import path decide for you.
5. Every row lands in column A: the comma-versus-semicolon problem
The "C" in CSV is regional. In countries where the comma is the decimal separator — most of Europe and Latin America — Excel writes and expects semicolon-separated files, because commas are already spoken for. The separator Excel uses on double-click comes from your operating system's list-separator setting, not from the file, so a comma-separated export opens as one giant column A on a machine configured for semicolons, and a semicolon file does the same on a US machine.
Quoting is the related trap. A value containing the delimiter is wrapped in quotes, so "Main St, Apt 4" is one field, not two. A parser that splits naively on every comma shifts every subsequent column for that row only — which is far worse than an obvious failure, because the file still looks broadly correct while a handful of rows are quietly scrambled. Any converter worth using honours quoting and escaped quotes inside fields.
How to convert CSV to Excel, step by step
- Open the tool: go to CSV to Excel on Docuboxer.
- Add your data: drag in one or more CSV files, or paste rows straight into the text box if you only have a fragment. Parsing happens locally in your browser — a customer list never touches a server.
- Name the sheet: each file becomes a worksheet, named after the file by default. Excel caps sheet names at 31 characters and forbids the characters
\ / * ? : [ ], so long or awkward names are trimmed automatically. - Set the delimiter if needed: auto-detection sniffs the separator from the first rows and is right for almost every file. If your file is unusual, override it explicitly with comma, semicolon, tab or pipe.
- Convert and download: open the XLSX in Excel, Google Sheets or LibreOffice — the same clean result in all three, with accents, zeros and long IDs exactly as the CSV had them.
Merging several CSVs into one workbook
This is the step most converters skip. If you export one CSV per month, per region or per campaign, you can add all of them at once and each becomes its own worksheet inside a single XLSX — renamed to whatever you want before you convert. It is the difference between twelve loose files in a downloads folder and one workbook you can hand to someone. Duplicate sheet names are de-duplicated automatically rather than silently overwriting each other.
What this converter does not do
Being clear about the edges is more useful than pretending there are none:
- It reads files as UTF-8. The right default, since virtually all modern exports are UTF-8 and the alternative is guessing. But if your CSV genuinely is Windows-1252 or Latin-1 — usually an export from older desktop software — re-export it as UTF-8 at the source instead.
- Values are carried across as they appear. That is exactly why zeros, IDs and dates survive. The trade-off: a column you want to do arithmetic on may arrive as text, so if a total refuses to compute, convert that column to a number in Excel, where the choice is yours.
- It is a conversion, not a rebuild. A CSV has no formulas, colours or column widths to preserve, so the XLSX arrives as clean unstyled data.
- The whole file is parsed in memory. Hundreds of thousands of rows are fine on a modern laptop; a several-gigabyte CSV is not, and no browser tool can honestly promise otherwise. XLSX itself stops at 1,048,576 rows and 16,384 columns per sheet — past that, a database or Power Query is the right destination.
One more thing worth checking before you share the file
If the CSV came from outside your organisation, look at cells beginning with =, +, - or @. Spreadsheets read those as formulas, which is the basis of CSV injection: a hostile value in an exported field that executes when someone opens the workbook. It is a property of spreadsheets in general rather than of any converter, and scanning untrusted columns costs nothing.
When XLSX isn't the right destination
CSV is the universal bridge format for tabular data, and a spreadsheet is only one of the places it can land. If the destination is code rather than a person, JSON is usually the better target: the CSV to JSON converter turns rows into objects with named fields, and the JSON to CSV converter flattens API responses back into rows a spreadsheet can digest. If your data arrives as a feed or an export from an older enterprise system, it may be XML instead, and the XML formatter and validator will make it readable before you decide what to do with it.
Which direction to pick is a real decision, not a detail — we work through it in CSV to JSON or JSON to CSV: when to use each format. And if you want the background on why converting between formats never changes the amount of data while encoding it as Base64 inflates it by a third, that's covered in what is Base64.
Privacy: CSV exports are your most sensitive files
Think about what actually gets exported as CSV: customer databases, payroll runs, sales ledgers, support tickets. Uploading one to a random "free converter" site hands a stranger the exact data your privacy policy promises to protect — and the transfer itself is what regulators care about, regardless of what the site does next. Docuboxer's converter never uploads anything: parsing and XLSX generation both run in your browser. Load the page, disconnect from the network, convert. It still works, because there is no server in the loop.
Frequently asked questions
Why does Excel change my CSV numbers?
Because CSV stores no types, so Excel infers one per column and rewrites the value to match. A 16-digit order ID becomes 1.23457E+15, an ID longer than 15 significant digits loses its trailing digits to zeros, 00123 becomes 123, and 3/4 becomes a date. Converting the CSV to XLSX with the values written as text stops the inference before it starts, because XLSX records the type of every cell inside the file.
How do I open a CSV with the correct encoding?
Don't double-click it. Double-clicking hands the file to Excel's legacy import path, which assumes a regional encoding such as Windows-1252 and turns UTF-8 accents into sequences like é or ñ. Either import it through Data › From Text/CSV and pick UTF-8 as the file origin, or convert the CSV to XLSX first — XLSX stores its text as Unicode, so the encoding question never comes up again.
Why did Excel delete the leading zeros in my CSV?
Excel guesses column types, decides 00123 is the number 123, and drops the zeros — ruinous for ZIP codes, phone numbers with a trunk 0 and product SKUs. Formatting the column as text afterwards does not bring the digits back, because the zeros were discarded at import. A converter that writes those columns as text preserves every digit exactly as the CSV had it.
My CSV uses semicolons instead of commas. Will it convert?
Yes. Semicolon-delimited files are standard across much of Europe and Latin America, where the comma is the decimal separator. Docuboxer's converter sniffs the separator from the first rows, and you can override it per file with comma, semicolon, tab or pipe if the file has an unusual shape.
What's the difference between CSV and XLSX?
CSV is plain text: rows of values separated by a delimiter, no styling, no types, one sheet, no declared encoding. XLSX is Excel's real spreadsheet format: typed cells, multiple sheets, number formats, formulas and Unicode text. CSV is ideal for moving data between systems; XLSX is what people want to open and work in.
Can I convert a multi-gigabyte CSV in the browser?
No, and no browser tool should claim otherwise — the file is held in memory to be parsed, so very large CSVs will exhaust the tab long before they finish. An XLSX sheet also caps at 1,048,576 rows and 16,384 columns. For files at that scale, load the CSV straight into a database or use Excel's Power Query, and keep the browser converter for the files a person will actually read.
Is it safe to convert business data online?
Only with a tool that doesn't upload it. CSV exports are typically customer lists, payroll runs and financial records — exactly what shouldn't sit on a stranger's server. Docuboxer converts CSV to XLSX entirely in your browser; the data never leaves your machine.
Convert your CSV now
Clean XLSX with accents, zeros and dates intact. Free and 100% private.
Convert CSV to Excel →Related tools
- CSV to Excel — Clean XLSX from any CSV, several files into one workbook.
- CSV to JSON — Rows to objects for code.
- JSON to CSV — API responses back to rows.
- XML formatter — Indent and validate XML feeds and exports.
You might also like: CSV to JSON or JSON to CSV, what is Base64 and when to use it and how XML structure and validation work.