What Is a CSV File? The Format Explained

CSVFile FormatsBasics

If you have ever exported data from a bank, a spreadsheet or a database, you have almost certainly met a CSV file. It is one of the oldest and most widely supported ways to store a table as plain text. This guide explains what it is, how the rows and columns work, and how to move data between CSV and the financial formats your accounting software uses.

What Is a CSV File, Exactly?

CSV (Comma-Separated Values) is a plain-text format for tabular data. Each line of the file represents one row, and the individual values within that line are separated by commas. The first line often holds the column headers, followed by the data rows.

Because the format is just text, it is not tied to any single program. A CSV written on one system can be read decades later by a completely different application, which is a large part of why it has stayed a standard for exchanging data.

How Is a CSV Structured?

A typical CSV looks like this when opened in a text editor:

Date,Description,Amount,Balance
2026-11-02,Coffee Shop,-4.50,120.10
2026-11-03,"Transfer, internal",500.00,620.10
2026-11-04,Utilities,-86.20,533.90

A few rules keep the table unambiguous:

  • Commas separate columns. Four values per line means four columns.
  • Quotes protect special text. The value "Transfer, internal" contains a comma, so it is wrapped in double quotes and treated as one field.
  • Quotes can be doubled. A literal quote inside quoted text is written as two quote characters.
  • Line breaks can live inside quotes. A quoted field may span more than one physical line without breaking the row.

These conventions are described in informal standards and are implemented consistently by modern software, even though early CSV files varied slightly between producers.

How Do I Open a CSV File?

You have several straightforward options depending on what you want:

  • Spreadsheet software. Excel, Google Sheets and LibreOffice display the data in familiar rows and columns. Use the import or open dialog to choose the delimiter and mark ID columns as text.
  • A text editor. Viewing the raw file shows exactly what is stored, which is handy for checking quotes and encoding.
  • Code or scripts. Every common programming language has built-in CSV readers for processing large files in bulk.

Double-clicking can mis-split columns on systems that use a non-comma list separator. If that happens, import the file and explicitly select the comma. For a tab-delimited variant, see the guide on what a TSV file is.

What CSV Can and Cannot Do

CSV is deliberately simple, and that is both its strength and its limitation.

  • It can: store one table of text and numbers, exchange data between almost any system, and remain readable without special software.
  • It cannot: hold multiple sheets, formulas, cell formatting, colors, charts, images, or embedded objects.

There is also no built-in type system: every value is fundamentally text, and the reading program decides whether a field should be treated as a date, a number or a label. This is why long account numbers can lose leading zeros unless the column is imported as text.

Converting CSV to Financial Formats

Banks and accounting tools often need a specific format rather than a generic CSV. FinFormats converts CSV locally in your browser, so the file is processed on your own device and never uploaded, with no account and no watermark. The CSV family includes:

The reverse is just as common. If you begin with a text-based bank statement PDF, the bank statement PDF to CSV tool extracts the transactions into this same universal format. Scanned or image-only PDFs need OCR first and are not supported yet.

  • CSV vs TSV. CSV uses commas; TSV uses tabs and is useful when data naturally contains many commas. The TSV explained guide compares them directly.
  • CSV vs XLSX. XLSX is a rich workbook with sheets and formulas, while CSV is a single portable text table.
  • CSV vs QIF. QIF is a structured financial format for transactions, not a generic table; the QIF vs CSV article breaks down the differences.

In practice, CSV usually sits at the center of these workflows: it is the common language that lets data move from a spreadsheet or statement into whatever accounting format you need, while staying under your control through local, offline processing.

Frequently Asked Questions

What is a CSV file used for?›

CSV is a universal plain-text format for tabular data. It is used to move data between spreadsheets, databases, banks and accounting systems because almost every data tool can read or write it.

Is CSV the same as Excel?›

No. An Excel file (.xlsx) can contain multiple sheets, formulas, formatting and charts. A CSV is a single text table with values only, but it is far simpler and more widely supported.

How do I open a CSV file?›

You can open it in any spreadsheet program such as Excel, Google Sheets or LibreOffice, or view the raw text in a text editor. Importing rather than double-clicking gives you control over delimiters and column types.

Can a CSV contain multiple sheets?›

No. A CSV represents one table. To store several tables you need separate CSV files or a workbook format such as XLSX.

What does UTF-8 mean for a CSV?›

UTF-8 is a character encoding that lets a CSV reliably represent accented letters and other non-English characters. It is the common modern default for exported CSV files.

Can I turn a CSV into QFX or QBO?›

Yes. A local converter can transform a CSV into Quicken QFX, QuickBooks QBO, OFX, QIF, IIF or Tally XML on your device without uploading the file.

Prefer One-Click Conversions?

Install the free FinFormats Chrome extension. Everything still runs locally on your device — no upload, no sign-up, no watermark.

Get it on the Chrome Web Store

← Back to the blog