Excel, CSV and TXT Conversion (Command Line Examples List)

Find numerous examples below that demonstrate how to use the command line.  Just pick the type of conversion you're working on and tweak the provided example to fit your particular requirements.

Converting Excel Files

INPUT

OUTPUT

EXAMPLE

Excel

CSV, TSV (any character delimited file)

Convert Excel to CSV comand line examples

Excel

TXT (Fixed Width Text file)

Convert Excel to TXT command line examples

Excel

PDF

Convert Excel to PDF command line examples

Excel

Any File MS Excel Can Save As

Convert Excel to any File MS Excel can save as

XLS

XLSX

Convert XLS to XLSX command line examples

XLSX

XLS

Convert XLSX to XLS command line examples

XLSM

XLS

Convert XLSM to XLS command line examples

Excel

HTML/XML

Convert Excel to HTML/XML command line examples

 

Converting CSV (any character delimited) Files

INPUT

OUTPUT

EXAMPLE

CSV

XLS

Convert CSV to XLS command line examples

CSV

XLSX

Convert CSV to XLSX command line examples

CSV

TXT (Fixed Width Text File)

Convert CSV to a fixed width TXT file command line examples

CSV

HTML/XML

Convert CSV to HTML/XML command line examples

CSV

Any file MS Excel can save as

Convert CSV to any file MS Excel can save as

 

Converting Fixed Width Text Files

INPUT

OUTPUT

EXAMPLE

Fixed Width Text

XLS Convert Fixed Width Text to XLS command line examples

Fixed Width Text

XLSX Convert Fixed Width Text to XLSX command line examples

Fixed Width Text

CSV, TSV (or any character delimited file) Convert Fixed Width Text to CSV command line examples

Fixed Width Text

HTML/XML Convert Fixed Width Text to HTML/XML examples

Fixed Width Text

Any File MS Excel Can Save As Convert Fixed Width Text to any file MS Excel can Save As

 

'MS Excel' Method Specific Conversions

INPUT

OUTPUT

Convert any File MS Excel Can Open Convert any File MS Excel Can Save As