Handle quoted CSV fields, choose text or numeric sorting and understand formula protection before exporting a table.
Move a table between applications without changing its meaning
CSV exchanges text fields, not the complete behavior of a spreadsheet. A value that looks numeric can be an identifier whose leading zeros matter, and a comma can be either a delimiter or part of a quoted field. Decide the expected schema before importing a table rather than letting an application's automatic type detection make that decision silently.
For a reproducible conversion, keep a small sample containing the difficult cases: an empty cell, an embedded delimiter, a quotation mark and a code with a leading zero. Verify those rows in the receiving application before processing a full dataset. Avoid sending real personal records when a synthetic sample demonstrates the same problem.
Select the actual delimiter. Semicolon-separated data and tab-separated exports need their matching setting.
Inspect the header and a few parsed rows. A field containing the delimiter must be quoted; a quote inside it must be escaped according to CSV rules.
Choose how identifiers, decimals, empty cells and dates should be represented. Keep codes as text when digit-for-digit preservation matters.
Sort the whole table by a named field, not an isolated column, then inspect rows at the beginning and end of the output.
Keep a comma inside one person's display name
Example input
code,name
00123,"Lee, Sam"
Expected result
["00123", "Lee, Sam"]
The second line has two fields, not three. The quoted comma belongs to the name, while the leading zeros belong to the code. The output illustrates the parsed row as strings. If the receiving spreadsheet displays 123 instead, its import interpretation changed the identifier; that is a type-handling issue rather than a missing character in the original CSV.
Check before you continue
A CSV file cannot preserve multiple worksheet tabs, styles or formulas as a complete workbook. Keep the XLSX source when those features are needed.
Spreadsheet applications can interpret cells beginning with formula characters. Review untrusted CSV in a suitable import mode and do not assume quotation marks alone prevent formula interpretation.
Date strings such as 03/04/2026 are ambiguous across regional conventions. Agree on an explicit format before exchanging the file.
12 of 12 entries
Parsing
A delimiter inside a quoted field
name,note
Ava,"red, green and blue"
A comma inside a properly quoted field belongs to that value. Splitting every line on commas loses this structure.
Parsing
Quotes inside a quoted field
"She said ""hello"""
CSV doubles a quote to represent it inside a quoted value. A parser should handle this before filtering or selecting columns.
Parsing
A field can contain a new line
name,note
Ava,"first line
second line"
Quoted new lines belong to a single field. A visible line count is not always a record count.
Columns
Headers can repeat
name,name,score
CSV does not guarantee unique header labels. Table Explorer identifies columns by position so repeated names do not overwrite one another.
Sorting
Text sorting differs from numeric sorting
Text: 1, 10, 2
Numeric: 1, 2, 10
Choose the intended interpretation. Numeric mode rejects non-numeric content and compares decimal digits without rounding long integers; text mode is appropriate for labels and identifiers where spelling matters.
Filtering
Filtering searches row values
Search A → retain rows with a matching cell
The Explorer applies a case-insensitive text filter across all columns, then exports the selected columns of matching rows.
Export
Spreadsheet formulas are interpreted downstream
=SUM(1,2) may become a formula in a spreadsheet.
CSV is text, but a receiving spreadsheet can interpret cells as formulas. Do not assume an ordinary quote around a CSV field disables that interpretation.
Export
Protection changes exported values
=SUM(1,2) → '=SUM(1,2)
The protection option prefixes an apostrophe to formula-like cells, including negative numbers. Keep it enabled for spreadsheet-bound untrusted text, or deliberately disable it when exact values are required and the receiver is trusted.
Conversion
Convert strings without guessing their types
code,active
0012,true
CSV-to-YAML retains both cells as strings. YAML-to-CSV requires flat scalar records; missing fields and null values become blank cells, which cannot retain those type distinctions.
Conversion
Change a delimiter with a parser
"two, words",95 → tab-delimited cells
CSV-to-TSV conversion changes separators after parsing quotes and embedded line breaks. A global character replacement can corrupt field values.
Conversion
Use a declared XML table mapping
<table><columns>…</columns><rows>…</rows></table>
The CSV/XML converter uses column names plus positional row cells. The JSON/XML converter uses a different typed-value mapping. Neither tool guesses an arbitrary application's XML schema.
Every cell changes orientation, including the first row. A transpose does not aggregate records; use unchanged values and retain blank-row policy when a reversible transformation matters.