CSV is a simple, widely used file format for storing and exchanging tabular data. It represents data in plain text, with each line corresponding to a row and each value within a row separated by a delimiter, typically a comma. CSV files are commonly used for data import/export, data analysis, and data exchange between different applications.
A CSV (Comma-Separated Values) file is a plain text file that stores tabular data (numbers and text) in a structured format. Each line in the file represents a row, and each value within a row is separated by a delimiter (usually a comma, but other delimiters like tabs or semicolons can also be used). CSV files have a .csv
extension and are supported by most spreadsheet programs (e.g., Excel, Google Sheets) and databases.
,
, tab \t
, semicolon ;
)."
).Feature | CSV | Excel (XLSX) | JSON |
---|---|---|---|
File Type | Plain text | Binary | Plain text |
Readability | High | Moderate (requires software) | High |
Data Types | Text only | Supports multiple data types | Supports basic data types |
Schema Support | No | Yes | No |
Hierarchical Data | No | No | Yes |
Use Case | Data exchange, analysis | Complex spreadsheets | Data interchange, APIs |