Convert CSV

About CSV File Format

Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Each line in a CSV file is a new record from the set of records contained in the file. Such files are generated when data transfer is intended from one storage system to another. Since all applications can recognize records separated by comma, import of such data files to database is done very conveniently.

Convert from CSV

With GroupDocs.Conversion you can easily convert your CSV document into another file format.
For example CSV to PDF conversion code snippet will look like this:

// Load the source CSV file
using (var converter = new GroupDocs.Conversion.Converter("sample.csv"))
{
    // Set the convert options for PDF format
   var options = new PdfConvertOptions();
    // Convert to PDF format
    converter.Convert("converted.pdf", options);
}

Put it simply - you just load a CSV file into Converter, select desired output format and all the rest will be done by GroupDocs.Conversion.

Convert to CSV

On the other hand, converting your files to CSV format is also quite simple and natural. The following code sample demonstrates how to convert PDF document to CSV in C# using GroupDocs.Conversion.

// Load the source PDF file
using (var converter = new GroupDocs.Conversion.Converter("sample.pdf"))
{
    // Set the convert options for CSV format
   var options = new SpreadsheetConvertOptions { Format = GroupDocs.Conversion.FileTypes.SpreadsheetFileType.Csv };
    // Convert to CSV format
    converter.Convert("converted.csv", options);
}

For more detailed code examples of how to convert various file formats to CSV please check articles provided below.

Convert CF2 to CSVConvert DGN to CSVConvert DOC to CSVConvert DOCM to CSV
Convert DOCX to CSVConvert DOT to CSVConvert DOTM to CSVConvert DOTX to CSV
Convert DWF to CSVConvert DWFX to CSVConvert DWG to CSVConvert DWT to CSV
Convert DXF to CSVConvert EML to CSVConvert EMLX to CSVConvert EPUB to CSV
Convert FODP to CSVConvert FODS to CSVConvert HTM to CSVConvert HTML to CSV
Convert IFC to CSVConvert IGS to CSVConvert LOG to CSVConvert MBOX to CSV
Convert MD to CSVConvert MHT to CSVConvert MHTML to CSVConvert MOBI to CSV
Convert MPP to CSVConvert MPT to CSVConvert MPX to CSVConvert MSG to CSV
Convert ODP to CSVConvert ODS to CSVConvert ODT to CSVConvert ONE to CSV
Convert OST to CSVConvert OTP to CSVConvert OTS to CSVConvert OTT to CSV
Convert OXPS to CSVConvert PCL to CSVConvert PDF to CSVConvert PLT to CSV
Convert POT to CSVConvert POTM to CSVConvert POTX to CSVConvert PPS to CSV
Convert PPSM to CSVConvert PPSX to CSVConvert PPT to CSVConvert PPTM to CSV
Convert PPTX to CSVConvert PS to CSVConvert PST to CSVConvert RTF to CSV
Convert STL to CSVConvert SXC to CSVConvert TEX to CSVConvert TSV to CSV
Convert TXT to CSVConvert VCF to CSVConvert VDW to CSVConvert VDX to CSV
Convert VSD to CSVConvert VSDM to CSVConvert VSDX to CSVConvert VSS to CSV
Convert VSSM to CSVConvert VSSX to CSVConvert VST to CSVConvert VSTM to CSV
Convert VSTX to CSVConvert VSX to CSVConvert VTX to CSVConvert XLAM to CSV
Convert XLS to CSVConvert XLSB to CSVConvert XLSM to CSVConvert XLSX to CSV
Convert XLT to CSVConvert XLTM to CSVConvert XLTX to CSVConvert XML to CSV
Convert XPS to CSV