Okdo Software · Command-line

Excel to PDF Converter Command Line

Turn Excel to PDF on Windows.

With Okdo Excel to PDF Converter Command Line you can turn Excel into PDF 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
Excel to PDF 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

  • It supports MS Excel 2003 and later format document (*.XLS, *.XLSX, *.XLSM), Convert Excel to PDF document with preserving the original table, text, charts and layout etc.
  • Custom PDF properties like title, author, subject and keywords.
  • Set password to protect created PDF.
  • Wildcard characters like *.xls or aa*.xls are supported.
  • Option to convert Excel to multipage PDF.
  • Load source file paths from a text file.
  • Specify a source folder.
  • Load files from subfolders.
  • Save output files to the same folder as the source.
  • Rename the output file if it already exists, or overwrite it.
  • Easy to install/configure and performs very brilliantly without any additional package such that Adobe Acrobat.
  • Convert number of Excel documents to professional quality PDF documents.
  • Standalone and completely comfy application with all common Windows OS.

Supported formats

➡️ Input

MS
Excel Document
Excel (*.xls, *.xlsx, *.xlsm)

⬅️ Output

Adobe
PDF *.pdf

Command-line usage

Okdo Excel to PDF 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
MS Excel(*.xls, *.xlsx, *.xlsm, )
-file=c:\1.xls
-file=c:\*.xls
-file=c:\document*.xls
-file=c:\document???.xls
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.pdf
2. -dest=<target file path + file extension>
For batch convert an entire folder or convert a list
eg: -dest=c:\*.pdf
3. -format=<target file format>
-targetfolder=<output folder>
For batch convert an entire folder or convert a list
eg: -format=pdf -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 Information:
-subject=<string> Set subject of PDF
-title=<string> Set title of PDF
-author=<string> Set author of PDF
-keywords=<string> Set keywords of PDF
PDF Permission:
-openpwd=<string> Set open password of PDF
-ownerpwd=<string> Set owner password of PDF
-printing Enable top quality printing
-degraded-printing Enable lower quality printing
-modify-contents Enable modify contents also allow documentassembly
-document-assembly Enable assemble contents
-modify-annotations Enable modify annotations also allow fillin
-fill-in Enable fill in form
-content-copying Enable copy contents, also allow screenreader
-screen-reader Enable read contents with screenreaders
MS Excel to PDF Parameters:
-merge-worksheet Merge all worksheets from each workbook into one PDF
-pdf-page-width=<value> Set PDF page width. Default unit millimeter
-pdf-page-height=<value> Set PDF page width. Default unit millimeter
-landscape Set PDF orientation to Landscape. default Portrait
-grayscale PDF will be generated in grayscale
-dis-external-links Do not make links to remote web pages
-dis-forms Do not turn HTML form fields into pdf form fields
-dis-internal-links Do not make local links
-dis-javascript Do not allow web pages to run javascript
-no-images Do not load or print images
-print-mediatype Use print media-type instead of screen
-zoom=<value> Use this zoom factor (default 1)
-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.xls -dest=c:\out.pdf
converter.exe -file=c:\*.xls -format=pdf -targetfolder=c:\output
converter.exe -file=c:\in*.xls -format=pdf -targetfolder=c:\output
converter.exe -file=c:\in??.xls -format=pdf -targetfolder=c:\output
converter.exe -list=c:\filelist.txt -format=pdf -targetfolder=c:\output
converter.exe -sourcefolder=c:\temp -dest=c:\output\*.pdf
converter.exe -sourcefolder=c:\temp -format=pdf -targetfolder=c:\output
converter.exe -file=c:\in.xls -dest=c:\out.pdf -overwrite
converter.exe -file=c:\in.xls -dest=c:\out.pdf -create-subfolder
converter.exe -file=c:\in.xls -dest=c:\out.pdf -ownerpwd=owner -merge-worksheet -fillin -author="okdo soft"

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
★★★★★
241 verified reviews
5★201
4★40
3★0
2★0
1★0
ED
Emma D.
IT Administrator
★★★★☆Mar 2026

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

✓ Verified purchase
IN
Ivy N.
DevOps Engineer
★★★★★Jan 2025

We bought the one-time license and never looked back — no subscription, free updates. Clean interface with practically no learning curve.

✓ Verified purchase
CT
Chen T.
Systems Engineer
★★★★★Oct 2025

Layout and formatting came through perfectly — no broken tables or images. No Adobe Acrobat dependency to install or maintain.

✓ Verified purchase
SC
Sofia C.
DevOps Engineer
★★★★★Apr 2025

Dropped in a folder of MS Excel Document Excel (*.xls → Adobe PDF *.pdf files and it was done — refreshingly simple. No Adobe Acrobat dependency to install or maintain.

✓ Verified purchase
SH
Sofia H.
Backend Developer
★★★★★May 2026

Free online tools choke on large files and upload everything to the cloud. Excel to PDF just works locally. Runs entirely offline, no internet connection required.

✓ Verified purchase
MB
Mei B.
SysAdmin
★★★★★Jan 2026

The command-line mode in Excel to PDF lets me schedule overnight jobs across a whole folder. No Adobe Acrobat dependency to install or maintain.

✓ Verified purchase

More converters you may need