Excel converts text to dates because, when you double-click a CSV, it guesses a type for every cell, and values such as 1-2, 3/4 or MARCH1 look like dates to it. To stop it, do not let Excel guess: import the CSV with the affected columns set to Text, or convert the CSV into an Excel file that already stores the values as text. Our free CSV to Excel converter does the second one: every value that looks like a date is written exactly as it appears in the file.
What gets converted, and why it hurts
Microsoft lists four automatic conversions that Excel applies to data, on its page about keeping leading zeros and large numbers. One of them is "converting a continuous string of letters and numbers to a date". Separators such as hyphens and slashes between numbers are another common trigger.
Values that are often damaged:
| In the CSV | What it really is | Risk when opened in Excel |
|---|---|---|
1-2 or 3/4 | a size, a ratio, a score, a part of a code | becomes a day and month |
12-24 | a range of sizes or ages | can become a date |
MARCH1, SEPT2 | product or reference codes | can become a date |
2026-12 | a period code | can become the first day of that month |
05/12/2026 | a real date | read as May or December depending on your region settings |
The damage is quiet. The cell shows something that looks reasonable, such as 02-Jan, but it now holds a date serial number. Save the sheet back to CSV and the original value is gone from the file.
Fix 1: convert the CSV in your browser
- Open the CSV to Excel converter and drop in your CSV, TSV or TXT file (up to 50 MB).
- Check the preview: values appear exactly as written in the file.
- Leave "Save numbers as numbers (Excel and JSON). Leading zeros are always kept." ticked if you also want amounts to stay summable. Only plain numbers are affected by that option; anything with a slash, a hyphen between digits or letters stays text.
- Click Download Excel.
The rule the converter follows: a value becomes a number only if it is a plain number (digits, an optional minus sign, decimals and thousands commas). Everything else, including every date-like value, is stored as text, so Excel has nothing to reinterpret when you open the file.
Fix 2: import inside Excel with the column set to Text
- Open a blank workbook and go to Data > From Text/CSV.
- Pick the file and click Transform Data.
- Select each column that holds codes, sizes or ratios, and set its data type to Text.
- Click Close & Load.
This is the right choice when you refresh the same import regularly. You have to remember to set the type for each affected column.
Fix 3: the newer Excel setting
Excel for Microsoft 365 and Excel 2024 (Windows and Mac) include a feature Microsoft calls automatic data conversions. It lets you switch off each of the four conversions, including the one that turns letters and numbers into dates. Microsoft's own article, "Set automatic data conversions", linked from the page above, shows where to find it in your version. Older versions of Excel do not have it, and the setting only affects your copy of Excel, not colleagues who open the same file.
Fix 4: typing values by hand
To type a value like 1-2 into a cell without it becoming a date, either format the column as Text first or start the value with an apostrophe: '1-2. The apostrophe is not shown; it only tells Excel to keep the text.
When you do want real dates
Keeping dates as text is the safe default, but you may need to calculate with them, for example to count days between two dates. Convert only that column, after the file is open:
- Select the date column.
- Use Data > Text to Columns, click through to the last step, choose Date and the order your file uses, such as YMD for
2026-12-05. - Click Finish.
Doing it this way means you choose how the date is read, instead of Excel guessing from your region settings. Check a few rows afterwards: a value that was not a real date, such as a code that slipped into the column, will show as an error or stay as text, which tells you the column needs cleaning first.
Avoid it in files you send
- If the reader uses Excel, send an .xlsx file, not a CSV.
- Write dates as
YYYY-MM-DD(for example2026-12-05). It sorts correctly and is not ambiguous between day-first and month-first regions. - If a code could look like a date, consider a prefix that makes it clearly text, such as
SZ-1-2.
Going the other way
When you save an Excel sheet as CSV, dates are written as they are displayed in the cell. Our Excel to CSV converter does the same, so a date shown as 05/12/2026 is written as 05/12/2026. If the people reading the CSV are in another region, format the column as yyyy-mm-dd first. More on clean exports: Excel to CSV UTF-8.
The same type guessing causes two other common problems: lost leading zeros and long numbers in scientific notation. One habit prevents all three: never double-click a CSV you care about.
Frequently asked questions
Why does Excel change my numbers into dates?
When you open a CSV, Excel guesses a type for every cell. Values such as 1-2, 3/4 or a run of letters followed by numbers can look like dates to it, so it stores them as dates.
Can I get the original value back after Excel turned it into a date?
Not reliably from the sheet. The cell now holds a date serial number. Close without saving and open the original CSV again with the column set to Text.
Is there a setting to turn this off?
In Excel for Microsoft 365 and Excel 2024, Microsoft offers automatic data conversion settings, including one for converting letters and numbers to a date. Older versions do not have it.
Will the converter turn my real dates into text?
Yes, it writes dates exactly as they appear in the CSV, as text. That keeps them safe; if you need to calculate with them, convert that one column to dates in Excel afterwards.
Spotted an error? Write to dealmahal.official@gmail.com.
Questions or corrections: dealmahal.official@gmail.com.