Search code examples
acrobat

How to convert batch i.e huge pdf files to text using Adobe Acrobat Pro?


i am having 1000 valid and working pdf files. followed the below steps to convert a pdf to text file in Acrobat Redear Pro

  1. Open Adobe Acrobat Pro
  2. Tools -> Action Wizard - Create New Action - Add the files to be converted ->
  3. Go to More Tools - Double Click Execute Java Script - Click Save -> Give a action Name (any name)
  4. The created new action will be listed under Actions and click the same - Click start -> Paste the below Javascript and change your output folder. c/MyFiles/Ouput is the output folder where the converted files will be stored

/* PDF to Text */

this.saveAs("/c/MyFiles/Output" + this.documentFileName + ".txt","com.adobe.acrobat.plain-text");

Note: Each time a window is poping-up once the first file is done..then it goes 1, 3, 5

Note: Is there is anyway to do a bulk convesion - like 1000 pdf files to a folder where text fill be generated.

Please let me know your feeback.

Thanks, Kathir


Solution

  • You can use the Action Wizard of Acrobat Pro (actually Acrobat XI Pro), to create an Action which does include your JavaScript. Then you can apply that Action to individual files, or whole directories.

    You may also verify if the Action wizard would allow you sufficient control over the output file name. If so, you may not even need the JavaScript.