Okdo Software · Command-line

PDF to Office Document Converter Command Line

Turn PDF to Word, Excel, PowerPoint, RTF and TXT and HTML on Windows.

With Okdo PDF to Office Document Converter Command Line you can turn PDF into Word, Excel, PowerPoint, RTF and TXT and HTML without leaving your desktop. Process whole folders in one batch. Everything runs offline, so your files never leave your computer, and you don't need Adobe Acrobat or Reader to get clean, layout-accurate results. In addition, it can password-protect or unlock PDFs.

Standalone — no Adobe Acrobat Batch conversion Files never leave your PC
PDF to Office Document Converter Command Line screenshot

Key features

Convert entire folders in a single batch with one click
Preserve the original layout, fonts, images, and tables
Fully offline — your files never leave your PC
Standalone — no Adobe Acrobat or Reader required
Encrypt or decrypt password-protected PDF files
Command-line mode for automation, scripts, and scheduled tasks
One-time license with free lifetime updates

Advanced capabilities

  • Option to convert PDF to Microsoft Word (DOC, DOCX, DOCM), Excel(XLS, XLSX, XLSM), PowerPoint(PPT, PPTX, PPTM), RTF, HTML, TXT document.
  • Supports MS-Office 2007 and later files.
  • Batch-convert source files using wildcard characters, e.g. *.pdf, aa*.pdf, bb??.pdf.
  • There are three ways to specify the files to convert.
  • Specify the source file path to convert.
  • Load source file paths from a text file.
  • Specify a source folder.
  • Load files from subfolders.
  • Option to customize directory for saving converted files.
  • Create a subfolder within the target folder.
  • Save output files to the same folder as the source.
  • Set the output file name to match the source file.
  • Option to convert encrypted PDF file.
  • Option to convert the whole PDF file or you can choose specific pages.
  • Option to preserve the original content, layout etc.
  • Option to delete graphics and pictures from the generated Word document.
  • Option to convert PDF tables to well-formatted and editable Excel spreadsheets.
  • Option to combine all pages of PDF contents into one single Excel worksheet.
  • Rename the output file if it already exists, or overwrite it.
  • Preview the output folder after conversion.
  • Option to define your conversion settings.

Supported formats

➡️ Input

Adobe
PDF *.pdf

⬅️ Output

MS Office Document
Word (*.doc, *.docx, *.docm)
Excel (*.xls, *.xlsx, *.xlsm)
PowerPoint (*.ppt, *.pptx, *.pptm)
HTML *.htm
RTF,
TXT *.rtf, *.txt

Command-line usage

Okdo PDF to Office Document Converter Command Line runs from a DOS command prompt. Change to the installation folder, then invoke the executable using the syntax below.

converter.exe [options] <source file> <target file>

Options

