Convert CSV to Excel without losing leading zeros
Open a CSV and download a real .xlsx file. Numbers stay numbers. ZIP codes, account numbers and long IDs stay exactly as they are in your file. It runs in your browser, so nothing is uploaded.
Free. No sign-up. Your file never leaves your computer.
How it works
-
Open your CSV
Click Open in CSV Notebook, then drop your file on the Open file step. Your browser reads it on your computer. The first rows appear straight away.
-
Check the preview
The Result step shows exactly what will go into the spreadsheet. To drop or rename columns first, add a Choose columns step. To keep only some rows, add a Filter step.
-
Click Export Excel
You get an .xlsx file with one sheet. It opens in Excel, Google Sheets, Numbers and LibreOffice.
Why CSV Notebook
-
Private
Runs in your browser. Your files are never uploaded, so nobody else can see them.
-
Repeatable
No AI and no guesswork: the same steps on the same file give the same result every time. Your steps are saved as a notebook in your browser. Next month, open it and drop in the new file: if a column was renamed, the step that needs it stops with an error that names it, and Pro can map it for you.
-
Auditable
Every transformation step is SQL you can read, so you can check exactly what happened to your data. Each step also shows a preview of its output and a summary of what it did, so you can see the result before you export.
Worked example
| zip | account_no | size | balance |
|---|---|---|---|
| 02134 | 0044172 | 1-2 | 1200.50 |
| 10001 | 4000123412341234 | 3-4 | 89.00 |
| zip | account_no | size | balance |
|---|---|---|---|
| 02134 | 0044172 | 1-2 | 1200.50 |
| 10001 | 4000123412341234 | 3-4 | 89.00 |
Every value matches the file. balance is a real number cell that keeps its two decimals, so SUM works. If you double-click the same CSV, Excel usually shows 2134, 44172, 2-Jan and 4.00012E+15, and the last digit of the long number is lost for good.
Convert your CSV now
Opens an empty notebook. Drop your CSV on the Open file step, then press Export Excel.
Open in CSV NotebookFrequently asked questions
Is my CSV uploaded to a server?
No. The conversion runs in your browser, and the .xlsx file is created on your computer. The app keeps a copy of your file in your browser's own storage so your notebook is still there when you come back. Clear all local data in the sidebar deletes it.
Why does Excel remove the leading zeros from my CSV?
A CSV file holds only text. When Excel opens one, it guesses what each value is. Anything that looks like a number becomes a number, and numbers have no leading zeros. Text such as 1-2 can become a date, and numbers longer than 15 digits are rounded. CSV Notebook writes the .xlsx itself, so it decides what each cell is. A value becomes a number only when Excel will show exactly the same digits. Everything else is saved as text.
Recent versions of Excel for Microsoft 365 can switch some of these conversions off under File > Options > Data > Automatic data conversion. That fixes it on your own computer, but not for the colleague you send the CSV to.
Will numbers and dates work in Excel formulas?
Numbers do. A value such as 1200.50 is saved as a number with the same number of decimals, so SUM and AVERAGE work straight away. Values with a currency sign or a thousands separator, such as $1,200, stay text.
Dates are saved as text, exactly as written, so Excel never mixes up day and month. To turn them into Excel dates, use DATEVALUE or Data > Text to Columns in Excel.
How large a CSV can I convert?
There is no fixed file-size limit. It depends on your browser's memory. A single Excel sheet holds at most 1,048,576 rows and 16,384 columns, so filter bigger files first with a Filter step or a Custom SQL step.
Can I convert the same report every month?
Yes. Your steps are saved as a notebook in your browser. Next month, drop the new CSV on the Open file step and every step runs again on the new file, then press Export Excel. If the new file renames or drops a column your steps use, the step that needs it stops with an error that names the column and suggests the closest one; Pro can map the renamed column for you and remember it. The free plan keeps one notebook.