So I ran into a problem the other day when I had to copy some text from a PDF file and paste it into a presentation that I was doing. The problem was I could not copy the text! Hmm, I thought, there must be something stupid I am doing since I am pretty sure I have copied text from a PDF file before.
Luckily, I wasn`t that stupid, since it ended up being that the PDF file had several pages that were scanned bitmap files that had been inserted into the PDF. So it was not actual text in the first place. Secondly, where there was actual text that could normally be copied, this PDF had some sort of security permissions set on it so that content copying was not allowed! Grrrr!
I still needed that text and I was going to figure out a way to get it. In this article, I`ll walk through the simple way to copy text that works if the document is not protected and the text is not a scanned image. I`ll also go over what to do in the tricker scenario where you are not allowed to copy the text. It`s not an ideal solution, but it`s better than nothing, especially if you have to copy a lot of text. Even if you can save yourself from typing 80% of it manually, that`s great! Selecting Text in a PDF
In Adobe Reader, if text is copy-able, then all you have to do is select it and right-click and choose Copy.
In other PDF viewer programs like Foxit, you have to click on Tools and then Select Text.
Obviously, if you were able to do this, you would not be reading this post! But just in case, that`s how you select text. Now on to the tougher issue of copying text from images or secured PDF files. Use OCR to Copy PDF Text
You can quickly check to see if a PDF file is secured in Adobe Reader by looking up in the title bar and looking for the word SECURED.
You can see specific permissions by clicking on Edit and then clicking on Protection and then Security Properties.
In newer versions of Adobe Reader and Acrobat, you have to click on Protect in the right-hand pane to bring up the protection options.
Then, click on More Options and you`ll see Security Properties.
As you can see below, content copying is not allowed and the security is protected by a password. If you know the password, then you could remove the security and copy all you want.
Unless you`re a hacker, breaking the password is not an option. So the only other thing you can do is take a screenshot of the text and then run it through an OCR program. Sounds like too much work, but it really is not. You can take a screenshot on a Mac or PC without additional software.
Mac – Just press Command + Shift + 4 on the keyboard
Windows – Just use the Windows Snipping Tool
Also, if you happen to own Adobe Acrobat, you can use it to automatically convert image text into editable text. All you have to do is open the PDF file and click on the Edit PDF tool in the right-hand pane. It will automatically scan the entire document using OCR and converts it into a fully editable document.
If you have an image with text, copy it to the clipboard and then open Adobe Acrobat and choose File – Create – PDF from Clipboard.
Just click on Edit PDF in the right-pane and it will convert the image into editable text.
Here`s a screenshot I took of some text that I could not copy from a secured PDF file:
Note that when you take the screenshot, make sure the document zoom is set to 100% so that the text is crisp and clear. Once you have the screenshot, then download a free OCR program. There are many options out there and the results will vary wildly between the programs, so you`ll have to try a couple out. Here are two that I have used in the past:
Note that you can also use Microsoft OneNote as it has built-in OCR functionality. Obviously, if you already have OCR software, then just use that program instead.
The FreeOCR program works well, you just have to make sure when you are installing it that you do not accept any of the other software “offers”, which will just install junk on your computer. But as long as you do that, the software has no spyware or anything like that. It`s also tested by CNET to ensure this.
Anyway, once you have the program installed, click on the big Open button and choose your image.
It`ll show you a preview of the image in the left hand pane. Then click on OCR and Start OCR Process.
That`s it! The text will now show up on the right hand side and you can copy it to the clipboard or export it to Microsoft Word.
Overall, the program did a very good job with a few minor mistakes here and there. It saved me a lot of time though not having to manually type all that text. Hopefully, this will help you copy the text you need from a PDF document. Post any comments or questions and I`ll respond. Enjoy!