File types / Data & fonts
.csv file
Comma-separated values
- Extensions
- .csv
- MIME type
text/csv- Signature
- None (text format)
- Safety
- Open with care
What is a .csv file?
CSV is a plain-text table: one row per line, values separated by commas. Spreadsheets and databases can import and export it.
There is no signature. It is recognised by its content, and the delimiter can be a semicolon or tab depending on region.
Used for: Moving tables between spreadsheets and databases.
How can I tell if a file is really a CSV?
Text format with no magic bytes. Because there is no fixed signature, the reliable check is to look at the content itself. The File Identity tool reports what it can see without uploading the file.
To compare the name against the content, use Validate Extension. To see the raw bytes, use Safe File Preview.
Is a .csv file safe to open?
CSV is text, but spreadsheets can interpret cells starting with = as formulas. Data from untrusted sources can abuse that ("CSV injection").
Easy to confuse
Excel may mangle values like long numbers or leading zeros when opening a CSV directly.