Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for a "one-click" way of taking ANY PDF and converting it to plain text. Ideally on OSX or Linux.

Ideally, the solution would include OCR functionality, but it need not necessarily.

The top priority is having something that can take ANY file WITHOUT configuration.

share|improve this question

2 Answers 2

up vote 13 down vote accepted

There's xpdf which includes the pdftotext binary.

Pdftotext converts Portable Document Format (PDF) files to plain text.

On Linux there's a installer available. It seems that it also comes in the poppler-utils package. On OS X you could install it using Homebrew (install that first) and then use

brew install xpdf

which will download the source files and compile it for OS X. After that, just use it like:

pdftotext your_pdf_file.pdf

which will generate a plain text file. There are a couple of options as well, check out man pdftotext for more details.

share|improve this answer

A nice tool for Windows is A-PDF Text Extractor

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.