How to Open a CSV File
Learn how to open a CSV file in your browser or import it into Excel, choose a separator, and preserve leading zeros in identifiers.
Preview the file first
Use the CSV viewer to check the separator and a few representative rows. A preview with one column can mean your file uses a semicolon or tab. If accented characters look garbled, try the input encoding setting.
Import into Microsoft Excel
Opening a CSV directly can make Excel infer numeric or date types. Import explicitly when values like 00123 or long account IDs must keep their formatting.
- Open a blank workbook and choose Data, then From Text/CSV.
- Choose the file and check the delimiter in Excel’s preview.
- Set the identifier columns to Text before loading, or convert the CSV to an Excel workbook with text cells first.
Microsoft’s guide to keeping leading zeros and large numbers