39
submitted 4 weeks ago* (last edited 4 weeks ago) by Maroon@lemmy.world to c/opensource@lemmy.ml

I have received a lot of PDF documents that I wish to convert to text formats such as docx/doc/odt.

I know there are some online tools that will do it for you, but some content may be sensitive with people's names and addresses and I'm not sure I can trust these websites.

Are there software that will convert a PDF to odt?

Things I know and tried:

  1. Asked a friend to open PDF in Microsoft Word: Their license expired last month, so it doesn't let you save the file!

  2. Tried to do the same on my LibreWriter: It doesn't support that format.

  3. Tried to open in LibreDraw: untenable as I want to type more things in the document.

P.S: I use Linux, but reckon solutions for platforms would be fine.

you are viewing a single comment's thread
view the rest of the comments
[-] Walking_coffin@lemmy.dbzer0.com 13 points 4 weeks ago* (last edited 4 weeks ago)

If the pdf files are properly formatted (no compression/all text selectable), you should be able to open a terminal and do (I know it works the other way around, not sure if libreoffice can actually do the reverse but it doesn't hurt to try)

libreoffice --headless --convert-to docx *.pdf

Just know that since docx is a proprietary format by microsoft, the results may be flawed. As a last resort I guess you could run a windows VM and try to convert your files with any big software known to be able to handle such files.

[-] gedaliyah@lemmy.world 11 points 4 weeks ago
[-] Walking_coffin@lemmy.dbzer0.com 4 points 4 weeks ago

Thanks for the information. I wasn't aware of that.

this post was submitted on 13 Aug 2024
39 points (100.0% liked)

Open Source

29787 readers
114 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS