A CSV export can look perfectly normal in a business application and become almost unusable when opened in a spreadsheet. Everything may appear in one column, names may contain strange symbols, or an import may fail because some records contain more fields than others. This is especially frustrating when the file contains customer names, inventory codes or multilingual product descriptions.

The first step is not to replace every comma or open and resave the file repeatedly. It is to identify whether the problem is the character encoding, the delimiter, the quoting rules or the receiving application's import settings. SoftRyva CSV Repair Studio helps inspect these issues locally and export a reviewed UTF-8 copy without silently deleting records.

Try CSV Repair Studio

Inspect CSV records and export a reviewed UTF-8 copy locally.

Open the free tool

Why a CSV file opens in one column

A CSV file is a text representation of records and fields, not a fully formatted spreadsheet. A typical comma-separated record uses a comma between fields, but many applications produce semicolon-separated or tab-separated data. When Excel expects a different separator, the data can appear in a single column even though the original file is intact.

Consider this fictional export:

ID;Name;Price
0012;Café;2,50
0013;مقهى;3,75

The semicolon separates fields; the comma inside the price is part of the value. Replacing every comma with a semicolon would corrupt the amount. Instead, select semicolon as the input delimiter and let a parser recognize each field. If your destination needs comma-separated data, the export should quote values containing commas.

Choose the correct delimiter
Choose the correct delimiter — illustrative workflow.

Microsoft Excel offers a text import workflow in which users can select the delimiter and inspect a preview before loading the data. That is often enough if the file is otherwise valid. A normalized copy is useful when several people or applications need the same export.

Fix garbled Arabic, French and other text

Encoding describes the mapping between bytes and characters. UTF-8 can represent Arabic, French accents and many other scripts in the same document. Older applications may export Windows-1252 for Western European text or Windows-1256 for Arabic. UTF-16 files are also encountered in some workflows.

Opening bytes with the wrong decoder can produce incorrect characters. If the original bytes remain unchanged, selecting the correct encoding can restore the intended display. However, if someone already saved a damaged file with replacement characters or question marks, the original information may be lost. A repair utility cannot reconstruct those characters with certainty.

Recover correct decoding
Recover correct decoding — illustrative workflow.

Keep the original file and try the correct encoding on its bytes. CSV Repair Studio first recognizes common UTF-16 byte order marks, otherwise attempts strict UTF-8. If decoding fails, choose the appropriate encoding manually. Auto mode is not a universal encoding detector. Legacy encodings may decode without an error even when the chosen mapping is wrong, so review familiar names before exporting.

An optional UTF-8 byte order mark (BOM) can help Excel recognize UTF-8 when opening a file, as Microsoft documents. Some machine-to-machine importers prefer UTF-8 without a BOM. Select the option according to the destination, rather than assuming one choice works everywhere.

Quotes matter more than they look

RFC 4180 documents a common CSV format in which fields containing separators, quotes or line breaks can be represented using double quotes. A literal double quote inside a quoted field is escaped with another double quote. Real-world dialects differ, but those rules explain why splitting every line on a comma is unreliable.

ID,Description
12,"Paris, France"
13,"A ""quoted"" word"
14,"First line
Second line"

There are three data records, even though the final record occupies two physical lines. A parser must keep track of whether it is inside a quoted field before interpreting delimiters and line breaks. CSV Repair Studio uses a state-based parser and stops when a quote is misplaced or unclosed. It does not guess where missing quotes belong, because an incorrect guess can shift confidential or financial information into the wrong column.

Respect CSV quoting
Respect CSV quoting — illustrative workflow.

Inspect uneven rows before trying to fix them

The first record often contains column names, but it is not guaranteed to be a header. The tool uses its width as a reference and counts shorter and longer records. If the first row is incorrect, these counts are not a reliable indication of the intended schema. Compare the findings with your source application.

For example, a four-column inventory export may contain a record with only three fields. The missing value could be at the end, or a delimiter may have been accidentally omitted somewhere else. Padding the row with an empty field is only appropriate in the first situation. It does not identify the original location of a missing value. Extra fields are never truncated by this tool.

Review uneven records
Review uneven records — illustrative workflow.

