56

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
21

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.

| improve this answer | |
  • 11
    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
  • 2
    @mohit Your proposal does not work in Debian 8.5. – Léo Léopold Hertz 준영 Nov 20 '16 at 16:15
41

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
| improve this answer | |
  • 4
    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
17

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.

| improve this answer | |
  • 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
  • 7
    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
  • 1
    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
10

Install AbiWord from Ubuntu Software Center

Open Pdf Files with it.

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

Its this easy :)

| improve this answer | |
7

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.

| improve this answer | |
  • 6
    @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

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