Karen Lewellen <blinux-list at redhat.com> wrote: >what I tried was >pdftotext -upsw <string> -layout filename.pdf > filename.txt According to the help text, it's -upw Try this: pdftotext -upw password_string -layout filename.pdf