A CSV file stores a table as plain text so you can transfer records between applications or analyze them. CSV means comma-separated values: each record has fields separated by a delimiter, usually a comma. For example:
customer_id,name,email
00124,Amina,amina@example.com
00125,Leo,leo@example.comThe first row names the columns. The next two rows contain customer records. A CSV editor displays these values as a table, while a text editor shows the commas and line breaks.
Common uses for CSV files
- Import contacts into a CRM or mailing tool. One row per contact lets you upload a list instead of entering addresses individually. If an address book requires VCF, convert the CSV contacts to vCard and check the field mapping.
- Move product catalogs between systems. Export product identifiers, names, prices, and stock counts, then map those columns in the receiving application.
- Analyze exports. Open sales, survey, or website data in a spreadsheet or analytics tool to filter records and calculate summaries.
- Combine datasets. Join files using a shared identifier, such as a customer ID or company domain. See how to join CSV files by a unique identifier.
When to choose CSV, Excel, or JSON
Choose CSV when you need a simple table that another application can import. CSV stores values; it does not preserve cell colors, spreadsheet formulas, charts, or several worksheets in one file. Use an Excel workbook when those spreadsheet features matter. Choosing where records live is a separate decision: use the spreadsheet-versus-database criteria when several processes must update related data.
JSON is useful for nested records, such as an order with several line items. APIs often return this structure. When you need a flat table, use the JSON to CSV Converter, then check how nested objects and arrays map to columns.
CSV does not define a fixed row limit, but the software opening or importing it can have limits. Check your destination's file-size and row limits before sending a large export.
If a source application only gives you delimited text, convert its TXT export to CSV and check the fields before transferring the records to another system.
Check the file before importing it
Confirm the header names, delimiter, encoding, and record count. Values containing a comma, quote, or line break need CSV quoting so they stay in one field.
CSV does not declare column data types. A spreadsheet may interpret 00124 as a number and display 124, or reinterpret a date. Import identifier columns as text when their exact characters matter. Keep the original file and inspect a few rows in the destination before importing the full list. See how to open a CSV file for the next step.
For an API export, follow how to convert nested JSON to CSV to choose the row array and check parent identifiers before flattening the file.