By default the tool preserves records, including blank records and duplicate values. It does not trim spaces, convert numbers, remove duplicates or change dates. These operations can be destructive if performed without an understanding of the business data. The preview shows a limited portion of the table; summary counts cover the entire parsed input. Review the complete resulting file with your receiving application before relying on it.

Watch out for spreadsheet formulas

CSV has no universal way to declare that every value must be imported as text. Some spreadsheet applications interpret values starting with certain characters as formulas. When data originates from an untrusted source, this can create a formula-injection risk. OWASP documents this class of vulnerability and the importance of considering the behavior of the destination application.

The tool flags formula-like fields beginning with characters such as equals, plus, minus or at signs, including certain leading whitespace. This is a heuristic, not proof of malicious content: a negative price or a legitimate phone number can also trigger a warning. You can optionally prefix flagged fields with an apostrophe, but this changes the actual data and is not guaranteed to prevent formula execution across all spreadsheet applications or subsequent exports.

Review formula-like cells
Review formula-like cells — illustrative workflow.

For untrusted data, use the spreadsheet's text import settings, avoid enabling external content, and follow your organization's security policy. A normalized CSV is not automatically safe just because its structural checks pass.

How to use SoftRyva CSV Repair Studio

Open the browser tool and select a CSV, TSV or text file up to 5 MiB. Alternatively, paste already decoded text. Choose the encoding if the file does not display correctly, then select the delimiter or try heuristic detection. If several separators produce equally consistent records, the tool warns about ambiguity. Confirm the separator using the preview, especially for exports that contain decimal commas or pipes in descriptions.

Click Analyze CSV to see the number of records, first-row width, uneven rows and formula-like fields. Inspect the example records and compare the results with the source. If analysis stops because of malformed quoting, correct the source or request a new export rather than forcing a guessed repair.

Choose the destination delimiter, enable the BOM if appropriate, and decide whether optional padding or formula-prefix changes are justified. Confirm the review checkbox and download a separate UTF-8 copy. A summary report without cell values is also available. Never overwrite the only original copy.

Validate the UTF-8 copy
Validate the UTF-8 copy — illustrative workflow.

The tool runs its analysis in the browser with no external processing service. It does not require an account, a server API or an installed runtime. Browser extensions and device security are outside its control. The current limits are 5 MiB, 50,000 records, 200 fields per record and 500,000 cells, which help keep browser resource use bounded. Large or specialized datasets may require a dedicated data processing application.

Validate the repaired file in Excel or another importer

Use Data > From Text/CSV in Excel where available. Inspect the delimiter, encoding and column types before loading. A code such as 0012 must often be treated as text to preserve its leading zeros. CSV Repair Studio preserves those characters in the file, but Excel may interpret the value as a number during import. The same caution applies to long identifiers, dates and scientific notation.

Compare the record count, expected column names and several representative values against the original application. Inspect the last few records as well as the beginning. If you import into an ERP or marketplace, test a small non-production batch first. A structurally valid CSV can still fail business validation because of missing required fields, invalid product codes or destination-specific conventions.

Frequently asked questions

Can the tool repair every broken CSV?

No. It normalizes valid parsed data, helps select an encoding and separator, and optionally pads short records. It refuses malformed quoted fields rather than making unsafe assumptions.

Will my formulas and formatting survive?

CSV is not an XLSX workbook. It does not store cell formatting, multiple sheets or explicit spreadsheet types. The utility treats fields as text and does not evaluate formulas. Optional formula-prefix mitigation deliberately changes values.

Is a semicolon-separated file invalid?

Not necessarily. It is a common delimited-text dialect. Choose the delimiter expected by the destination and confirm the preview.

Can I recover characters already replaced with question marks?

Not reliably. Obtain the original export bytes or ask the source application to export again with the intended encoding.

Final thoughts

A good CSV repair workflow preserves the original, makes structural changes explicit and verifies the output where it will actually be used. SoftRyva CSV Repair Studio offers a practical local inspection and normalization workflow, but it cannot replace knowledge of the underlying records. Start with a non-sensitive example and review each transformation before trusting the output.

Technical references