How to Convert an XLS File Into a CSV File

How to Convert an XLS File Into a CSV File thumbnail
How to Convert an XLS File Into a CSV File

The comma-separated values (CSV) file format is a text file that uses commas to separate fields, whereas Excel’s .XLS files use columns to separate them. Each line in the CSV file corresponds to a row in Excel. Because of its simplicity and long history, CSV is useful for its wide portability between database applications and languages. CSV is what is called a “legacy” format. Along with other data formats, it has been superseded by XML.

Instructions

    • 1

      Open the .XLS file in Excel.

    • 2

      Remove any hard returns within cells in the Excel file. They can be interpreted as a delimiter by the application reading the CSV conversion.

    • 3

      Click "File" > "Save As…"

    • 4

      Change “Save as type” or “Format” to “CSV (Comma delimited).”

    • 5

      Enter a name for the CSV file and click “Save.”

    • 6

      Verify the conversion by opening the file in a text editor like Notepad or TextEdit. Verify there are no extra commas other than between fields, i.e., that any commas within a field appear within double-quotes. Verify that fields with double-quotes in Excel have another set of double-quotes around them in CSV to maintain the original double-quotes. Make sure fields with leading or trailing spaces in Excel are bracketed in double quotes in CSV.

Related Searches:

References

  • Photo Credit Jupiterimages/Pixland/Getty Images

Comments

You May Also Like

Related Ads

Featured