naflio

Spreadsheets · 6 MIN READ

Open and Export CSV Files Without Breaking Text or Identifiers

Import CSV files with the right delimiter and UTF-8 encoding, preserve leading zeros and dates, and verify exports before sending data elsewhere.

A reliable CSV round trip: Preserve the original; Inspect encoding and delimiter; Set column types; Export a copy; Reopen and compare
Original Naflio workflow illustration.

CSV is a plain-text format for exchanging tabular data. Its simplicity makes it useful, but it also leaves important interpretation choices to the program opening the file. Character encoding, separators, date formats, and column types can all affect what appears in your spreadsheet.

A file that looks wrong is not always corrupted. Accented names may have been decoded incorrectly, an entire row may appear in one column because the delimiter was misunderstood, or an identifier may have lost its leading zeros. This guide explains a careful import and export process using a fictional equipment list.

Understand what CSV does not store

A CSV contains records and fields, not the full structure of a spreadsheet workbook. It does not preserve multiple worksheet tabs, charts, cell colors, or ordinary workbook formulas as a complete working application. Treat it as an exchange file rather than a replacement for your maintained workbook.

If your source workbook has several tabs, export the intended table deliberately. Confirm which sheet or selection your software uses. A successful Save command does not prove that the receiving system will get the dataset you meant to send.

Keep the original workbook in its native format. Create the CSV as a separate deliverable with its own filename. This avoids losing spreadsheet features while preparing a text-based handoff.

Preserve the source before importing

Download or copy the original CSV into a clearly named location and leave it unchanged. Work from another copy if you need to investigate errors. The raw export is valuable evidence of what the sending system actually produced.

Record the source system, export date, and any instructions supplied by the recipient. A specification might require UTF-8 text, a comma delimiter, and a particular column order. Those requirements should guide the process more than the defaults of your spreadsheet application.

Do not upload a file to an unfamiliar converter merely because it offers a quick repair. The table may contain private contacts or business information. Prefer a trusted local import tool or an approved service appropriate for the data.

Identify the delimiter

Although CSV stands for comma-separated values, real-world exports may use semicolons or other delimiters. Regional settings and application conventions can affect the choice. If an entire record appears in one cell, a delimiter mismatch is a likely explanation.

Use an import dialog that shows a preview. Choose the separator that divides the headings and values into the expected columns. Check several rows, because a first row without punctuation may appear correct even when later descriptions contain commas.

Do not repair the file by replacing every comma with a semicolon. Some commas belong inside quoted descriptions or addresses. A proper CSV parser distinguishes separators from punctuation inside fields; a global text replacement does not.

Choose the character encoding

UTF-8 supports a wide range of written languages and is a common exchange choice. If names such as José or city names in Arabic appear as strange symbols, check the import encoding before editing the visible text.

Microsoft documents that Excel can normally open UTF-8 CSV files directly when they include a byte order mark. For other cases, its import tools allow a more controlled approach. In desktop Excel, the Data import path for Text/CSV is a useful starting point when double-clicking produces the wrong result.

Choose the appropriate encoding in the import preview if the interface offers it. Inspect examples containing accented letters, non-Latin characters, and punctuation. A preview that looks correct for English-only headings is not enough to validate an international dataset.

Protect identifiers from automatic conversion

An equipment code such as 000742 is text, even though it contains digits. If the spreadsheet interprets it as a number, the displayed value may become 742. Telephone numbers, postal codes, and long reference IDs can have similar problems.

Set these columns to text during import when the tool allows it. Do this before loading the data rather than trying to reconstruct missing zeros afterward. Once information has been discarded, you may not know how many characters belonged in the original value.

Do not apply one numeric type to every digit-only column. Ask what the value means. A quantity can be added or averaged; an asset ID identifies an object. Their appearance may be similar, but their correct treatment is different.

Make date interpretation explicit

Dates such as 05/06/2026 can mean different days in different regions. Importing them without checking the expected order can silently change the data. Use the sending system's specification or a trusted example to establish the meaning.

If possible, exchange dates in an unambiguous format agreed with the recipient. That does not remove the need to set the appropriate data type, but it reduces confusion. Check a date with a day greater than twelve as well as a potentially ambiguous one.

Keep time zones in mind when the data includes timestamps. A local time without a zone is not the same as a globally defined instant. Do not add or change a zone based on a guess merely to make the column look consistent.

Inspect quoted text and line breaks

CSV fields can contain commas, quotation marks, or line breaks when the format is handled correctly. A long description may span more than one visual line in a text editor while still belonging to one record.

Use a proper import process rather than splitting each visible line or comma manually. If rows shift into the wrong columns, inspect a record near the first point of failure. A broken quote in the source can affect records after it.

Keep descriptions intact during repair. Removing all quotation marks may make the file appear simpler while destroying the structure that protects punctuation inside fields. If the source export is malformed, request a corrected export when possible.

Validate the loaded table

Compare the imported row count and column headings with the expected dataset. Check a few records from the beginning, middle, and end. Include examples with special characters, leading zeros, long descriptions, and blank optional fields.

Look for warning signs such as scientific notation in an identifier column, unexpected dates, one huge text column, or new blank rows. These are reasons to revisit import settings rather than continue with calculations.

Keep any transformations separate and documented. If you trim spaces, standardize categories, or rename headings, record those changes. An import that simply reads a file and a cleanup that changes its content are different operations.

Export for the receiving system

Read the recipient's required headings, column order, delimiter, encoding, and date rules. Prepare a dedicated export sheet if your working table contains extra notes or helper columns.

Choose a CSV UTF-8 option when that is the agreed format and available in your application. Pay attention to warnings about workbook features being lost; that is expected for an exchange copy, but it is a reason to preserve the native workbook.

If the receiving system treats formula-like text specially, follow its official import guidance for untrusted text. Do not assume that a value is harmless merely because it arrived in a plain-text file. Keep data from unknown sources within an appropriate review process.

Reopen the exported copy

Do a round-trip check: close or set aside the working view, import the exported CSV into a new blank workbook, and compare key records. This catches problems that were invisible in the original sheet because it still contained the richer workbook data.

Confirm that the receiving system accepts the file with a small test when practical. Check actual imported records, not just a success message. A system can accept a file while interpreting one field incorrectly.

A reliable CSV handoff depends on explicit choices and simple verification. Preserve the source, control interpretation, and inspect the result after export. Those steps are usually faster than repairing a large table after someone discovers that names, dates, or identifiers changed along the way.

Watch a related walkthrough

Sort and filter data in Google Sheets — Google Help

YouTube stays unloaded until you choose to play. Playing connects to YouTube and its privacy rules apply.

Watch the official video (opens a new tab)

Sources and further reading

Product facts were checked against the following primary documentation. Interfaces and account availability can change.

Found a step that changed? Tell us what needs updating.

Keep the useful fixes coming.