A CSV file, or comma-separated values file, is a plain text file that stores tabular data (numbers and text) in a structured format. Each line of the file represents a row of data, and each field is separated by a comma. CSV files are often used to import and export data from databases and spreadsheets.
CSV files are relatively easy to create and can be opened by most spreadsheet programs. To create a CSV file, simply open a new text file and enter your data in a tabular format. Separate each field with a comma, and each row with a new line. Once you have entered all of your data, save the file with a .csv extension.