47

Is there any free software available on Ubuntu that can convert a pdf file to a .doc file?

  • I think the current accepted answer is not the right one because it does not work. Abiword works! – Léo Léopold Hertz 준영 Nov 20 '16 at 16:40
17

openoffice (or alternatively the libreoffice fork) both have pdf import plugins and .doc export functionality... though both aspects suffer from conversion issues AFAIK. By this I mean that the conversion fidelity isn't always 100%.

Abiword also works in a similar way, if OpenOffice doesn't work on your system.

  • 7
    libreoffice --invisible --convert-to docx:"MS Word 2007 XML" file.pdf When I convert pdf to docx/doc it says "convert /home/file.pdf -> /home/file.docx using filter : MS Word 2007 XML, Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///home/file.docx> failed: 0xc10)" – mohit Aug 12 '16 at 19:44
  • 1
    @mohit Your proposal does not work in Debian 8.5. – Léo Léopold Hertz 준영 Nov 20 '16 at 16:15
31

Download Abiword from Ubuntu Software Center or you can install it by typing following command in terminal:

sudo apt-get install abiword

Then perform the conversion:

abiword --to=doc example.pdf
  • 2
    I up voted this solution, but I must inform people that as of 2018-10-25, the output is far from being perfect. The formatting is not respected at all. – Hans Deragon Oct 26 '18 at 1:32
14

I've had great success with PDF to Word online. This is not a desktop application, but a service, that works better than other things I've used.

  • thank you :) ive come across this before.but i was looking for a desktop software.this is not very accurate. – Vijay Apr 28 '11 at 18:51
  • 5
    Please also make sure to check out the privacy policy of this service before uploading any personal documents. – Glutanimate Apr 7 '13 at 20:14
  • @neo did you happen to find a more accurate service/tool? – Alex Nov 16 '15 at 9:34
  • I tried it on 2018-10-25. The formatting is not perfect; bullets were lost, indentation was wrong (probably because of the bullets gone). Still, worth a try. Maybe with a simpler PDF file, it would come out better. However, I found this online service that did a very good job with very few formatting errors: pdf2docx.com – Hans Deragon Oct 26 '18 at 1:43
9

Install AbiWord from Ubuntu Software Center

Open Pdf Files with it.

Use Save As.. to save pdf in Word Doc format.

Its this easy :)

4

I prefer converting PDF files first to HTML using pdftohtml included in the poppler-utils package, for example by means of a Nautilus Script merely consisting of this command:

pdftohtml -noframes -q -p -c "$1" "${1%\.pdf}-img.html"

Then I open the resulting HTML file in LibreOffice Writer, and (after a little editing) Save As any other document format I like.

Note: Adding -i parameter to the command above produces HTML file without images.

  • This is nonsense. It only creates images from the pdf. if -i is specified, an empty file is created. – Homunculus Reticulli Jul 20 '16 at 22:20
  • 3
    @HomunculusReticulli Please try it with several different PDF files before passing such a verdict ;-) Probably the PDF file you tried doesn't actually include any text other than images, in which case only some OCR recognition software would be helpful. – Sadi Jul 21 '16 at 16:53

protected by Avinash Raj May 10 '14 at 15:13

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.