Convert dates
Turn Excel serial dates (45658) or text into ISO yyyy-mm-dd — or back to serials.
What is Convert dates
Excel stores dates as day counts since 1900, so a date column read by any non-Excel tool often arrives as a number like 45658 or as locale text like 1/15/2026. This tool converts a chosen column to ISO yyyy-mm-dd (unambiguous, sorts correctly) or from ISO text back to Excel serial numbers. Serials are adjusted for Excel's fictional 1900-02-29.
File
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Offline
- Works with the network disconnected
What gets converted
Pick a column and a direction. To ISO: Excel serial numbers (45658) and date-like text both become yyyy-mm-dd. To serial: ISO-style text becomes Excel's day count. Serial numbers are adjusted for Excel's fictional 1900-02-29 — the leap-year bug every tool copying Excel's dates has to reproduce, or dates after February 1900 land one day early.
Why some cells come back unchanged
Anything that is not a recognisable date is left as-is and counted in the note: Invoice #123, a product code that looks like a number, or 03/04/2026 where the tool cannot tell March from April reliably are all passed through. Nothing is overwritten with a guess — if the note says 40 converted, 5 skipped, check the 5 rather than trusting a silent fix.
When not to use it
When the column mixes dates and non-dates you care about distinguishing, or when the source format is ambiguous text like 1/2/2026 (US or European?). The conversion cannot know the intent — resolve the locale first, for example by checking a row whose date you know. ISO output sorts correctly everywhere, which is exactly why the tool pushes you toward it.
How to use it
- 1.Choose the spreadsheet.
- 2.Pick the date column and the target format.
- 3.Download the converted workbook.
How Convert dates works under the hood
An .xlsx file is not a table — it is a ZIP archive of XML parts. Everything you see as a grid is rebuilt from cell references on this page, in memory, without a round trip to a server.
- 1
Read the file as bytes
The file is read into an ArrayBuffer with the File API. This is a local read, not a request — nothing leaves the tab.
- 2
Unzip and parse the workbook
SheetJS inflates the archive, reads workbook.xml for sheet order, sharedStrings.xml for text, and each sheet's XML for cells and types.
- 3
Rebuild rows in memory
Cells are placed by their A1 reference, gaps become empty cells, and the sheet is materialised as a two-dimensional array.
- 4
Write the output locally
The result is serialised to CSV text or a new workbook and handed to the browser as a Blob download.
Processing pipeline
Why formulas arrive as values
A spreadsheet stores two things per formula cell: the formula text, and the value Excel last computed and cached. A browser parser reads the cached value. Making the formula itself run would mean reimplementing Excel's calculation engine — including volatile functions, circular-reference detection and locale-specific parsing. So the exported CSV contains what you last saw on screen, not a live formula.
What has no CSV equivalent
Merged cells, cell fills, fonts, conditional formatting, comments and pivot tables have no representation in a comma-separated file. A merged cell becomes its value in the top-left position and empty cells elsewhere. Dates are written as dates only when the cell is typed as a date; a date stored as text stays text. These are format limits, not bugs.
Where it gets slow
Parsing is linear in cell count, and the browser holds the whole workbook in memory. A 30 MB file with a million populated cells can take several seconds and a few hundred MB of RAM; the tab may feel frozen while SheetJS works. Splitting the file by sheet, or exporting only the range you need, is faster than retrying with a bigger limit.
Verify it yourself
You do not have to take this on faith. Run the tool once with DevTools open.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
Why does my date show as a number like 45658?
That is the raw Excel serial: days since 1900-01-01 (with a leap-year bug baked in). 45658 is 2026-01-15. Excel normally displays it as a date only because the cell has a date format.
What if some cells are not dates?
They are left untouched and counted in the result note. Nothing is overwritten with a guessed value — a note like "Invoice #123" stays "Invoice #123".
Is my file uploaded to a server?
No. The workbook is opened and rewritten by JavaScript in this page. There is no upload request — you can disconnect the network after the page loads and it still works.
What happens to formulas and formatting?
This tool reads cell values and writes a clean new workbook. Formulas arrive as their last calculated value, and cell styling, merged cells, conditional formatting and comments are not carried over. If you need the original styling, keep the source file.
What is the file size limit?
30 MB per file. Larger workbooks are rejected before any processing starts, so a big file will not hang the tab.
What this kind of conversion cannot keep
Spreadsheet conversion is lossy by nature: a workbook carries formulas, styles, merged cells and multiple sheets, while CSV carries rows of text. This tool keeps values and order, recalculates nothing, and drops presentation on purpose. That is why it can run without a server — and why a converted file will not look like the original.
More in Spreadsheets & Docs
On this page
- What is Convert dates
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →