Ask Your Question

Convert PDF to Word Document at command Line on CentOS

asked 2015-08-17 23:05:13 +0200

Mohtashim gravatar image

updated 2015-08-21 16:33:29 +0200

Alex Kemp gravatar image

No doubt Libreoffice is a great product and I'm using it to convert my word files to PDF files very easily. Following is the simple syntax

$soffice --headless --convert-to pdf:writer_pdf_Export word.docx

But when I tried to convert any PDF file in word format, its not working fine. So kindly give me a command which I can use to convert PDF file into word file using LibreOffice.


[edit: added centos tag]

edit retag flag offensive close merge delete


I think you can't do it. Pdf files can be opened as Draw files but not as Writer files.

m.a.riosv gravatar imagem.a.riosv ( 2015-08-18 00:51:43 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-01-25 10:30:46 +0200

soffice --infilter="writer_pdf_import" --convert-to doc file.pdf

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-08-17 23:05:13 +0200

Seen: 6,567 times

Last updated: Jan 25 '17