Okdo Software · Command-line

PDF to HTML Converter Command Line

Convert PDF to HTML on Windows.

Okdo PDF to HTML Converter Command Line converts PDF into HTML directly on your Windows PC. 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 HTML 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

  • Convert PDF into HTML with Command Line mode.
  • Standalone software, Adobe Acrobat and Adobe Reader NOT required.
  • Convert encrypted PDF files that are protected by owner password or user password.
  • You can select all the pages, or page ranges for conversion.
  • Preserve original text, tables, graphics and Layouts in the output HTML file.
  • Supports wildcard characters for batch conversion, e.g. *.pdf, aa*.pdf, bb??.pdf.
  • Specify the source file path to convert.
  • Load source file paths from a text file.
  • Specify a source folder.
  • Load files from subfolders.
  • Customize the directory for saving output files.
  • Create a subfolder within the target folder.
  • Save output files to the same folder as the source.
  • Rename the output file if it already exists, or overwrite it.
  • Preview the output folder after conversion.
  • Fast conversion speed and high output quality.

Supported formats

➡️ Input

Adobe
PDF *.pdf

⬅️ Output

HTML *.htm

Command-line usage

Okdo PDF to HTML 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.htm
2. -dest=<target file path + file extension>
For batch convert an entire folder or convert a list
eg: -dest=c:\*.htm
3. -format=<target file format>
-targetfolder=<output folder>
For batch convert an entire folder or convert a list
eg: -format=htm -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
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.htm
converter.exe -file=c:\*.pdf -format=htm -targetfolder=c:\output
converter.exe -file=c:\in*.pdf -format=htm -targetfolder=c:\output
converter.exe -file=c:\in??.pdf -format=htm -targetfolder=c:\output
converter.exe -list=c:\filelist.txt -format=htm -targetfolder=c:\output
converter.exe -sourcefolder=c:\temp -dest=c:\output\*.htm
converter.exe -sourcefolder=c:\temp -format=htm -targetfolder=c:\output
converter.exe -file=c:\in.pdf -dest=c:\out.htm -overwrite
converter.exe -file=c:\in.pdf -dest=c:\out.htm -create-subfolder
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

5.0
★★★★★
173 verified reviews
5★173
4★0
3★0
2★0
1★0
SH
Sam H.
Backend Developer
★★★★★Mar 2025

Converted a 300-page document in seconds. Preserves the original layout, fonts and images.

✓ Verified purchase
NR
Nina R.
DevOps Engineer
★★★★★Dec 2025

We handle confidential client files, so PDF to HTML running 100% offline was the dealbreaker. Clean interface with practically no learning curve.

✓ Verified purchase
FD
Fatima D.
IT Administrator
★★★★★Aug 2025

It handled our password-protected PDFs without any drama. Preserves the original layout, fonts and images.

✓ Verified purchase
RS
Robert S.
Backend Developer
★★★★★Mar 2026

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

✓ Verified purchase
LG
Lena G.
Systems Engineer
★★★★★Jul 2026

Great value for a one-time purchase. Clean interface with practically no learning curve.

✓ Verified purchase
CS
Clara S.
Systems Engineer
★★★★★Jul 2026

Compared three converters; PDF to HTML was the only one that preserved our layout on Adobe PDF *.pdf → HTML *.htm. Runs entirely offline, no internet connection required.

✓ Verified purchase

More converters you may need