Some test text!
For developers who are looking for a software development component to integrate into their applications, PDFTron offers a PDF to Word conversion API.
PDF2Word is a completely stand-alone application and does not include any dependencies on third-party components or software.
By default, PDF2Word saves converted files in the same folder as the input. To specify another output location, use the '-out' (or '-o') parameter with an absolute file name. For example:
pdf2word -in myIn.pdf -out "c:\My Output\myOut.docx"
The output filename can be changed using the '-out' (or '-o') option. For example, the following command-line generates an output document named outdoc.docx:
pdf2word -in indoc.pdf -out outdoc.docx
By default, PDF2Word will convert all PDF pages into an output DOCX, DOC or RTF file. You can specify a subset of pages to convert using the '-pages' option. For example:
pdf2word -pages 2 -in in.pdf -out out.docx
will convert only page 2.
To specify a range of pages, use a dash character between numbers. For example:
pdf2word -pages 1-3 -in in.pdf -out out.docx
will convert pages 1 to 3.
PDF2Word supports batch conversion of many PDF files in a single pass. For example, to convert three PDFs, a.pdf, b.pdf and c.pdf, to a.docx, b.doc and c.rtf, you could use the following line:
pdf2word -in a.pdf b.pdf c.pdf -out a.docx b.doc c.rtf
The number of input file names must match the number of output file names.
For Windows (not available for Linux and Mac), you can convert all PDF files in a given folder by using wildcards and omitting the '-out' parameter. By default, PDF2Word will convert all files to DOCX. To output to a different file type, use the '-output' parameter with 'doc' or 'rtf'. For example:
pdf2word -output rtf -in "c:\My Input\*.pdf"
will take all PDF files in "c:\My Input" and generate RTF output files in the same folder as the input.
You can convert PDF to DOCX, DOC or RTF by specifying the output file type as the file extension of the output file name, i.e. .docx, .doc or .rtf. For example, to convert to RTF, you can use the following syntax:
pdf2word -in indoc.pdf -out outdoc.rtf
Alternatively, you can also set the output file type by using the '-output' parameter with 'docx', 'doc' or 'rtf'. The following command-line would generate the output RTF as mydoc.rtf:
pdf2word -output rtf -in mydoc.pdf -out mydoc.rtf
PDF2Word will, without user intervention, convert documents secured with a master/owner password.
For unattended conversion, specify the master/owner password directly on the command-line using the '-password' parameter option. The password provided must give unrestricted content extraction permissions. For example, to convert a password protected secured.pdf with the master password, 'secret', use the following syntax:
pdf2word -password secret -in secured.pdf -out secured.docx
Get the answers you need: Support
Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.
Select a platform to get started with your free trial.
Unlimited usage. No email address required.