Ask Your Question

Convert to CSV in Windows command-line [closed]

asked 2014-01-13 16:48:07 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.


I want to convert an XLS file to CSV filetype.

Is there a way to do this in Windows command line?

I found a way to do it on Ubuntu but its not working on Windows :)

Thank your for your help.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-18 14:16:55.066776

1 Answer

Sort by » oldest newest most voted

answered 2014-01-13 17:34:48 +0100

beamkiller gravatar image


I solved the issue.

You need to add to Enviroment variables PATH the path to soffice.exe, elsewhere the soffice is not recognized.

After that with this line I was able to convert the file. Is there a way to use other delimeter?

soffice --headless --convert-to csv %Input%
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-01-13 16:48:07 +0100

Seen: 2,060 times

Last updated: Jan 13 '14