Files and data

Keep leading zeros and dates in CSV conversions

Test identifiers, ambiguous dates and quoted notes, then import text columns deliberately to avoid silent changes.

A product code such as 00123 is not necessarily the number 123. A date-looking value may be a reference rather than a date. CSV cannot store the full typing and formatting rules of an Excel workbook, so preserving meaning requires attention at both export and import.

Identify the columns that are really text

Before converting, mark identifiers, postal codes, account references and long digit strings as text in your working process. Leading zeros are part of those values. Arithmetic usually makes sense for a quantity column, but not for a customer ID that happens to contain digits.

Use the Excel and CSV Converter on a copy. Inspect the selected sheet and the first few records. A workbook can contain several sheets, while an individual CSV represents one rectangular table rather than the entire workbook.

Understand what CSV does not preserve

CSV stores field values separated by delimiters and quoting. It does not carry the complete workbook model: styles, multiple worksheets and formulas as working spreadsheet behavior should not be assumed to survive a round trip.

Quotation marks protect delimiters and line breaks inside a field. They do not universally tell every spreadsheet to treat the field as text. A CSV field containing 00123 may still be imported as 123 if the destination chooses a numeric type.

Test a deliberately awkward row

Make a small test containing an ID with zeros, an ambiguous date, a decimal amount and a note with a comma. For example, use 00123, 03/04/2026, 12.50 and a note reading blue, medium. Check that the note stays in one column rather than splitting at its comma.

Add a long reference that should never be rounded. Import the CSV through a dialog that lets you choose text columns. Compare the complete reference, not just the first visible digits. A successful file opening is not evidence that the values remained unchanged.

Verify the destination, not just the download

Reopen the exported file in the application that will actually use it. Compare headers, row count, zeros, dates, separators and multiline notes. If the destination has already removed a zero, changing the cell display later may not recover the original value.

Keep an untouched source and document which columns require text import. For cleaning or combining records, check the CSV Duplicate Remover and CSV Join only after you have confirmed that the identifying keys still match their originals.