1Usage: pdf2word [options] -in inputfile -out outputfile
2
3BASIC PARAMETERS:
4
5  -in [ -i ] arg            The input file. The default input folder is the
6                            current working folder. When running the
7                            application from the console or a BAT file, you may
8                            use relative file names. However, if you are
9                            calling it from an application or a server, we
10                            recommend using absolute file names for robustness.
11
12  -out [ -o ] arg           The output file. The file extension (".docx",
13                            ".doc" or ".rtf") of the output file will also set
14                            the output file type. The default output folder is
15                            the same folder as the input. When running the
16                            application from the console or a BAT file, you may
17                            use relative file names. However, if you are
18                            calling it from an application or a server, we
19                            recommend using absolute file names for robustness.
20
21OPTIONS:
22
23  -output arg               The output file type. Valid parameter values are
24                            "docx", "doc" and "rtf". If this option is
25                            completely omitted, the default output file type
26                            is "docx".
27
28  -pages arg (=all)         Page numbers of pages to be converted. You may
29                            specify a single page number, e.g. 2, or a range of
30                            pages, e.g. 2-6. If omitted, all pages will be
31                            converted.
32
33  -fileTimeout arg (=300)   The maximum amount of time allowed, in seconds,
34                            for each document conversion. The default timeout
35                            is 300 seconds (5 minutes).
36
37  -quality arg (=85)        The image compression quality for JPEG,
38                            from 5 to 100. The default quality is 85.
39
40  -resolution arg (=192)    The image resolution in pixels per inch,
41                            from 8 to 600. The default resolution is 192.
42
43  -password arg             The master password to open the PDF. The password
44                            must give unrestricted content extraction
45                            permissions.
46
47  -bookmarks arg (=page)    Bookmark generation in the output, either the
48                            default "page" option to create a bookmark at the
49                            beginning of each page, "extract" to extract
50                            bookmarks from the PDF or "none" to not create any
51                            bookmark in the output.
52
53  -ocred arg (=image+text)  Handling of special OCRed PDFs that only contain
54                            full-page images with hidden selectable text. This
55                            option is only applicable to a PDF produced by an
56                            OCR engine based on a scanned image. Valid
57                            parameter values are "image+text", "text" and
58                            "image". The default option, "image+text", converts
59                            both images and text, making the hidden text
60                            visible in the output. Use "text" to convert only
61                            the text to make the hidden text visible in the
62                            output or "image" to convert only the images.
63
64  -connectHyphens arg       Flag to re-connect basic English dictionary words
65                            that are hyphenated at the end of a line. This
66                            does not remove hyphens from expressions that
67                            require a hyphen, such as "counter-clockwise" or
68                            "well-intentioned". Valid parameter values are "on"
69                            and "off". By default, this option is turned "on"
70                            if specified without an argument. However, if this
71                            option is completely omitted, it defaults to "off".
72
73  -condense arg             Flag to shrink character spacing to prevent wrap.
74                            Valid parameter values are "on" and "off". By
75                            default, this option is turned "on" if specified
76                            without an argument. However, if this option is
77                            completely omitted, it defaults to "off".
78
79  -matchLines arg           Flag to insert newline characters into the output
80                            in order to match precise line breaks in the PDF.
81                            Please note that this interferes with paragraph
82                            detection and you may end up with a new paragraph
83                            for each line. Valid parameter values are "on" and
84                            "off". By default, this option is turned "on" if
85                            specified without an argument. However, if this
86                            option is completely omitted, it defaults to "off".
87
88  -noAdjustFonts arg        Flag to stop adjusting and shrinking the fonts to
89                            fit text in the available space. Take note that
90                            disabling font adjustments may sometimes cause a
91                            single page PDF to come out as two pages in Word.
92                            Valid parameter values are "on" and "off". By
93                            default, this option is turned "on" if specified
94                            without an argument. However, if this option is
95                            completely omitted, it defaults to "off".
96
97  -removeInvisibleText arg  Flag to remove text that shares the same color as
98                            the background. Valid parameter values are "on" and
99                            "off". By default, this option is turned "on".
100
101  -wordPad arg              Flag to generate RTF with uncompressed images for
102                            WordPad compatibility. This applies to RTF output
103                            files only. Please note that uncompressed images
104                            can significantly blow up the output file size.
105                            Valid parameter values are "on" and "off". By
106                            default, this option is turned "on" if specified
107                            without an argument. However, if this option is
108                            completely omitted, it defaults to "off".
109
110  -advanced [ -a ] arg      Advanced option to ignore angled text
111                            (IgnoreAngledText=True) and/or vertical text
112                            (IgnoreVerticalText=True). 
113                            By default, these are turned off.
114
115  -version                  Print the version number. Only available in Windows.
116
117  -silent                   Switches the application to Silent Mode. Warnings
118                            and progress messages are not displayed. Only
119                            errors that are considered failures are shown.
120                            Only available in Windows.
121
122
123
124Examples:
125  pdf2word -in myInput.pdf -out myOutput.docx
126  pdf2word -password MyPDFPassword -in my.pdf -out myDOC.doc
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales