Format at a glance
- Full name
- Comma-Separated Values
- File extensions
- .csv
- MIME types
- text/csv;charset=utf-8
- Category
- Text and data
- Compression
- Depends on the contained codec
- Transparency
- Not applicable
- Animation
- Not applicable
- Properties
Suitable tools
What is this format?
CSV means Comma-Separated Values, although regional software often uses semicolons or tabs. Quotes protect fields containing delimiters, line breaks or quote characters.
There is no single completely uniform CSV dialect. Encoding, decimal separators, headers and date representations must be agreed between producer and recipient.
What is it used for?
- Data exchange between spreadsheet programs
- Database import and export
- Analysis with Python, R or command-line tools
- Simple machine-readable lists
Which programs can open it?
- Microsoft Excel and LibreOffice Calc
- Google Sheets after upload
- Visual Studio Code and text editors
- Python, R and database tools
Support across devices and browsers
CSV opens in text editors and suitable spreadsheet, development or data tools.
TextEdit, development editors and format-specific applications can read CSV.
Text editors, command-line tools and programming libraries support CSV.
Text and data editors can open CSV, with varying validation and editing features.
Files-compatible editors and development tools can display CSV.
A browser can show the text, but correct presentation or validation requires a suitable parser.
Advantages
- Simple, open and human-readable
- Supported by nearly every data tool
- Small files without complex document structure
Disadvantages
- Inconsistent delimiters and encodings
- No types, formulas or formatting
- Awkward for large or nested data
Comparison with alternatives
XLSX stores types, formulas and formatting; CSV contains only flat text values.
TSV uses tabs and avoids some comma conflicts but still needs escaping rules.
JSON represents nested structures and types, while CSV is more direct for classic tables.
LocalFileLab support
CSV is recognized as an input. Text is read locally and handled by the matching parser.
CSV is available as a local output; available settings depend on the format.
LocalFileLab can compress CSV locally or package it in a supported archive; already compressed content will not necessarily become smaller.
A complete CSV preview is not currently available.
Complete preservation of format-specific metadata is not guaranteed.
Related formats
Frequently asked questions
Why does Excel split CSV columns incorrectly?
Excel follows regional delimiters, encoding and automatic type detection. Using the import dialog prevents many errors.
Can CSV contain multiple sheets?
No. One CSV normally represents one flat table without worksheets.
Can CSV store formulas or colors?
No. Spreadsheet features require a format such as XLSX or ODS.