Pdf to Text file Conversion

Need help in to build workflow suppose in a folder there are multiple number of pdf files need to capture every pdf to convert to .txt file how to execute this flow

please provide the suggestions

@bharadwaj.vuppalapati

  1. Assign “Directory.GetFiles(Path,”*.pdf")" and store it in array variable
    or
    you can use for each file folder activity

2.install “UiPath.pdf.Activities”
use read pdf text or read pdf with ocr(you can use ocr engine of your choice) activity

  1. Use the O/p of read pdf text and write the Data in text file

Note: if you want to keep the Data in pdf format in text file you can use preserve format in read pdf text

Regards,

Hi @bharadwaj.vuppalapati

Try this

Path.GetFileNameWithoutExtension(CurrentFile.ToString)+".txt"

Regards,

1 Like