CSV (Comma-Separated Values)
CSV is the simplest format for tabular data — rows of values separated by commas (or other delimiters). It is universally supported by spreadsheets, databases, and programming languages, making it the lingua franca for data exchange and import/export workflows.
MIME Type
text/csv
Type
Text
Compression
Lossless
Advantages
- + Universal support in Excel, Google Sheets, databases, and every language
- + Human-readable and easy to generate
- + Minimal overhead — just data, no formatting or metadata
- + Streamable — can be processed line by line for large files
Disadvantages
- − No data type information — numbers, dates, and strings all look the same
- − Encoding and delimiter ambiguity (comma vs semicolon vs tab)
- − No support for hierarchical or nested data
When to Use .CSV
Use CSV for simple data export/import, spreadsheet data exchange, and feeding data into scripts and pipelines.
Technical Details
CSV files are plain text with each row on a new line and values separated by commas. Quoted fields (double quotes) can contain commas, newlines, and escaped quotes. There is no standard for data types — everything is a string.
History
Comma-separated data formats predate personal computers, appearing in IBM Fortran in the early 1970s. RFC 4180 (2005) formalized the CSV specification, though many variants exist.
Convert from .CSV
Convert to .CSV
Related Formats
Related Terms
Learn More
File Format Conversion: A Complete Guide
Converting files between formats is a daily task for professionals across every industry. This comprehensive guide covers document, image, audio, …
How to Generate Strong Random Passwords
Password generation requires cryptographic randomness and careful character selection. This guide covers the principles behind strong password generation, entropy calculation, …
JSON vs YAML vs TOML: Choosing a Configuration Format
Configuration files are the backbone of modern applications. JSON, YAML, and TOML each offer different trade-offs between readability, complexity, and …
Text Encoding Explained: UTF-8, ASCII, and Beyond
Text encoding determines how characters are stored as bytes. Understanding UTF-8, ASCII, and other encodings prevents garbled text, mojibake, and …
CSV vs JSON vs XML: Data Exchange Formats Compared
Data exchange formats serve different needs. CSV excels at tabular data, JSON dominates web APIs, and XML powers enterprise integrations. …
How to Format and Validate JSON Data
Malformed JSON causes silent failures in APIs and configuration files. Learn how to format, validate, and debug JSON documents to …