.ECSV File Extension

Enhanced Character-Separated Values

Developer Tom Aldcroft
Popularity
3.0  |  1 Vote
 

What is an ECSV file?

An ECSV file is an enhanced character-separated values file. It contains the typical plain text dataset you would expect to find in a .CSV file, prepended by YAML (YAML Ain't Markup Language) formatting. The YAML formatting allows ECSV files to contain metadata that typical CSV files cannot.

More Information

Screenshot of a .ecsv file in Microsoft Visual Studio Code
ECSV file open in Microsoft Visual Studio Code

Astronomer Tom Aldcroft developed the ECSV format to overcome limitations in the CSV format. For example, CSV datasets cannot contain metadata besides column names. ECSV files, on the other hand, can include metadata such as:

  • Numerical data type
  • Units
  • Text descriptions of column content

ECSV files store this metadata in YAML-formatted data structures, located at the beginning of the file. Each line in the YAML data structure's datatype section contains metadata for a corresponding CSV data column.

How to open an ECSV file

You can open an ECSV file with Microsoft Visual Studio Code (multiplatform), GitHub Atom (multiplatform), or any other text or source code editor to view the data it contains.

Many ECSV files are meant to be used with astropy, a Python library used by astronomers and astrophysicists.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open or reference ECSV files

Verified by FileInfo.com

The FileInfo.com team has independently researched the Enhanced Character-Separated Values file format and Mac, Windows, and Linux apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.