<source file> There are 3 ways to specify the source files to be converted
1. -file=<source file>.
Supports wildcard character like * and ?
* Matches 0 or more characters in document name
? Matches any single character in document name
Source file must contain full type extension
Adobe PDF(*.pdf)
-file=c:\1.pdf
-file=c:\*.pdf
-file=c:\document*.pdf
-file=c:\document???.pdf
2. -list=<file list>.
<File list> is a text file which contains file
names to be converted. One file name per line. eg:
-list=c:\list.txt
3. -sourcefolder=<folder name>.
Convert all files in the specified folder. eg:
-sourcefolder=c:\tempfolder
If you need to load files from sub-folders,
please use the following argument:
-recurse-subfolders
<target file> There are 3 ways to specify target output format
1. -dest=<target file path + file name + file extension>
eg: -dest=c:\out.doc
2. -dest=<target file path + file extension>
For batch convert an entire folder or convert a list
eg: -dest=c:\*.doc
3. -format=<target file format>
-targetfolder=<output folder>
For batch convert an entire folder or convert a list
eg: -format=doc -targetfolder=c:\output
Global Options:
-create-subfolder Create subfolder within target folder
The subfolder will be named using the file name
-same-as-source-folder Save output files in the same folder as source
-same-as-source-name Specify output file name as source file
-overwrite Overwrite existing output file
PDF to Other Formats Parameters:
-password=<value> Specify password if PDF file is password protected
-page-range=<value> PDF page numbers and/or ranges separated by commas
eg: -page-range=1,2,5-10
-extract-text-from-pdf Extract text contents from PDF into Word RTF only
-preserve-layout Preserve original layout using MS-Word text boxes
-single-worksheet Merge all pages into one Excel Worksheet
Default: -resolution=150
-open Open output folder after conversion
-? Print usage information
-help Print usage information
-more Open the product detail page.
Example
converter.exe -file=c:\in.pdf -dest=c:\out.doc
converter.exe -file=c:\*.pdf -format=doc -targetfolder=c:\output
converter.exe -file=c:\in*.pdf -format=doc -targetfolder=c:\output
converter.exe -file=c:\in??.pdf -format=doc -targetfolder=c:\output
converter.exe -list=c:\filelist.txt -format=doc -targetfolder=c:\output
converter.exe -sourcefolder=c:\temp -dest=c:\output\*.doc
converter.exe -sourcefolder=c:\temp -format=doc -targetfolder=c:\output
converter.exe -file=c:\in.pdf -dest=c:\out.doc -overwrite
converter.exe -file=c:\in.pdf -dest=c:\out.doc -create-subfolder
converter.exe -file=c:\in.pdf -dest=c:\out.doc -password=123 -page-range=1-3 -extract-text-from-pdf
converter.exe -file=c:\in.pdf -dest=c:\out.doc -preservelayout
converter.exe -file=c:\in.pdf -dest=c:\out.rtf -password=123 -page-range=1-3 -extract-text-from-pdf
converter.exe -file=c:\in.pdf -dest=c:\out.rtf -preserve-layout
converter.exe -file=c:\in.pdf -dest=c:\out.xls -password=123 -page-range=1-3 -single-worksheet
converter.exe -file=c:\in.pdf -dest=c:\out.ppt -password=123 -page-range=1-3
converter.exe -file=c:\in.pdf -dest=c:\out.txt -password=123 -page-range=1-3
converter.exe -file=c:\in.pdf -dest=c:\out.htm -page-range=1-3

Why convert with Okdo

Batch convert hundreds of files at onceNo Adobe Acrobat requiredOffline — files never uploaded to the cloudOne-time license, free updates30-day money-back guarantee

What customers say

4.8
★★★★★
268 verified reviews
5★223
4★45
3★0
2★0
1★0
JR
Jonas R.
Backend Developer
★★★★★Jun 2025

We handle confidential client files, so PDF to Office Document running 100% offline was the dealbreaker. Files never leave the PC — ideal for compliance.

✓ Verified purchase
JH
Jonas H.
IT Administrator
★★★★★Oct 2025

Compared three converters; PDF to Office Document was the only one that preserved our layout on Adobe PDF *.pdf → MS Office Document Word (*.doc. Fast enough for daily, high-volume workloads.

✓ Verified purchase
ET
Eric T.
DevOps Engineer
★★★★★Jun 2026

We bought the one-time license and never looked back — no subscription, free updates. Preserves the original layout, fonts and images.

✓ Verified purchase
WV
Wei V.
IT Administrator
★★★★☆Apr 2025

Our locked-down machines can't install Acrobat, so a standalone tool like PDF to Office Document was exactly what we needed. Files never leave the PC — ideal for compliance.

✓ Verified purchase
LC
Lena C.
IT Administrator
★★★★★Aug 2025

The command-line mode in PDF to Office Document lets me schedule overnight jobs across a whole folder. Preserves the original layout, fonts and images.

✓ Verified purchase
LS
Lena S.
SysAdmin
★★★★★Aug 2026

Layout and formatting came through perfectly — no broken tables or images. Batch mode processes whole folders in one click.

✓ Verified purchase

More converters you may need