CSV Data File — Comma-separated values for tabular data interchange.
Quick facts
What is .csv
A .csv file is a CSV Data File — Comma-separated values for tabular data interchange.
In the mime-db registry it maps to text/csv, and it is marked as compressible. When serving .csv over HTTP, set the Content-Type header as shown in Developer info below.
Related entities: it maps to text/csv and is used by CSV among others — and is delivered over HTTP via the Content-Type header.
How to open .csv files
Developer info
When served over HTTP, responses should set the following header:
Content-Type: text/csv
Common software that reads/writes .csv:
Relation chain
Related extensions
Related MIME types
Related programming languages
Common uses
How to edit .csv files
How to create .csv files
Example
name,age,city John,30,New York Ada,36,London
Frequently asked questions
Common options include Excel, VS Code, Python. You can also open many of these files with built-in viewers or a browser.
Create a new file in any text editor or the app that owns the format and save it with the .csv extension.
text/csv is the media type identifier used for .csv files during network transfer (for example in the HTTP Content-Type header).
Sources & standards
Updated 2026-08-18
Explore this reference