
This article explains what a CSV file is, how to open or edit one, and how to convert one to a different format.
What Is a CSV File?
A CSV file is a comma-separated worths file. It’s a plain text file that can include numbers and letters just, and structures the information consisted of within it in a tabular, or table, form.

Files ending in the CSV file extension are normally used to exchange information, normally when there’s a big amount, between various applications. Database programs, analytical software application, and other applications that keep enormous amounts of details (like contacts and client information), typically support this format.
A comma-separated values file may in some cases be referred to as a character-separated worths or comma-delimited file, but no matter how somebody says it, they’re talking about the exact same format.
CSV is likewise short for computer system software application validation, comma-separated variable, circuit switched voice, and colon-separated value.
How to Open a CSV File
Spreadsheet software is usually used to open and modify CSV files, such as Excel or the totally free OpenOffice Calc or WPS Office Spreadsheets. Spreadsheet tools are fantastic for CSV files due to the fact that the information consisted of in the file is normally going to be filtered or manipulated in some way.
To view and/or modify your CSV file online, you can utilize Google Sheets. To do that, go to that page and choose the folder
icon to search your computer or Google Drive for the file. You can also use a full-screen editor, however big ones will be really hard to work with in these kinds of programs. If you want to do this, see our favorites in this Best Free Text Editors list.
Like pointed out above, Excel supports CSV files, too, however the program isn’t complimentary to use. Nevertheless, it’s most likely the most frequently used program for seeing and modifying CSV files.
Considering the variety of programs out there that support structured, text-based information like CSV, you might have more than one program installed that can open these types of files. If so, and the one that opens by default when you double-tap or double-click on CSV files in Windows isn’t the one you like to use with them, altering that program in Windows is really easy.
Another way to “open” a CSV file is to import it. You ‘d do this if you wish to use the information from the file in an application that isn’t truly suggested for modifying, but for viewing/using the content.
Contact info is the most obvious example; you can import contacts into your Google account, for instance, to sync the contact information from the CSV file with Gmail. Lots of email customers support exporting and importing contact information through the CSV format, consisting of Outlook, Yahoo, and Windows Mail.
How to Convert a CSV File
Because CSV files keep information in a text-only form, assistance for saving the file to another format is included in lots of various online services and downloadable programs.
All the desktop programs mentioned above can transform a CSV file to Excel formats like XLSX and XLS, along with to TXT, XML, SQL, HTML, ODS, and others. This conversion procedure is typically done through the File > Save as menu.
You can likewise utilize Google Sheets. From the File > Download menu, pick XLSX, ODS, PDF, or any other supported format.
There are likewise some free file converters that run in your web browser, like Zamzar for example, that can transform CSV files to some of the formats listed above along with to PDF and RTF.
The CSVJSON tool (guess …) converts CSV information to JSON, extremely practical if you’re importing huge quantities of details from a traditional application into a web-based task.
You can’t typically change a file extension (like CSV) to one that your computer system recognizes and anticipate the recently renamed file to be functional. An actual file format conversion using among the methods described above should occur in most cases. Nevertheless, given that these files can only contain text, you might relabel any CSV file to any other text format and it ought to open, albeit in a less handy method than if you had actually just left it at CSV.
Still Can’t Open It?
CSV files are stealthily easy. As straightforward as they are at very first look, the slightest misplacement of a comma, or a basic confusion like the one discussed below, can make them seem like rocket science.
You may not be able to open the file or read the text within it, for the simple factor that you’re puzzling another file for one in the CSV format. Some files share some of the very same file extension letters but aren’t in fact in the very same format, or even a remotely comparable one.
CVS, CVX, and CV are simply a few examples where the files probably can’t open in a spreadsheet program even though the suffix looks a lot like CSV. If this is the case with your file, research the genuine file extension on Google or here on Lifewire, to see its suitable openers or converters.
Essential Information on Editing CSV Files
You’ll probably just encounter a CSV file when exporting details from one program to a file, and after that utilize that same file to import the information into a different program, particularly when dealing with table-oriented applications.
You might at times discover yourself modifying a CSV file, or making one from scratch, in which case the following should be kept in mind:
A typical program utilized to open and modify CSV files is Excel. Something crucial to understand about using Excel, or any other comparable spreadsheet software application, is that even though those programs appear to supply support for multiple sheets when you’re modifying a CSV file, the CSV format does not support “sheets” or “tabs,” so information you create in these additional locations won’t be composed back to the CSV when you save.
For example, let’s state you customize information in the first sheet of a file and after that conserve the file to CSV– that information in the very first sheet is what will be saved. If you switch over to a different sheet and add data there, and then conserve the file once again, it’s the details in that recently-edited sheet that will be saved. The data in the very first sheet will no longer be accessible after you’ve shut down the spreadsheet program.
It’s actually the nature of the spreadsheet software that makes this incident puzzling. The majority of spreadsheet tools support things like charts, solutions, row styling, images, and other things that merely can’t be saved under the CSV format.
There’s no problem, so long as you comprehend this restriction. This is why other, more advanced table formats exist, like XLSX. To put it simply, if you want to save any work beyond extremely basic data modifications to a CSV, do not utilize CSV any longer– save or export to a more advanced format rather.
How CSV Files Are Structured
It’s easy to make your own CSV file. Just get your information sorted how you desire in one of the tools discussed above, and after that conserve what you have to the CSV format.
You can likewise develop one by hand, yes– from scratch, utilizing any full-screen editor.
Here’s one example:
Call, Address, NumberJohn Doe,10 th Street,555.
All CSV files follow the very same general format: each column is separated by a delimiter (like a comma), and each new line suggests a brand-new row. Some programs that export data to a CSV file may use a various character to separate the values, like a tab, semicolon, or area.
What you see in the example above is how the data would appear if the CSV file were opened in a text editor. However, given that spreadsheet software application like Excel and OpenOffice Calc can open CSV files, and those programs include cells to display info, the Name value would be positioned in the very first cell with the John Doe in a brand-new row just below it, and the others following the exact same pattern.
If you’re embedding commas or utilizing quote marks in your CSV file, read edoceo’s and CSVReader.com’s articles for how you must set about that.
Often Asked Questions.
How do I export my iPhone contacts to a CSV file? Export contacts from an iPhone utilizing a third-party app such as Export to CSV. In the Export to CSV app, choose Begin Exporting > + > Edit Column Data > choose a source > Export.How do you read a CSV file in MATLAB? To read a CSV file in MATLAB, drag and drop the CSV file in any folder on the MATLAB course. In the MATLAB Command Window, type m = csvread(‘ name_of_file. dat’); substituting the name of the CSV declare name_of_file. dat.</videoautoplayloopplaysinlinemutedclass=”mntl-gif__video>