Home > Products > PDF Text Conversion > Introduction
 
 

Convert PDF to Text

You can use PDF2TXT to convert PDF to text in the following two ways:

Use PDF2TXT Execute Program

Directly click the PDF2TXT.EXE icon on the your desktop or explorer, then you should see the following dialog box:

  1. Find and select the folder contains PDF files you want to convert in Explorer pane, and then do one of the following:
  • To covert the whole folder and optionally its subfolder, please directly right-click this folder, and select Add folder to Convert List,
  • To covert a file or several files, please, in PDF File List pane, right-click those selected files you want to convert, and then select Add file(s) to convert list or Convert selected files. If you select Covert selected files, all the files will be exported to the Convert List pane and automatically start converting.
  1. On the above performance, if you select Add folder/file(s) to convert list, the folder/file(s) will be exported to Convert List pane, waiting for your converting command. To execute the command, please right-click those files want to be converted in Convert List pane, and select Convert selected file(s).

Use Command Line Options

On the command line, type "path\pdf2txt -c" will bring up the Usage dialog box as below:

usage: PDF2TXT [-w] [-a] [-c] [PDF filename [text filename]]

-w -- change the width of the conversion file.

-a -- automatically adjust the width of the conversion file to screen suitably.

-c -- perform the convert task.

PDF filename -- the path and files want to be converted, for example, c:\..\*.pdf

text filename --- the destination conversion path and files, for example, *.txt or c:\..\*.txt

example 1:

convert file.pdf in disk c:\dir to text file, the usage is:

  • pdf2txt -c c:\dir\file.pdf
  • pdf2txt -c c:\dir\file.pdf *.txt
  • pdf2txt -c c:\dir\file.pdf d:\..\.*.txt

* means any valid file name.

example 2:

convert file.pdf in disk c:\dir to text file and change the document width, the usage is:

  • pdf2txt -w 78 -c c:\dir file.pdf *.txt
  • pdf2txt -a -c c:\dir file.pdf *.txt

 

 

Thanks for your visiting!
 
 
Updated on 06/16/2004

Best viewed in Microsoft's Internet Explorer 5.0 at a resolution of 1024x768 or higher.

©2004 Foxit Software Company. All rights reserved.